marcelo
Posts: 103
Joined: Fri Sep 28, 2007 2:07 pm

Add information on the Products Registry from AI

Hi,

Is it possible for me to add a entry on the InstallProperties Keys from AI (without using Custom action, vbs etc).

Basically what i need is to add a string key "BuildDate" to the key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\(MyProdID)\InstallProperties".

I know I can create a custom action to do so, but is there a way that can be done entirely within the AI IDE?

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

Hi,

This can be done by using the "Registry" page:
http://www.advancedinstaller.com/user-g ... istry.html

Note that you need to create the structure of registry keys in your Advanced Installer project in order to write to it. In your case you will create the Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\(MyProdID)\InstallProperties registry entry under the existing HKEY_LOCAL_MACHINE\SOFTWARE key.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”