MaJor
Posts: 3
Joined: Tue Apr 02, 2013 6:33 am

Custom Action - Read Reg Value

Hi,

we are trying to build a MSI which should read an reg value from HKLM and paste it in HKCU.
Is there a simple solution to Read a reg value and pipe it into a property using a custom Action or something else?

Thanks
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Custom Action - Read Reg Value

Hi,

In order to achieve this you can go in the Search page and create a new search using the [Search] toolbar button (you can rename this search, which is actually the name of the property that will store your registry value).

Then, click on the [Search Location] toolbar button and choose the "Registry" option. In the right pane you can edit the path to the key and the name of the value that you want to store in the property.

Finally, you can go in the Registry page and create a new registry entry to store this search property in the desired registry location.

Let us know if this helped.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”