V
Viviana Vc
Hi all,
My company until now had an InstallShield script based setup used to
install our product on users machine.
Now it was taken the decision of doing this using Windows Installer. As
I have no experience with this I started to read in MSDNL most of the
things I found related somehow to the subject.
I have several questions:
1) I started to read the "An Installation Example" from
http://msdn.microsoft.com/library/d...y/en-us/msi/setup/an_installation_example.asp
in order to start a sample. This one states that "you need a software
tool capable of creating and editing a blank Windows Installer
database", database which I assume will be later part of the generated
..msi file.
On the other hand I created using VC++ .Net 2003 a "setup and Deplyment
Projects" -> "setup Wizard" project which by building generates the
setup.exe and the associated .msi file (see
http://support.microsoft.com/default.aspx?scid=kb;en-us;307353).
Does this mean that:
- Setup package created using Visual Studio .NET
and
- setup package created using "a software tool capable of creating and
editing a blank Windows Installer database"
are 2 different ways of creating a setup project?
If yes what is the difference, what are the pros and cons for each
method?
They are both "windows Installer" packages right? or am I missing
something?
I would preffer the first method as it seems I don't need any additonal
tools.
2) The design for my installer is pretty simple (it has to be
localized):
- installation should run only for Win2000 SP3 and up and XP
- it has to be run only by a user with full admin rights
- has one component as all the files need to be installed at once
- several sub-components containg files that need to install in
different subdirectories in the Program Files\My App directory
- user decides the target directory (where the app will be installed)
- some registry entries
- some shortcuts
- run some exe's that just got installed just before the installation
procedure ends
- on uninstalling run some exe's and depending on their return values
abort the uninstaller or continue
- on uninstalling delete some directories that were created while the
product ran on that computer
- on uninstall show the user a dialog with 2 radio buttons and depending
on his choise one exe will be executed or another
Is this doable using the methods described at point 1)?
Sorry for the long post,
Thanks a lot in advance,
Viv
My company until now had an InstallShield script based setup used to
install our product on users machine.
Now it was taken the decision of doing this using Windows Installer. As
I have no experience with this I started to read in MSDNL most of the
things I found related somehow to the subject.
I have several questions:
1) I started to read the "An Installation Example" from
http://msdn.microsoft.com/library/d...y/en-us/msi/setup/an_installation_example.asp
in order to start a sample. This one states that "you need a software
tool capable of creating and editing a blank Windows Installer
database", database which I assume will be later part of the generated
..msi file.
On the other hand I created using VC++ .Net 2003 a "setup and Deplyment
Projects" -> "setup Wizard" project which by building generates the
setup.exe and the associated .msi file (see
http://support.microsoft.com/default.aspx?scid=kb;en-us;307353).
Does this mean that:
- Setup package created using Visual Studio .NET
and
- setup package created using "a software tool capable of creating and
editing a blank Windows Installer database"
are 2 different ways of creating a setup project?
If yes what is the difference, what are the pros and cons for each
method?
They are both "windows Installer" packages right? or am I missing
something?
I would preffer the first method as it seems I don't need any additonal
tools.
2) The design for my installer is pretty simple (it has to be
localized):
- installation should run only for Win2000 SP3 and up and XP
- it has to be run only by a user with full admin rights
- has one component as all the files need to be installed at once
- several sub-components containg files that need to install in
different subdirectories in the Program Files\My App directory
- user decides the target directory (where the app will be installed)
- some registry entries
- some shortcuts
- run some exe's that just got installed just before the installation
procedure ends
- on uninstalling run some exe's and depending on their return values
abort the uninstaller or continue
- on uninstalling delete some directories that were created while the
product ran on that computer
- on uninstall show the user a dialog with 2 radio buttons and depending
on his choise one exe will be executed or another
Is this doable using the methods described at point 1)?
Sorry for the long post,
Thanks a lot in advance,
Viv