Adding a check to abort install - 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!

dboone
Posts: 2
Joined: Mon Sep 20, 2010 6:31 pm

Adding a check to abort install

Hi,

I want to add a check of a registry setting during installation and cancel the installation if that registry entry is not present. Is there a simple way to do this that I am missing?

Regards,
Dwayne
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Adding a check to abort install

Hi Dwayne,

Please follow theese steps to achieve what you need:

1. Create a new registry search from the Search Page
2. Use the reference to your search to create a custom Launch Condition for your package

This way your package won't install on machines that don't meet your search criteria.
You can also find a Launch Condition example here.

Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
dboone
Posts: 2
Joined: Mon Sep 20, 2010 6:31 pm

Re: Adding a check to abort install

Thanks, I will check out the launch conditions.

Return to “Common Problems”