jfaiga
Posts: 25
Joined: Wed Sep 13, 2006 8:21 am

Custom Actions in a Repair

Hi,
Please can you tell me how to ensure that my Install custom actions are called on a Repair.
Thanks
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

Please see following forum post for a similar approach:
http://www.advancedinstaller.com/forums ... php?t=1853

Best Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
jfaiga
Posts: 25
Joined: Wed Sep 13, 2006 8:21 am

Hi Gigi,
Thanks that link helped solve it! :D

I changed my Install custom action expression condition to:

Code: Select all

(NOT Installed) OR (Installed AND (NOT (REMOVE="ALL")))
instead of the default:

Code: Select all

NOT Installed
I'd like to suggest that the default Express when creating an Install custom action is the former instead of the latter, since:

* surely the majority of install custom actions should be called both on install and repair
* its not obvious to a newbie that the default settings for an install custom action are not called upon a repair

Regards

Return to “Common Problems”