Custom Action Run Condition - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

anupmistry
Posts: 52
Joined: Tue Jan 12, 2010 6:39 pm

Custom Action Run Condition

Currently my custom action that runs in the Install phase has condition to run set to 'Not Installed'. How to frame the condition so it runs on a first install, upgrade or repair. If I put in a '1' then it also runs in an uninstall which I do not want to run.

Can you help me with forming the condition.

Thanks!
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Custom Action Run Condition

Hello,
How to frame the condition so it runs on a first install, upgrade or repair.
If you need a custom action not to run on uninstall you can negate the uninstall condition:

Code: Select all

NOT (REMOVE = "ALL")
All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”