The actual code looks like:
<Component Id="ServiceBuySeasonsProperties"
Guid="539477F9-E9B1-407f-BB33-15CDDE53BA8F" DiskId="1">
<Registry Id='ServiceInstallDir' Root='HKLM'
Key='Software\BuySeasons\WebServices' Name='ServiceInstallDir'
Action='write' Type='string' Value='[SERVICEINSTALLDIR]' />
<Registry Id='FullyQualifiedComputerName' Root='HKLM'
Key='Software\BuySeasons\WebServices' Name='ComputerName'
Action='write' Type='string' Value='[FULLYQUALIFIEDCOMPUTERNAME]'
/>
. . .
Do you think I have a syntax problem? Like I said, I look in the log file
and it appears to be writing values to the registry but using regedit I
don't see any entries.
Kevin
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rennie
Petersen
Sent: Wednesday, May 16, 2007 7:02 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] <Registry>
I've written a bit about using the <Registry> element here:
http://www.merlinia.com/mdt/WiXTutorial1.msl (near bottom of page).
Are you looking in the right place? (HKLM vs. HKCU?)
The <Registry> element has to be inside a <Component> element. The registry
entry should automatically be removed when the Component is uninstalled.
Rennie
_____
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin Burton
Sent: 16. maj 2007 10:55
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] <Registry>
I am trying to use the <Registry> task and I look in the log file during
installation and it seems to be executing but when I look at the actual
registry the keys and values are missing. Is the full key path automatically
created or should I initially create the registry path? Related to this, how
do I specify more than one action? Say I want to write a value to the
registry and also remove it on uninstall?
Thank you.
Kevin
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users