Re: [WiX-users] adding event source during install

2013-08-02 Thread Tony White
The goal is to set the installation directory to C:\Program Files\Ent Federal 
Credit Union\ProductName

This produces a build error:
Directory Id=TARGETDIR Name=SourceDir
Directory Id=ProgramFiles64Folder 
Name=ProgramFiles
Directory Id=Manufacturer Name=Company
Directory Id=INSTALLLOCATION 
Name=LogonTimerService/Directory
/Directory
/Directory
/Directory
Error   2   ICE99: The directory name: Manufacturer is the same as one of 
the MSI Public Properties and can cause unforeseen side effects.

I found somewhere that using a custom action I could set a directory value 
using the [Manufacturer] property.
Is there another way?

Thanks,

Tony

-Original Message-
From: John Cooper [mailto:jocoo...@jackhenry.com]
Sent: Wednesday, July 31, 2013 4:34 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] adding event source during install

Why are you setting TARGETDIR with a custom action?This is not usually a 
good practice, and overriding TARGETDIR is usually reserved for activities like 
admin installs.  If you want to set up a variable InstallLocation, there are 
much better patterns to follow to achieve this.

--
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 5:24 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] adding event source during install

From the log file it seems my custom action that sets the TARGETDIR is the 
thing throwing the error:

Action 16:03:18: SetTARGETDIR.
Action start 16:03:18: SetTARGETDIR.
MSI (c) (58:18) [16:03:18:241]: PROPERTY CHANGE: Modifying TARGETDIR property. 
Its current value is 'C:\'. Its new value: 'C:\Program Files\Ent Federal Credit 
Union\'.
MSI (c) (58:18) [16:03:18:241]: Note: 1: 1324 2: ? 3: 1 MSI (c) (58:18) 
[16:03:18:241]: Note: 1: 2205 2:  3: Error MSI (c) (58:18) [16:03:18:241]: 
Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 
1324 Error 1324. The folder path '?' contains an invalid character.
MSI (c) (58:18) [16:03:23:420]: Note: 1: 2205 2:  3: Error MSI (c) (58:18) 
[16:03:23:420]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` 
WHERE `Error` = 1709 MSI (c) (58:18) [16:03:23:420]: Product: LogonTimerService 
-- Error 1324. The folder path '?' contains an invalid character.

Action ended 16:03:23: SetTARGETDIR. Return value 3.
MSI (c) (58:18) [16:03:23:422]: Doing action: FatalError


CustomAction Id=SetTARGETDIR Directory=TARGETDIR 
Value=[ProgramFiles64Folder][Manufacturer] Return=check /
InstallUISequence
Custom Action=SetTARGETDIR After=CostFinalize /
/InstallUISequence

So then the question is. Why does adding the EventSource node cause the custom 
action to fail?
I'm going to get another log with the EventSource removed and see what is 
different.

Thanks,

Tony
-Original Message-
From: John Cooper [mailto:jocoo...@jackhenry.com]
Sent: Wednesday, July 31, 2013 3:45 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] adding event source during install

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=https://urldefense.proofpoint.com/v1/url?u=http://schemas.microsoft.com/wix/UtilExtensionk=B%2B6yjDIOl%2FIBFdn7TPTJ1w%3D%3D%0Ar=YFkUslLBsKTVopesyo1A5w%3D%3D%0Am=i9T88zrG0Ae6T%2BrQJNzojxCMwh8Zn88M36g7zy93G4c%3D%0As=d4af28933ca92a0227b24ff2b3b8cfc56b3211014a888e74f31ef5f020c14fc4;

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

Re: [WiX-users] adding event source during install

2013-08-02 Thread Tony White
I don't really understand your suggestion.
I have 18 tabs of google searches open, and reading the WiX help, and looking 
at the source code for four days now.
Finally found this: 
http://stackoverflow.com/questions/16946701/wix-installer-how-can-i-show-the-value-of-manufacturer-in-the-install-path

I'm sure this is not the way to do it, but it does have the redeeming quality 
of working:

Directory Id=TARGETDIR Name=SourceDir
Directory Id=ProgramFiles64Folder
Directory Id=ManufacturerFolder 
Name=!(bind.property.Manufacturer)
Directory Id=INSTALLLOCATION 
Name=!(bind.property.ProductName)/Directory
/Directory
/Directory
/Directory

Thanks,

Tony

-Original Message-
From: John Cooper [mailto:jocoo...@jackhenry.com]
Sent: Friday, August 02, 2013 11:22 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] adding event source during install

It means what it says.  There's already a Manufacturer property.  I use the 
Directory@Id CompanyFolder.  Rather than go through all the machinations, use 
WixUI_InstallDir and let it adjust your INSTALLLOCATION.

There's documentation on this in both the WiX help and the on-line tutorials.

--
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: Friday, August 02, 2013 12:08 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] adding event source during install

The goal is to set the installation directory to C:\Program Files\Ent Federal 
Credit Union\ProductName

This produces a build error:
Directory Id=TARGETDIR Name=SourceDir
Directory Id=ProgramFiles64Folder 
Name=ProgramFiles
Directory Id=Manufacturer Name=Company
Directory Id=INSTALLLOCATION 
Name=LogonTimerService/Directory
/Directory
/Directory
/Directory
Error   2   ICE99: The directory name: Manufacturer is the same as one of 
the MSI Public Properties and can cause unforeseen side effects.

I found somewhere that using a custom action I could set a directory value 
using the [Manufacturer] property.
Is there another way?

Thanks,

Tony

-Original Message-
From: John Cooper [mailto:jocoo...@jackhenry.com]
Sent: Wednesday, July 31, 2013 4:34 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] adding event source during install

Why are you setting TARGETDIR with a custom action?This is not usually a 
good practice, and overriding TARGETDIR is usually reserved for activities like 
admin installs.  If you want to set up a variable InstallLocation, there are 
much better patterns to follow to achieve this.

--
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 5:24 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] adding event source during install

From the log file it seems my custom action that sets the TARGETDIR is the 
thing throwing the error:

Action 16:03:18: SetTARGETDIR.
Action start 16:03:18: SetTARGETDIR.
MSI (c) (58:18) [16:03:18:241]: PROPERTY CHANGE: Modifying TARGETDIR property. 
Its current value is 'C:\'. Its new value: 'C:\Program Files\Ent Federal Credit 
Union\'.
MSI (c) (58:18) [16:03:18:241]: Note: 1: 1324 2: ? 3: 1 MSI (c) (58:18) 
[16:03:18:241]: Note: 1: 2205 2:  3: Error MSI (c) (58:18) [16:03:18:241]: 
Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 
1324 Error 1324. The folder path '?' contains an invalid character.
MSI (c) (58:18) [16:03:23:420]: Note: 1: 2205 2:  3: Error MSI (c) (58:18) 
[16:03:23:420]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` 
WHERE `Error` = 1709 MSI (c) (58:18) [16:03:23:420]: Product: LogonTimerService 
-- Error 1324. The folder path '?' contains an invalid character.

Action ended 16:03:23: SetTARGETDIR. Return value 3.
MSI (c) (58:18) [16:03:23:422]: Doing action: FatalError


CustomAction Id=SetTARGETDIR Directory=TARGETDIR 
Value=[ProgramFiles64Folder][Manufacturer] Return=check /
InstallUISequence
Custom Action=SetTARGETDIR After=CostFinalize /
/InstallUISequence

So then the question is. Why does adding the EventSource node cause the custom 
action to fail?
I'm going to get another log

[WiX-users] Having trouble modifying a Built-in WixUI dialog set

2013-07-31 Thread Tony White
I posted this on stackoverflow 
http://stackoverflow.com/questions/17952469/having-trouble-modifying-a-built-in-wixui-dialog-set
 with no answers yet, so I thought I would try here.

I am trying to hide the license agreement from the built-in WixUI_InstallDir 
dialog set. I found some helpful instruction 
http://www.howdoicode.net/2011/09/wix-how-to-hide-license-agreement.html

I've added this to the Product.wxs:

UI Id=InstallDir
  UIRef Id=WixUI_InstallDir /
  Publish Dialog=WelcomeDlg Control=Next Event=NewDialog 
Value=InstallDirDlgNOT Installed/Publish
  Publish Dialog=InstallDirDlg Control=Back Event=NewDialog 
Value=WelcomeDlg1/Publish
/UI

The next button on the welcome dialog happily goes to the install directory 
dialog, but the back button of InstallDirDlg goes to the license agreement.
Any ideas would be appreciated.

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=49501711iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] adding event source during install

2013-07-31 Thread Tony White
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=49501711iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] adding event source during install

2013-07-31 Thread Tony White
Thanks for that, I am just learning WiX and did not know how to make a log 
file, but now I do.

AppSearch: Property: NETFRAMEWORK20INSTALLROOTDIR64, Signature: 
NetFx20InstallRootSearch64
MSI (c) (58:18) [16:03:18:222]: Note: 1: 2262 2: Signature 3: -2147287038
MSI (c) (58:18) [16:03:18:222]: Note: 1: 1325 2: v2.0.50727
MSI (c) (58:18) [16:03:18:223]: PROPERTY CHANGE: Adding 
NETFRAMEWORK20INSTALLROOTDIR64 property. Its value is 
'C:\Windows\Microsoft.NET\Framework64\v2.0.50727\'.


-Original Message-
From: John Cooper [mailto:jocoo...@jackhenry.com]
Sent: Wednesday, July 31, 2013 3:45 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] adding event source during install

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=https://urldefense.proofpoint.com/v1/url?u=http://schemas.microsoft.com/wix/UtilExtensionk=B%2B6yjDIOl%2FIBFdn7TPTJ1w%3D%3D%0Ar=YFkUslLBsKTVopesyo1A5w%3D%3D%0Am=i9T88zrG0Ae6T%2BrQJNzojxCMwh8Zn88M36g7zy93G4c%3D%0As=d4af28933ca92a0227b24ff2b3b8cfc56b3211014a888e74f31ef5f020c14fc4;

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.
https://urldefense.proofpoint.com/v1/url?u=http://pubads.g.doubleclick.net/gampad/clk?id%3D49501711%26iu%3D/4140/ostg.clktrkk=B%2B6yjDIOl%2FIBFdn7TPTJ1w%3D%3D%0Ar=YFkUslLBsKTVopesyo1A5w%3D%3D%0Am=i9T88zrG0Ae6T%2BrQJNzojxCMwh8Zn88M36g7zy93G4c%3D%0As=f2bd5c86266ab7f684db698e1f8f0767e577f26c8611423aefea801191142b53
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://urldefense.proofpoint.com/v1/url?u=https://lists.sourceforge.net/lists/listinfo/wix-usersk=B%2B6yjDIOl%2FIBFdn7TPTJ1w%3D%3D%0Ar=YFkUslLBsKTVopesyo1A5w%3D%3D%0Am=i9T88zrG0Ae6T%2BrQJNzojxCMwh8Zn88M36g7zy93G4c%3D%0As=68218b7001788b0269a748059c466cd9ab04496b64651e1d91cc0453416bff08
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.
https://urldefense.proofpoint.com/v1/url?u=http://pubads.g.doubleclick.net/gampad/clk?id

Re: [WiX-users] adding event source during install

2013-07-31 Thread Tony White
From the log file it seems my custom action that sets the TARGETDIR is the 
thing throwing the error:

Action 16:03:18: SetTARGETDIR.
Action start 16:03:18: SetTARGETDIR.
MSI (c) (58:18) [16:03:18:241]: PROPERTY CHANGE: Modifying TARGETDIR property. 
Its current value is 'C:\'. Its new value: 'C:\Program Files\Ent Federal Credit 
Union\'.
MSI (c) (58:18) [16:03:18:241]: Note: 1: 1324 2: ? 3: 1
MSI (c) (58:18) [16:03:18:241]: Note: 1: 2205 2:  3: Error
MSI (c) (58:18) [16:03:18:241]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` 
FROM `Error` WHERE `Error` = 1324
Error 1324. The folder path '?' contains an invalid character.
MSI (c) (58:18) [16:03:23:420]: Note: 1: 2205 2:  3: Error
MSI (c) (58:18) [16:03:23:420]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` 
FROM `Error` WHERE `Error` = 1709
MSI (c) (58:18) [16:03:23:420]: Product: LogonTimerService -- Error 1324. The 
folder path '?' contains an invalid character.

Action ended 16:03:23: SetTARGETDIR. Return value 3.
MSI (c) (58:18) [16:03:23:422]: Doing action: FatalError


CustomAction Id=SetTARGETDIR Directory=TARGETDIR 
Value=[ProgramFiles64Folder][Manufacturer] Return=check /
InstallUISequence
Custom Action=SetTARGETDIR After=CostFinalize /
/InstallUISequence

So then the question is. Why does adding the EventSource node cause the custom 
action to fail?
I'm going to get another log with the EventSource removed and see what is 
different.

Thanks,

Tony
-Original Message-
From: John Cooper [mailto:jocoo...@jackhenry.com]
Sent: Wednesday, July 31, 2013 3:45 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] adding event source during install

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=https://urldefense.proofpoint.com/v1/url?u=http://schemas.microsoft.com/wix/UtilExtensionk=B%2B6yjDIOl%2FIBFdn7TPTJ1w%3D%3D%0Ar=YFkUslLBsKTVopesyo1A5w%3D%3D%0Am=i9T88zrG0Ae6T%2BrQJNzojxCMwh8Zn88M36g7zy93G4c%3D%0As=d4af28933ca92a0227b24ff2b3b8cfc56b3211014a888e74f31ef5f020c14fc4;

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.
https://urldefense.proofpoint.com/v1/url?u=http://pubads.g.doubleclick.net/gampad/clk?id%3D49501711%26iu%3D/4140/ostg.clktrkk=B%2B6yjDIOl%2FIBFdn7TPTJ1w%3D%3D%0Ar=YFkUslLBsKTVopesyo1A5w%3D%3D%0Am=i9T88zrG0Ae6T%2BrQJNzojxCMwh8Zn88M36g7zy93G4c%3D%0As=f2bd5c86266ab7f684db698e1f8f0767e577f26c8611423aefea801191142b53
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://urldefense.proofpoint.com/v1/url?u=https://lists.sourceforge.net/lists/listinfo/wix-usersk=B%2B6yjDIOl%2FIBFdn7TPTJ1w%3D%3D%0Ar=YFkUslLBsKTVopesyo1A5w%3D%3D%0Am=i9T88zrG0Ae6T

Re: [WiX-users] adding event source during install

2013-07-31 Thread Tony White
With the EventSource node removed:

Action 16:25:34: SetTARGETDIR.
Action start 16:25:34: SetTARGETDIR.
MSI (c) (94:34) [16:25:34:197]: PROPERTY CHANGE: Modifying TARGETDIR property. 
Its current value is 'C:\'. Its new value: 'C:\Program Files\Ent Federal Credit 
Union\'.
MSI (c) (94:34) [16:25:34:197]: PROPERTY CHANGE: Modifying INSTALLLOCATION 
property. Its current value is 'C:\LogonTimerService\'. Its new value: 
'C:\Program Files\Ent Federal Credit Union\LogonTimerService\'.
Action ended 16:25:34: SetTARGETDIR. Return value 1.

More confused now.

-Original Message-
From: Tony White
Sent: Wednesday, July 31, 2013 4:24 PM
To: General discussion for Windows Installer XML toolset.
Subject: RE: adding event source during install

From the log file it seems my custom action that sets the TARGETDIR is the 
thing throwing the error:

Action 16:03:18: SetTARGETDIR.
Action start 16:03:18: SetTARGETDIR.
MSI (c) (58:18) [16:03:18:241]: PROPERTY CHANGE: Modifying TARGETDIR property. 
Its current value is 'C:\'. Its new value: 'C:\Program Files\Ent Federal Credit 
Union\'.
MSI (c) (58:18) [16:03:18:241]: Note: 1: 1324 2: ? 3: 1 MSI (c) (58:18) 
[16:03:18:241]: Note: 1: 2205 2:  3: Error MSI (c) (58:18) [16:03:18:241]: 
Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 
1324 Error 1324. The folder path '?' contains an invalid character.
MSI (c) (58:18) [16:03:23:420]: Note: 1: 2205 2:  3: Error MSI (c) (58:18) 
[16:03:23:420]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` 
WHERE `Error` = 1709 MSI (c) (58:18) [16:03:23:420]: Product: LogonTimerService 
-- Error 1324. The folder path '?' contains an invalid character.

Action ended 16:03:23: SetTARGETDIR. Return value 3.
MSI (c) (58:18) [16:03:23:422]: Doing action: FatalError


CustomAction Id=SetTARGETDIR Directory=TARGETDIR 
Value=[ProgramFiles64Folder][Manufacturer] Return=check /
InstallUISequence
Custom Action=SetTARGETDIR After=CostFinalize /
/InstallUISequence

So then the question is. Why does adding the EventSource node cause the custom 
action to fail?
I'm going to get another log with the EventSource removed and see what is 
different.

Thanks,

Tony
-Original Message-
From: John Cooper [mailto:jocoo...@jackhenry.com]
Sent: Wednesday, July 31, 2013 3:45 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] adding event source during install

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=https://urldefense.proofpoint.com/v1/url?u=http://schemas.microsoft.com/wix/UtilExtensionk=B%2B6yjDIOl%2FIBFdn7TPTJ1w%3D%3D%0Ar=YFkUslLBsKTVopesyo1A5w%3D%3D%0Am=i9T88zrG0Ae6T%2BrQJNzojxCMwh8Zn88M36g7zy93G4c%3D%0As=d4af28933ca92a0227b24ff2b3b8cfc56b3211014a888e74f31ef5f020c14fc4;

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