How to prevent install on Windows 10 Home Edition? - Advanced Installer Community
mrudolph
Posts: 25
Joined: Fri May 22, 2009 6:30 pm

How to prevent install on Windows 10 Home Edition?

We need to prevent install on some variations of Windows 10, how do we tell the edition and stop the install at the start?
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: How to prevent install on Windows 10 Home Edition?

Hello,

Unfortunately, we do not offer predefined support for such a task (to fail an installation based on the Windows Edition).

However, this is still possible through a custom action.

For instance, you can have a custom action that detects the Windows Version and, based on that, sets an installer property.

Based on the property, you can create a custom Launch Condition

Or, if you want, you can fail the installation directly from your script by having an exit code different than 0 (every exit code different than 0 is interpreted as a failure by the Windows Installer service, therefore the setup will fail).

Hope this helps.

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

Return to “Common Problems”