Hi all,

I require to create a registry key with the product code, which I have set
up like so:
in a Variable.wxi file:
<?define ProductCode = "*"?>

in my product.wxs I have:
<Product Id=&quot;$(var.ProductCode)&quot;

registry value as:
&lt;RegistryValue Type=&quot;string&quot; Name=&quot;Uninstall Command&quot;
Value=&quot;msiexec /x $(var.ProductCode) /q&quot;/>

but after the install runs that registry value shows up as:
"msiexec /x * /q"

if I use:
<RegistryValue Type="string" Name="Uninstall Command" Value="msiexec /x
[ProductId] /q"/>

it shows up as "msiexec /x  /q"

What am I doing wrong?

thanks,

Steve



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/create-registry-value-with-product-code-tp7596476.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to