rajeevanyam
rajeevanyam

Reputation: 31

Read registry value in wix

Hi all i am new to wix tool can any one help me to read the registry key variable value to another variable. Is there is any way to see the value contains in that variable in wix. Sample code is very much helpfull for me.

Thanks, rajeev kumar.

Upvotes: 3

Views: 5001

Answers (1)

Sunil Agarwal
Sunil Agarwal

Reputation: 4277

You can go through this link

Use this code

<Property Id="INSTALL_SERVICE">
   <RegistrySearch Id="ServiceSearch" Name="ServiceName" Root="HKLM" Key="SOFTWARE\CompanyName\[ProductCode]\FeatureDetails" Type="raw" />
</Property>

Also you are new to WIX, so please go through this links

Upvotes: 1

Related Questions