Re: [WiX-users] using a custom action to read properties from a XML file

2015-02-28 Thread John Ludlow
-Original Message- >> From: Davis, Jeff [mailto:jda...@nanometrics.com] >> Sent: Friday, February 27, 2015 11:07 AM >> To: General discussion about the WiX toolset. >> Subject: Re: [WiX-users] using a custom action to read properties from a >> XML file >

Re: [WiX-users] using a custom action to read properties from a XML file

2015-02-28 Thread John Ludlow
ary 27, 2015 9:30 AM > To: General discussion about the WiX toolset. > Subject: Re: [WiX-users] using a custom action to read properties from a > XML file > > Or use Burn and a managed BA, where you can do it without a CA and pass it > as a property to the MSI. > > -Ori

Re: [WiX-users] using a custom action to read properties from a XML file

2015-02-27 Thread Davis, Jeff
ut the WiX toolset. Subject: Re: [WiX-users] using a custom action to read properties from a XML file Jeremiahf, I like your approach. I'll write the C# code to do what I want it to do and then figure out how to make it a CA. Instead of trying to write a CA to do what I want. Jeff -O

Re: [WiX-users] using a custom action to read properties from a XML file

2015-02-27 Thread Hoover, Jacob
eremi...@gmail.com] Sent: Thursday, February 26, 2015 6:49 PM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] using a custom action to read properties from a XML file I've had to do this before. My method was to create an application to read/modify an XML file. Then to

Re: [WiX-users] using a custom action to read properties from a XML file

2015-02-27 Thread Davis, Jeff
I did see this but didn't consider it since it appears to be too advanced for me. -Original Message- From: Phill Hogland [mailto:phogl...@rimage.com] Sent: Friday, February 27, 2015 4:54 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] using a custom action to

Re: [WiX-users] using a custom action to read properties from a XML file

2015-02-27 Thread Davis, Jeff
015 6:49 PM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] using a custom action to read properties from a XML file I've had to do this before. My method was to create an application to read/modify an XML file. Then took my code and turned it into a CA. Saved a lot o

Re: [WiX-users] using a custom action to read properties from a XML file

2015-02-27 Thread Nir Bar
I have a WiX extension that supports setting XML values into MSI properties. Its an open-source project: https://bitbucket.org/nirbar1/panelswwixextension To use it you should: 1. Clone the repository. 2. Update to the latest "default" branch 3. Build "PanelSwWixExtension" project in "Pa

Re: [WiX-users] using a custom action to read properties from a XML file

2015-02-27 Thread Phill Hogland
Have you seen: http://www.codeproject.com/Articles/865604/Writing-a-Wix-Extension-to-Read-XML-Files I have not used the above, but I think the idea is to use it to read the XML into a property, and then later to use the wix supplied XmlConfig to modify an XML. -- View this message in context:

Re: [WiX-users] using a custom action to read properties from a XML file

2015-02-26 Thread Jeremiahf
enexa, KS 66214 | Ext: 431050 | > jocoo...@jackhenry.com > > -Original Message- > From: Davis, Jeff [mailto:jda...@nanometrics.com] > Sent: Thursday, February 26, 2015 5:27 PM > To: General discussion about the WiX toolset. > Subject: Re: [WiX-users] using a custom action to read prope

Re: [WiX-users] using a custom action to read properties from a XML file

2015-02-26 Thread John Cooper
ary 26, 2015 5:27 PM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] using a custom action to read properties from a XML file I have custom UI dialog that has a Text control that has the variable. When the MSI runs it should populate that field with the data read from the

Re: [WiX-users] using a custom action to read properties from a XML file

2015-02-26 Thread John Ludlow
rics.com] > Sent: Thursday, February 26, 2015 4:54 PM > To: General discussion about the WiX toolset. > Subject: Re: [WiX-users] using a custom action to read properties from a > XML file > > Nothing happens. The value does not get populated in the UI. It still > shows the defa

Re: [WiX-users] using a custom action to read properties from a XML file

2015-02-26 Thread Davis, Jeff
: General discussion about the WiX toolset. Subject: Re: [WiX-users] using a custom action to read properties from a XML file Well, which sequence is the custom action running? UI or Execute? If in the execute sequence, only public secure properties (properties in all upper case with a Secure

Re: [WiX-users] using a custom action to read properties from a XML file

2015-02-26 Thread John Cooper
| Lenexa, KSĀ  66214 | Ext: 431050 |jocoo...@jackhenry.com -Original Message- From: Davis, Jeff [mailto:jda...@nanometrics.com] Sent: Thursday, February 26, 2015 4:54 PM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] using a custom action to read properties from a

Re: [WiX-users] using a custom action to read properties from a XML file

2015-02-26 Thread Davis, Jeff
pt and how properties get read and set? This was just a stab at what I thought would work. Jeff -Original Message- From: John Ludlow [mailto:john.ludlow...@gmail.com] Sent: Thursday, February 26, 2015 2:33 PM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] using a custom

Re: [WiX-users] using a custom action to read properties from a XML file

2015-02-26 Thread John Cooper
sage- From: Davis, Jeff [mailto:jda...@nanometrics.com] Sent: Thursday, February 26, 2015 4:37 PM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] using a custom action to read properties from a XML file Immediate custom action is what I am trying to do. I have no nee

Re: [WiX-users] using a custom action to read properties from a XML file

2015-02-26 Thread Davis, Jeff
ailto:jda...@nanometrics.com] Sent: Thursday, February 26, 2015 3:33 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] using a custom action to read properties from a XML file I am having a heck of time trying get my mind wrapped around the way to create and use a custom action in my C# Wix P

Re: [WiX-users] using a custom action to read properties from a XML file

2015-02-26 Thread John Ludlow
When you say "not working", what do you mean exactly? Is it just not calling your CA, not finding the file, not getting any results, or is it throwing an exception? Here are some things you can try: Check whether there any evidence in the log that the custom action has been called, and what the C

Re: [WiX-users] using a custom action to read properties from a XML file

2015-02-26 Thread John Cooper
bruary 26, 2015 3:33 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] using a custom action to read properties from a XML file I am having a heck of time trying get my mind wrapped around the way to create and use a custom action in my C# Wix Project in Visual Studio 2013. I want to be abl

[WiX-users] using a custom action to read properties from a XML file

2015-02-26 Thread Davis, Jeff
I am having a heck of time trying get my mind wrapped around the way to create and use a custom action in my C# Wix Project in Visual Studio 2013. I want to be able to open a specified XML file and return an attribute from a specified key and then use that to initialized a property in the instal