I don't want the modify radio button. So, I have removed it. Now what I want is when the user selected the "Repair" radio button then the whole application should be reinstalled along with the execution of Custom Actions.
My Custom Actions:
My first CA execute "addin.exe" when I install the product for first time. This exe adds some toolbars to PowerPoint. This is placed in the InstallExec seq. at "After InstallFiles" with condition=Not Installed.
My second CA executes "removeaddin.exe" when I uninstall Product. This exe removes toolbars from PowerPoint. This is placed in the InstallExec seq. at "After RemovingExistingProducts" with condition=Installed.
Now, in the maintenance mode when I select "repair" and click ok, it restores the shortcuts and lost files but removes the toolbar from the PowerPoint. I am not sure if it is either executing my "second custom action" or resetting the powerpoint.
So, I want to execute "first custom action" when I repair my installation.
Or
I can say I want to execute addin.exe when I "Repair" my installation.
Which can be done. Please suggest.
Thanks in advance.
Edited by technojewel, 09 February 2006 - 10:28.