Launch condition based on registry value - 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!

Manta
Posts: 5
Joined: Fri Aug 31, 2012 2:31 pm

Launch condition based on registry value

Hello,

I would like to know if it's possible to test a registry value in Custom launch condition.

In fact i would like to test "if the Windows 7 UAC is activated lauch the package". I try this :

Code: Select all

RESULT_PROPERTY = "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA" AND   "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA" = "1"
But it doesn't works.

I have also try with a registry search option and set in "Prerequisites" page as you explain here

Any ideas ?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Launch condition based on registry value

Hello and welcome to Advanced Installer forums,
I have also try with a registry search option and set in "Prerequisites" page as you explain here
That's an older post and it describes the old GUI layout. We recommend you follow more recent forum posts or look into our user guide articles (top right search on our web-site).
I would like to know if it's possible to test a registry value in Custom launch condition.
The correct way to do this is to have a registry search defined in the Search page and a custom launch condition defined from the Launch Conditions page like:

Code: Select all

YOUR_SEARCH_NAME
Since you are new, we highly recommend you read our tutorials for a better understanding of how to use Advanced Installer to efficiently deploy your products. This will also help you better understand support team's suggestions now and in the future. The Simple and Professional tutorials are especially important.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Manta
Posts: 5
Joined: Fri Aug 31, 2012 2:31 pm

Re: Launch condition based on registry value

Thanks for fast reply Mihai.
I will improve this.
Manta
Posts: 5
Joined: Fri Aug 31, 2012 2:31 pm

Re: Launch condition based on registry value

I read all the documentation about launch condition and search.

Image


And now, how I woud like to create a condition which say "Install if EnableLUA = 1". But what is the command line ?

Thanks in advance.
Manta
Posts: 5
Joined: Fri Aug 31, 2012 2:31 pm

Re: Launch condition based on registry value

I found the solution i used the extended search option. :)

Return to “Common Problems”