Updating Bundle

Updating Bundle

drew_dewit
Advocate Advocate
2,398 Views
20 Replies
Message 1 of 21

Updating Bundle

drew_dewit
Advocate
Advocate

What is the proper methodology for updating a plug-in bundle. I have a bundle that contains CUI files and LISP routines that the lisp routine has changed. We have a program that copies the bundle to the ApplicationPlugins folder. If I change the file the user doesn't see an updated LISP unless the folder is deleted. Is there a way around this?

0 Likes
2,399 Views
20 Replies
Replies (20)
Message 21 of 21

pbejse
Mentor
Mentor

@drew_dewit wrote:

So what calls this? What I have now is a lisp that calls a load of all the LISP routines I want to be loaded. That LISP is included in my bundle and added to the PackageContents.xml. But what i am finding is if I change my load LISP and have our utility copy the new bundle and contents down it isn't updating.


Now I'm confused as well. Why would you need to copy whole bundle?

 


@drew_dewit wrote:

. If I change the file the user doesn't see an updated LISP unless the folder is deleted. Is there a way around this?..


The snippet I posted copies the contents from the server when it detects the file is newer, the files doesnt need to be deleted. Very useful for updating .lin, cui, shp, pat, etc...

 

The only lisp/vlx included in the appautoloder is the one that reads and loads the programs from the server, which will be updated at startup.

 

<ComponentEntry AppName="BundleName" ModuleName="./Contents/Windows/A_Folder_name/LoadandCopyNewwerFiles.VLX" 
			PerDocument="True" LoadOnAutoCADStartup="true" LoadOnCommandInvocation="True" />

But if you need an update for the installed bundle, refer to

 

 

 

0 Likes