.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Packaging and deployment

6 REPLIES 6
Reply
Message 1 of 7
SRSDS
493 Views, 6 Replies

Packaging and deployment

I have just finished converting a VB6 app and need some ideas on how to package it up.

Previously I was using Inno Setup. The executable transfered files and registered the dl for usel.

Is there a packaging and deployment method I should be looking at for .NET applications?

 

 I have manually added keys to the registry on my computer to autoload the .dll but need to know how to create a setup file to do the same.

 

Hoping someone can point me in the right direction. 

 

 

 

6 REPLIES 6
Message 2 of 7
chiefbraincloud
in reply to: SRSDS

I'm not familiar with Inno Setup, but it will probably still work.

 

Or you can create a Setup and Deployment project in Visual Studio.

 

Or you can check these out:

http://through-the-interface.typepad.com/through_the_interface/2011/05/adn-devcast-episode-6-autoloa...

http://through-the-interface.typepad.com/through_the_interface/2011/06/adn-devcast-episode-7-creatin...

 

On how to use the Autoloader mechanism (if you are on AutoCAD 2012)

Dave O.                                                                  Sig-Logos32.png
Message 3 of 7
jamierobertson1
in reply to: SRSDS

I used Inno setup without any problems and included the REGDL program from Kean Walmsleys blog to set the registry entries (set to run upon installation in the .iss script):

 

http://through-the-interface.typepad.com/through_the_interface/2010/02/creating-demand-loading-entri...

 

 

Message 4 of 7

If your only developing for yourself or friends

Then registry entries are OK, but if you are

Distributing your software then you may not

realise that they only need to load then when

needed.   Using a script file ran from a desktop

shortcut is a good way of doing this.

 

As for installation, I use MSI Factory, it cost about £300

Pounds, but it's very good.

http://www.designprosoftware.co.uk/
Message 5 of 7

"then you may not realise that they only need to load then when needed.   Using a script file ran from a desktop shortcut is a good way of doing this."

 

I disagree completely... 

 

If you are using a script run through a shortcut, then that loads the .dll on AutoCAD startup, every time you use that shortcut to start AutoCAD.  That means you can't start AutoCAD without loading the .dll, then load it into the same session (unless you know how to load it manually, which is not what we're talking about here)

 

If you set your registry entries correctly, the .dll gets loaded automatically if, and only if, one of it's commands is executed, and if you are using the new autoloader mechanism, it has the same capability (and in fact, it just uses the same registry information as it always has, but it creates the registry entries for you based on the contents of an .xml file)

Dave O.                                                                  Sig-Logos32.png
Message 6 of 7

I used to use that very way of starting my .dll but after a series of complaints I changed to a scipt loaded from the desktop shortcut.  Customers didn'y like the fact that if they were in the middle of something and they hit the wrong button other software would start up, and with no dongle plugged in they would have to go & get it, then plug it in.  They may not have the dongle and so forth.

 

2 cents.

http://www.designprosoftware.co.uk/
Message 7 of 7
SRSDS
in reply to: jamierobertson1

JamieRobertson, Would you mind posting an example of your .iss files to do this? 

I have no idea how to code in  Inno Setup and follow code given in Kean's blog.

 

 

The 2012 AutoLoader is great but I need to make it supported with earlier versions.

Or does someone have an example of a Setup and Deployment project in Visual Studio?

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost