So, what does NETFRAMEWORK20INSTALLROOTDIR64 evaluate to from the install log?

--
John Merryweather Cooper
Build & Install Engineer - ESA
Jack Henry & Associates, Inc.®
Shawnee Mission, KS  66227
Office:  913-341-3434 x791011
jocoo...@jackhenry.com
www.jackhenry.com 




-----Original Message-----
From: Tony White [mailto:twh...@ent.com] 
Sent: Wednesday, July 31, 2013 4:37 PM
To: 'wix-users@lists.sourceforge.net'
Subject: [WiX-users] adding event source during install

I would like to add this node to my component, to make sure a specific event 
source exists:
<util:EventSource
Log="Application"
       Name="LogonTimer"
       EventMessageFile="[NETFRAMEWORK20INSTALLROOTDIR64]EventLogMessages.dll" 
/>

I have these also:
<PropertyRef Id="NETFRAMEWORK20" />
<PropertyRef Id="NETFRAMEWORK20INSTALLROOTDIR64" /> <PropertyRef 
Id="NETFRAMEWORK40FULL" /> <PropertyRef Id="NETFRAMEWORK40FULLINSTALLROOTDIR64" 
/>

Just in case adding more of them would make the problem go away.
And this:
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension";

The project builds, but as soon as the msi runs it throws an error "The folder 
path '?' has an invalid character" (well duh, ? is invalid) If I comment this 
EventSource node out, the installer runs just fine.
I have tried 
EventMessageFile="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\EventLogMessages.dll",
 but even that gives the same message.
I've googled until my googler is sore, can't discover what is wrong.

Thanks,

Tony



This Email is covered by the Electronic Communication Privacy Act, 18 U.S.C 
2510-2521 and may be legally privileged. The information contained in this 
Email is intended only for the use of the individual or entity named above. If 
the reader of this message is not the intended recipient, or the employee or 
agent responsible to deliver it to the intended recipient, you are hereby 
notified that any dissemination, distribution or copying of this communication 
is strictly prohibited. If you have received this communication in error please 
immediately notify us by telephone and destroy the original message.
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent caught 
up. So what steps can you take to put your SQL databases under version control? 
Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.


------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to