Burn is a bootstrapper/chainer not an installation technology. That means it doesn't put stuff on the machine directly, it manages the things that put stuff on the machine.Thus, you need to put the registry key in a "package" that is executed by an installation technology.
On Wed, May 29, 2013 at 3:28 AM, Benjamin Mayrargue <benja...@vapolia.fr>wrote: > Hi all, > i think i misundestand something in wix philosophy. > > I have 4 exe to install. I've created a bundle and 4 fragments. > All is working nicely. > > Now i want to conditonally add a registry key when one of the fragment is > "executed". > So i added this to the fragment: > > <DirectoryRef Id="TARGETDIR"> <Component Id="RegistryEntries" > Guid="*"> <Condition><![CDATA[NETFRAMEWORK40CLIENT AND > (VersionNT < v6.0)]]></Condition> <RegistryKey Root="HKCU" > Key="Software\Company\ProductName" Action="create"> > <RegistryValue Type="integer" Name="State" Value="1" KeyPath="yes" /> > </RegistryKey> </Component> </DirectoryRef> > <Feature Id="NetFx40ClientWebSupplement"> <ComponentRef > Id="RegistryEntries" /> </Feature> > > > But I don't know how to reference the feature, as i only have a bundle, not > a product. > > > Why would i do that ? > I'm trying to detect in the managed bootstrapper if the prerequisite > bootstrapper installed the .net framework or not (which is different of > detecting if .net is installed). > Why would i do that ? > Because i'm trying to find a way to detect if another install is already in > progress and requires a reboot. the only way i have found is read > the endingFileRenameOperations key. But the prerequisite bootstrapper sets > this key after strarting the managed bootstrapper ... > I'm stuck. > > thks, > Benjamin. > > ------------------------------------------------------------------------------ > Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET > Get 100% visibility into your production application - at no cost. > Code-level diagnostics for performance bottlenecks with <2% overhead > Download for free and get started troubleshooting in minutes. > http://p.sf.net/sfu/appdyn_d2d_ap1 > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------------ Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level diagnostics for performance bottlenecks with <2% overhead Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap1 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users