cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
NeilHayes
Level 5

Repair mode in ARP

I have a basic MSI wrapped in the installshield setup.exe.

I install my application
The user modifies a application file (Unversioned type files like XML)


I want to do a repair and restore the system to the original state

The ReinstallModeText Property is set to "amus"

The end user has at least 2 options in performing a repair from add and remove programs.

1. Select the product in the list and click repair (Talking Windows 7)
2. Select change a select repair.

Option 1 fails to overwrite as thr ReinstallModeText property is ignored
Option 2 works as the ReinstallModeText property is managed on the "Next" button of the Maintenace type dialog.


In summary Option 1 goes directly to the execute phase, where option 2 goes through the UI phase then excute phase.


Question.

How can I set the ReinstallMode to "amus" during the execute phase?
Could I just set the REINSTALLMODE property?
Where ideally in the execute sequence should this "customaction" take place?


The install consists of at least 18,000 unversioned type files spread over 232 components and 25 features.

Regards

Neil
Labels (1)
0 Kudos
(1) Reply
NeilHayes
Level 5

Perhaps *bump*
0 Kudos