View Full Version : install exec condition

06-08-2005, 11:32 AM
I have a Basic MSI-Project with a custom action (InstallScript) that copies files from the source to destination. I want this script to execute on first install and repair for the feature 'MyFeature'.
Is this the correct condition for that:
((ADDLOCAL >< "ALL") OR (ADDLOCAL >< "'MyFeature'"))
OR ((REINSTALL >< "ALL") OR (REINSTALL >< "MyFeature"))

On Win2000 and XP Workstations it works fine, but on Win95c it does not execute. When I insert (ADDLOCAL = ""), it also executes on Win95c.

Any ideas?
Thanks for answers,

06-08-2005, 11:35 AM
Please see the MSI Help Library topic "Examples of Conditional Statement Syntax" for the recommended approach (and see "Conditional Statement Syntax" for an explanation of the feature-state and feature-action conditions)...