Registry Key Dependence - Advanced Installer Community
cos
Posts: 10
Joined: Mon Dec 27, 2010 11:43 am

Registry Key Dependence

Hello,

I need to write the value of a registry key depending on the host Windows version. For example if the host has XP the key should not be written at all, if it has Vista or 7 the value should be 1. How can I do that with AI?

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

Re: Registry Key Dependence

Hello,

You can write the value of the registry from the Registry page and then condition its component from the Organization page. Here is the how to from our user guide that can help you with the condition.

Best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”