Install condition for windows feature - Advanced Installer Community
Alex99
Posts: 42
Joined: Thu Feb 14, 2013 9:28 am

Install condition for windows feature

Hello guys,
Could you help me please with problem of windows feature installing functionallity?
I have windows feature installation in my installer based on some condition.
For example - for windows server 2012(checkbox checked) and SOME_INSTALL_PROPERTY = "1" in condition field.
And this condition works fine on installation. but when user doing - "Change", from Repair/Change/Remove stage(I have some additional functionallity there) - windows feature is installing.
I understand that this is OK, because my condition property SOME_INSTALL_PROPERTY has its default value that meets condition. but I dont need this windows feature be installed in Maintence mode in any cases.
I've tried to write such condition - NOT AI_MAINT AND SOME_INSTALL_PROPERTY = "1" - but this did not help.
Please tell me what condition I need to write to prevent installing windows feature in Maintenance mode.

Thanks in advance,
Alex
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Install condition for windows feature

Hi Alex,

If you to prevent the installation of the related windows features when running in Maintenance mode you can add the following in the Condition field:
NOT Installed

Please let us know if that helped, otherwise give us more details about your specific scenario.

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

Return to “Common Problems”