Questions about deployment project. Thanks!

  • Thread starter Thread starter david
  • Start date Start date
D

david

Hi,

I have some questions about visual studio deployment. I could not find a
way to handle two things, one is how to show a page to let user choose if
they like the executable file run after installation or how to make my
executable file run automatically after installation. Another thing is how
to make my installation package auto override the previous installed
version, now it shows "you need uninstall from control panel first" when a
previous version is already ther.


Thanks!
 
Hi david

The second thing is not availible at .net framwork 1.1, you have to use
third part software.

I forgot the name of third part software name.


Tony
 
This is from memory, and may not be correct; in any case, try mposting to
the windows.msi newsgroup.

The first part is possible but will require some work; the VS Installer
project allows you to add custom dialogs with checkboxes etc on it. You'd
need to write some code (an EXE, or script or something) that will be
executed if a checkbox is set. There's an option somewhere for custom build
steps, and you can get the installer to execute your code/script if a
checkbox's variable name is set.

The second part is, I think, as simple as unchecking the 'Check for previous
version' setting in the overall setup project settings.

As I said, post to the MSI newsgroup and if you want to do any serious
custom work you could consider checking out some of the free (and not free)
tools (have a look at http://www.installsite.org/pages/en/msi/authoring.htm
for a list). MakeMSI is supposed to be quite good.

Steve
 
Back
Top