This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Reinstallmode & Reinstall
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 06, 2009
05:23 AM
Reinstallmode & Reinstall
Hi,
I want an installation of type Setup.msi to act like an installation of type Setup.exe when it comes to upgrades. Meaning that instead of asking the user to uninstall the existing version before installing the new one, just initiate an upgrade (replacing file and reg keys according to some logic).
I have read that a way to do this is to supply certain command-line argument like so:
msiexec.exe /i "MyFile.msi" REINSTALLMODE=voums REINSTALL=ALL.
Hoever, I need the installation to work without the arguments.
So, I tried to to use custom actions (of type 51) to force the needed values into those properties, but it had no effect.
Is there another way to make the installation perform an upgrade automatically? Or, may be, another way to deceive msiexec into thinking that the needed arguments were supplied?
I want an installation of type Setup.msi to act like an installation of type Setup.exe when it comes to upgrades. Meaning that instead of asking the user to uninstall the existing version before installing the new one, just initiate an upgrade (replacing file and reg keys according to some logic).
I have read that a way to do this is to supply certain command-line argument like so:
msiexec.exe /i "MyFile.msi" REINSTALLMODE=voums REINSTALL=ALL.
Hoever, I need the installation to work without the arguments.
So, I tried to to use custom actions (of type 51) to force the needed values into those properties, but it had no effect.
Is there another way to make the installation perform an upgrade automatically? Or, may be, another way to deceive msiexec into thinking that the needed arguments were supplied?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 06, 2009
08:02 AM
If you want to uninstall the old version and then install the new one, perhaps consider a major upgrade? That way, you won't need any command-line arguments.
