Can you be more specific about what wasn't removed?  By default RegistryValues 
installed should be removed at uninstall.

-----Original Message-----
From: David Jackson [mailto:david.jack...@ca.ibm.com]
Sent: Thursday, December 11, 2008 13:13
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] changing heat registry entries to 
createAndRemoveOnUninstall

Without Action="createAndRemoveOnUninstall" they weren't removed during
uninstall.  Is there a better way to do this?



From:
Rob Mensching <rob.mensch...@microsoft.com>
To:
"General discussion for Windows Installer XML toolset."
<wix-users@lists.sourceforge.net>
Date:
12/11/2008 03:27 PM
Subject:
Re: [WiX-users] changing heat registry entries  to
createAndRemoveOnUninstall



Why do you want to add @Action to the Registry key.  The default "none"
should be sufficient for this case.

-----Original Message-----
From: David Jackson [mailto:david.jack...@ca.ibm.com]
Sent: Thursday, December 11, 2008 12:07
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] changing heat registry entries to
createAndRemoveOnUninstall

Does anybody have a solution for fixing up RegistryValue elements
generated by heat so that I can specify
Action="createAndRemoveOnUninstall"?  I think this should be doable with
XSL but I'm not sure how to go about it.

For example:
Heat gives me RegistryValues like this:

<RegistryValue Root="HKCR" Key="x\y\z" Name="" Value="abc" Type="string"
Action="write" />
<RegistryValue Root="HKCR" Key="x\y\z" Name="Class" Value="abc"
Type="string" Action="write" />
<RegistryValue Root="HKCR" Key="x\y\z" Name="Assembly" Value="abc"
Type="string" Action="write" />
<RegistryValue Root="HKCR" Key="x\y\z" Name="RuntimeVersion" Value="abc"
Type="string" Action="write" />
...

I get the result I want by changing them to this format:

 <RegistryKey  Root="HKCR" Key="x\y\z"
Action="createAndRemoveOnUninstall">
        <RegistryValue Name="" Value="abc" Type="string" Action="write" />
        <RegistryValue Name="Class" Value="abc" Type="string"
Action="write" />
        <RegistryValue Name="Assembly" Value="abc" Type="string"
Action="write" />
        <RegistryValue Name="RuntimeVersion" Value="abc" Type="string"
Action="write" />
</RegistryKey>

Does anybody have an XSL transform for doing that or another suggestion? I
Wrote a python script but it's not pretty... I've also looked at
developing heat extensions.


David

The opinions expressed here are my own and don’t necessarily represent
IBM’s positions, strategies or opinions.
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/

_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/

_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to