cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
z_efrati
Level 4

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?
Labels (1)
0 Kudos
(1) Reply
RobertDickau
Flexera Alumni

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.
0 Kudos