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!

MichaelD
Posts: 43
Joined: Tue Jan 12, 2016 10:32 am

Remove entries from add/remove dialog

Hi

How can I remove some features from the add/remove dialog which is shown when the setup is already installed and started again. I only want some features allowed to be modified when the product is already installed.
I tried the Disabled If: Installed condition which seems to work, but has problems in the uninstall step.

Kind regards,
Michael
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Remove entries from add/remove dialog

Hi Michael,

I've tested your scenario and it worked as expected.

I've used the following condition in the Disabled If field from the feature properties:

Code: Select all

( Installed AND REMOVE <> "ALL" AND AI_INSTALL_MODE <> "Remove" )
During the first time install, the related feature was scheduled for installation. When running in maintenance mode, the feature was not displayed anymore.

Please let me know if you have other questions.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MichaelD
Posts: 43
Joined: Tue Jan 12, 2016 10:32 am

Re: Remove entries from add/remove dialog

Hi Dan,

thanks, the extra conditions seem to fix the problem with the uninstaller.
Would be helpful to include it in the official documentation as example.

Kind regards,
Michael
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Remove entries from add/remove dialog

You're welcome Michael,

I'm glad you got this working.
Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”