cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not applicable

Repair / modify after setup.exe

I have a Basic MSI project and I generated a MSI file. I'm able to install, repair, modify, update using directly the MSI (with command-line params) or using the Modify, repair buttons from Add/Remove programs list.

In the same project I added another release to create a setup.exe which includes the msi.

Running the setup.exe I'm able to install/repair/modify/upgrade the software, but if I try to use the Modify / Repair buttons from Add/Remove programs it complains that it cannot find the MSI.

In the setup.exe release tab I set the following flags:

MSI engine location = Extract Engine from Setup.exe
Delay MSI engine reboot = YES
Cache MSI locally = YES
Cache path = [LocalAppDataFolder]Downloaded Installations (set automatically)

I don't know what else to do to make the Modify/Repair working? I don't even know if it's possible.

Please advice.
Thanks,
John
Labels (1)
0 Kudos
(2) Replies
Bineesh
Level 6

Check the msi is cached in the '[LocalAppDataFolder]Downloaded Installations' location after install
0 Kudos
Not applicable

We fixed it.

The MSI was extracted during the install but removed after that.

The problem seems to be the default path ('[LocalAppDataFolder]Downloaded Installations'). This is completelly removed after installation. Even if it was left there, this is a user specific path and would not be good.

We changed it to [CommonAppDataFolder]MyApp and now it works.
0 Kudos