Re: [WiX-users] failed install, error is Failed to open XML file

2009-10-15 Thread Chris Jokinen
ll.Properties.Settings/setting[...@name='project'[\]]/value" Bah! Well thanks for the helpnow on to the next step! Chris -Original Message- From: Chris Jokinen [mailto:chr...@directron.us] Sent: Thursday, October 15, 2009 2:48 PM To: 'General discussion for Windo

Re: [WiX-users] failed install, error is Failed to open XML file

2009-10-15 Thread Chris Jokinen
g the XmlConfig tag inside the same component that writes the config file. One rule to make code more maintainable is to reduce the repetition of the same information over and over again. One way to do that is to reference code instead of recreating it all the time. -Original Message- Fr

Re: [WiX-users] failed install, error is Failed to open XML file

2009-10-15 Thread Chris Jokinen
e value of its attribute, depending on what you are trying to do). I'm assuming that you were asking about the perceived need to delete the value/element/attribute first (instead of file?). -Original Message- From: Chris Jokinen [mailto:chr...@directron.us] Sent: Thursday, Octo

Re: [WiX-users] failed install, error is Failed to open XML file

2009-10-15 Thread Chris Jokinen
delete the file first or can I use a create action directly? -Original Message- From: Chris Jokinen [mailto:chr...@directron.us] Sent: Wednesday, October 14, 2009 5:15 PM To: 'General discussion for Windows Installer XML toolset.' Subject: [WiX-users] failed install, error is Fail

[WiX-users] failed install, error is Failed to open XML file

2009-10-14 Thread Chris Jokinen
This extract is from my msi log file. MSI (s) (6C:D8) [16:49:36:281]: Executing op: CustomActionSchedule(Action=ExecXmlFile,ActionType=3073,Source=BinaryData,Target=ExecXmlFile,CustomActionData=1€0€\RollCall.exe.config€3€0€/configuration/applicationSettings/RollCall.Properties.Settings/setti..

Re: [WiX-users] help with error LGHT0204: ICE03:Invalid formatstring

2009-10-14 Thread Chris Jokinen
oject']/value" which would require supplying "/configuration/applicationSettings/RollCall.Properties.Settings/setting[\[] @key='project'[\]]/value". Escaping anything in Windows Installer means "[\]", NOT "\". -Original Message- From: Chris Joki

Re: [WiX-users] help with error LGHT0204: ICE03: Invalid formatstring

2009-10-14 Thread Chris Jokinen
ue "project" that is a child of "RollCall.Properties.Settings" which itself is a child of "applicationSettings" which itself is a child of the document element named "configuration". Unless my XPath parsing skills have been temporarily misguided. -Original M

[WiX-users] help with error LGHT0204: ICE03: Invalid format string

2009-10-13 Thread Chris Jokinen
error LGHT0204: ICE03: Invalid format string; Table: XmlFile, Column: ElementPath, Key(s): RollCall.exe.config.project I have tried setting the ElementPath a few different ways and I am still missing something.sorry I do not have much experience with xpath.looks simple enough.

Re: [WiX-users] silent install, command line, parameter and writting to registry or file

2009-10-13 Thread Chris Jokinen
Blair, Yes I was speaking of the installer's command line parameter. I have been reading over some blogs and examples and I want to make sure I have this correct. I can use the session to access the command line parameters and then assign those to Wix in this kind of structure .I

[WiX-users] silent install, command line, parameter and writting to registry or file

2009-10-12 Thread Chris Jokinen
Hello All, I have a small project that is a windows service, but I need to make an installer to run via the command line and pass 3 parameters that will be used to set the configuration in the registry or the apps config file. I also need to run the generated msi from the command line for silen