Thanks John!

-----Original Message-----
From: John H. Bergman (XPedient Technologies)
[mailto:john.berg...@xpedienttechnologies.com] 
Sent: Saturday, October 24, 2009 11:39 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How do I add both a HKLM and a HKCU key to the
registry?

We do this and it works for us (Same situation).

Add a reference to the util extension, and add it to your namespace
definitions

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";
      xmlns:iis="http://schemas.microsoft.com/wix/IIsExtension";
      xmlns:util="http://schemas.microsoft.com/wix/UtilExtension";>

then in the appropriate component....

                <util:EventSource Name='AppName' Log='AppName'
 
EventMessageFile='[WindowsFolder]Microsoft.NET\Framework\v2.0.50727\EventLog
Messages.dll'
                  SupportsErrors='yes'
                  SupportsWarnings='yes'
                  SupportsInformationals='yes'/>


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to