You don't want to declare a registry key in setup then (there is no support for
volatile keys, for the reasons I mentioned below). Instead, it seems like you
need a CustomAction to create a temporary marker. The WiX toolset has a
function in the CustomAction Library that is used to communicate a reboot is
required from the deferred CustomAction to the immediate CustomAction by using
an Atom.
You can see the code in wix\src\ca\wcautil\wcawrap.cpp -
WcaDeferredActionRequiresReboot().
From: Thomas Svare [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 21, 2006 08:44
To: Rob Mensching; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] volatile registry key
Hello,
One of our features installs a kernel driver and we don't want maintenance to
be performed or the application to run unless a reboot is done.
Thanks,
Tom
________________________________
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 21, 2006 11:34 AM
To: Thomas Svare; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] volatile registry key
Why would setup create a volatile key? My understanding is that when the
registry hive is unloaded (usually on a reboot) the key would be lost. Your
setup would be "broken" after every reboot and a repair would be in order.
What's the scenario?
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Svare
Sent: Thursday, December 21, 2006 08:29
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] volatile registry key
Hello,
Sorry if this is in the user list archive or tutorial, my quick search did not
come up with anything.
Is there a way to create a volatile registry key with Wix?
Thanks,
Tom
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users