.NET

.NET

Reply
Distinguished Contributor
junoj
Posts: 116
Registered: ‎02-26-2009
Message 1 of 5 (241 Views)

Deploying and updating DLL files with an Installation Program.

241 Views, 4 Replies
09-13-2012 11:38 AM

At the current time I deploy DLLs by copying all files and a Lisp file that loads the DLL to each machine.

 

I am trying to find an elegant way of installing DLLs and updating them (Preferably free).

 

I am curious as to what other programmers are doing in regards to DLL deployment and updates.

Thank you,

-Jay

*Expert Elite*
dgorsman
Posts: 5,277
Registered: ‎10-12-2006
Message 2 of 5 (237 Views)

Re: Deploying and updating DLL files with an Installation Program.

09-13-2012 11:53 AM in reply to: junoj

I wrote a simple DOS-box EXE to take care of that.  Grabs the location and name of an XML file containing DLLs, the associated REG files (for demand-load settings and any other registry settings), whether to version check before overwriting, and the path they should get copied to (created if necessary).  It can be called manually, or through a call to (startapp...) in our start-up LISP routines.

----------------------------------
If you are going to fly by the seat of your pants, expect friction burns.
Adopt. Adapt. Overcome. Or be overcome.
A good question will be halfway to a good answer.


Distinguished Contributor
junoj
Posts: 116
Registered: ‎02-26-2009
Message 3 of 5 (222 Views)

Re: Deploying and updating DLL files with an Installation Program.

09-13-2012 02:15 PM in reply to: dgorsman

Thank you very much for replying Dgorsman.

 

That works fine for WinXP but I sometimes I run into not able to write to the C:\ . . .  on Win7. Then I have to manually configure each PC to give the user ability to read/write to a folder on C:\.

 

Have you had any issues with that?

 

Thank you,

 

-J

*Expert Elite*
dgorsman
Posts: 5,277
Registered: ‎10-12-2006
Message 4 of 5 (197 Views)

Re: Deploying and updating DLL files with an Installation Program.

09-14-2012 07:47 AM in reply to: junoj

No, I haven't on either XP or Win7.  But thats probably a difference in security setting, is that your *entire* C:\ drive?  How do your users get any work done?  :smileysurprised:  I have our AutoCAD install package configured to install the support files outside of the Program Files and Docs/Settings paths to avoid such restrictions, and the folders where I locate our DLL files is separate from those two paths as well.

 

Now, thats not your only option.  Look for existing threads on locating DLLs on the network.  It requires some reconfiguring (which can be done through BAT or other automation).  It comes with a few drawbacks so you do need to do some analysis, but if deploying local DLLs is problematic it may be a viable solution.

----------------------------------
If you are going to fly by the seat of your pants, expect friction burns.
Adopt. Adapt. Overcome. Or be overcome.
A good question will be halfway to a good answer.


Board Manager
StephenPreston
Posts: 377
Registered: ‎05-22-2006
Message 5 of 5 (150 Views)

Re: Deploying and updating DLL files with an Installation Program.

09-21-2012 02:33 PM in reply to: junoj

For having your plug-ins load into AutoCAD (not the file deployment part) you might look into the Autoloader functionality introduced in AutoCAD 2012. At least then you don't have to worry about running .reg files to setup simple demand loading. Serach this forum for Autoloader to fiond informational links.

Cheers,

Stephen Preston
Autodesk Developer Network
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.