TomGarrett
Posts: 25
Joined: Fri Nov 16, 2007 12:44 pm

Conditional creation of registry keys

Hello,

I would like to be able to create a registry entry based on a specific configuration. So I have 2 registry keys that I only want to exist if the install type is set to Client/Server for example.
How can I do this?

Thanks in advance,

Tom
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

I'm not sure what kind of configuration you are using for your installation package, therefore I can suggest two methods (you can choose the one that is best suited for you):

1) in the "Organization page you create features and include the components of the registry key in one of them
2) you condition the installation of the components of the registry keys in the "Organization" page

You can read more about the "Organization" page here:
http://www.advancedinstaller.com/user-g ... ation.html

If you need more information about this then please give me more details.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
TomGarrett
Posts: 25
Joined: Fri Nov 16, 2007 12:44 pm

Excellent, thanks for your prompt reply!

Return to “Common Problems”