.NET

Reply
Distinguished Contributor
Posts: 113
Registered: ‎02-26-2009
Message 1 of 5 (223 Views)

Deploying and updating DLL files with an Installation Program.

223 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: 4,710
Registered: ‎10-12-2006
Message 2 of 5 (219 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
Posts: 113
Registered: ‎02-26-2009
Message 3 of 5 (204 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: 4,710
Registered: ‎10-12-2006
Message 4 of 5 (179 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.


ADN Support Specialist
Posts: 349
Registered: ‎05-22-2006
Message 5 of 5 (132 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

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community