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!

AquaComm
Posts: 67
Joined: Wed May 06, 2020 3:25 am

Creating a precondition for Win 10 Pro Version

Hi,

I need to restrict installation to machines running the Pro version of Windows 10. How do I do that please?
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Creating a precondition for Win 10 Pro Version

Hello,

I am afraid we do not have predefined support for your request.

You can, however, achieve that through a custom action.

You can schedule this custom action between the "Searches" and "Paths Resolution" action groups, under the "Wizard Dialogs Stage".

In the above custom action, you can have a logic as it follows:

Code: Select all

if(edition="Professional"){
AI_SetMsiProperty IS_PROFESSIONAL true
}
After doing so, you can go to "Launch Conditions" page --> "Custom" tab and create a custom launch condition using the above property as a condition, e.g.:

Code: Select all

IS_PROFESSIONAL
- if the edition is Professional ==> the property will be set ==> the launch condition will be evaluated as true ==> the setup will continue

- if the edition is not Professional ==> the property will not be set ==> the launch condition will be evaluated as false ==> the setup will throw an error message

Hope this helps!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”