[WiX-users] XmlConfig insertion location

2014-11-16 Thread Grant Shirreffs
Is there a way to **insert** a new XML element at a particular location using XmlConfig, rather than just adding it? I am using XmlConfig to register a new IIS handler in applicationHost.config. Unfortunately, my code ends up adding the new entry at the end of the handler list, and so the new

Re: [WiX-users] XMLConfig updates only from command line

2014-09-19 Thread Jeremiahf
31 172 65 02 65 www.stabiplan.nl www.stabiplan.nl/disclaimer > -Original Message- > From: Jeremiahf [mailto:jeremi...@gmail.com] > Sent: woensdag 17 september 2014 23:14 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] XMLConfig updates

Re: [WiX-users] XMLConfig updates only from command line

2014-09-17 Thread Stabiplan Development
neral discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] XMLConfig updates only from command line Also the command line parameters do update the config file. Just wanted to be clear that the XML config file should only be written to when a command line parameter is used.

Re: [WiX-users] XMLConfig updates only from command line

2014-09-17 Thread Jeremiahf
Also the command line parameters do update the config file. Just wanted to be clear that the XML config file should only be written to when a command line parameter is used. Thanks again for any assistance. J On Wed, Sep 17, 2014 at 2:17 PM, Jeremiahf wrote: > Hello, > > I have an installer th

[WiX-users] XMLConfig updates only from command line

2014-09-17 Thread Jeremiahf
Hello, I have an installer that writes "default" property values to an XML config file every time the installer runs . I have a new requirement that does not allow me to "hardcode/set" those default property values within the installer but just install the config file and only update the config fi

[WiX-users] XmlConfig issue with Repair

2014-09-15 Thread Adam Kadzban
Hi guys, I have an installer that's taking a password as input, and with that password creating an encrypted connection string. I'm using XmlConfig elements to dynamically insert the encrypted string into the application's config file. Install is working fine but Repair is creating an encrypted co

Re: [WiX-users] XmlConfig issue

2013-03-18 Thread Rob Mensching
I think that error 0x8007006e means the file could not be opened. My first guess would be that either it's missing or it is not XML. On Mon, Mar 18, 2013 at 9:29 AM, Sean Farrow wrote: > Hi all, > > I’m just refactoring and upgrading an installer from v2 to v3.8 of Wix. > We are using an XmlCon

[WiX-users] XmlConfig issue

2013-03-18 Thread Sean Farrow
Hi all, I’m just refactoring and upgrading an installer from v2 to v3.8 of Wix. We are using an XmlConfig from the util extension to modify a config file that is being installed with a .net application. The file is being installed—looking at the directory as the product is being installed, but I

Re: [WiX-users] XmlConfig in multiple MergeModules

2011-06-15 Thread Stelios Kyprou
> To: General discussion for Windows Installer XML toolset. > Subject: [WiX-users] XmlConfig in multiple MergeModules > > Hello, > I was wondering if it is possible to use XmlConfig in multiple merge modules, > that will later be used in a single installer

[WiX-users] XmlConfig in multiple MergeModules

2011-06-15 Thread Stelios Kyprou
Hello, I was wondering if it is possible to use XmlConfig in multiple merge modules, that will later be used in a single installer. For example, I have MergeModule1, which has: MergeModule2 has the following Component: This doesn't seem to

Re: [WiX-users] XmlConfig action not running on patch rollback?

2011-01-25 Thread Blair
From: David Rickard (USA) [mailto:davri...@microsoft.com] Sent: Wednesday, January 19, 2011 10:10 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] XmlConfig action not running on patch rollback? Yeah, I guess patch uninstall is what I mean. Is the data problem yo

Re: [WiX-users] XmlConfig action not running on patch rollback?

2011-01-19 Thread David Rickard (USA)
PM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] XmlConfig action not running on patch rollback? Do we need to add another "entry" for XmlConfig that is set @PatchUninstall="yes"? Except that only works for MSI 4.5 and above, an

Re: [WiX-users] XmlConfig action not running on patch rollback?

2011-01-18 Thread Blair
the actions your patch created). -Blair -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Monday, January 17, 2011 4:51 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] XmlConfig action not running on patch rollback? It sounds lik

Re: [WiX-users] XmlConfig action not running on patch rollback?

2011-01-17 Thread Rob Mensching
ust tried with WIX 3.6.1314. Same behavior. > > -Original Message- > From: David Rickard (USA) [mailto:davri...@microsoft.com] > Sent: Monday, January 17, 2011 11:35 AM > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] XmlConfig action not running on patch rollback?

Re: [WiX-users] XmlConfig action not running on patch rollback?

2011-01-17 Thread David Rickard (USA)
Just tried with WIX 3.6.1314. Same behavior. -Original Message- From: David Rickard (USA) [mailto:davri...@microsoft.com] Sent: Monday, January 17, 2011 11:35 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] XmlConfig action not running on patch rollback? I've go

[WiX-users] XmlConfig action not running on patch rollback?

2011-01-17 Thread David Rickard (USA)
I've got the following component: I want to add an attribute on install of the component and remove it on uninstall. Now this works just fine when the component is part of a full install and uninstall, but does not work as part of a patch. When I apply the patc

Re: [WiX-users] XmlConfig not referencing other XmlConfig elements

2010-09-23 Thread pcristini
I just tried doing the same thing with xmlfile (what is the difference between the two?) as below: with a config file that started out like this: and resulted in this (notice the extra empty elements):

Re: [WiX-users] XmlConfig not referencing other XmlConfig elements

2010-09-23 Thread pcristini
sorry, resending without html encoding I just tried doing the same thing with xmlfile (what is the difference between the two?) as below: with a config file that started out like this: and resulted in this (notice the extra empty elements):

Re: [WiX-users] XmlConfig not referencing other XmlConfig elements

2010-09-23 Thread pcristini
I just tried doing the same thing with xmlfile (what is the difference between the two?) as below: with a config file that started out like this: and resulted in this (notice the extra empty elements):

Re: [WiX-users] XmlConfig not referencing other XmlConfig elements

2010-09-23 Thread pcristini
I've updated my code to take out the "." from anything that is a path. Here's what I'm using now... This is what the log file is dumping as the command: MSI (s) (94!E8) [09:02:00:710]: PROPERTY CHANGE: Adding ExecXmlConfig property. Its value is '1€C:\Program Files (x86)\Pareto Systems\

Re: [WiX-users] XmlConfig not referencing other XmlConfig elements

2010-09-23 Thread Pally Sandher
tions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -Original Message- From: pcristini [mailto:pcrist...@paretoplatform.com] Sent: 22 September 2010 22:23 To: wix-users@lists.sourceforge.net Subjec

[WiX-users] XmlConfig not referencing other XmlConfig elements

2010-09-22 Thread pcristini
I'm trying to produce this output in my config file: smarmyarmy This is the code I'm attempting to use:

Re: [WiX-users] XMLConfig question

2010-08-27 Thread Chad Petersen
st 27, 2010 3:28 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] XMLConfig question Hi, I've not tried this but, it looks like your ElementPath is referring to the context-param element you will probably need to add Param-value to the end to select that node

Re: [WiX-users] XMLConfig question

2010-08-27 Thread David Watson
: Chad Petersen [mailto:chad.peter...@harlandfs.com] Sent: 26 August 2010 22:27 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] XMLConfig question I've made some headway, but not quite there yet. The closest I've gotten so far is this code Which re

Re: [WiX-users] XMLConfig question

2010-08-26 Thread Chad Petersen
en_US DEFAULT_TIMEZONE Pacific -Original Message- From: Chad Petersen [mailto:chad.peter...@harlandfs.com] Sent: Thursday, August 26, 2010 11:26 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] XMLConfig question I h

[WiX-users] XMLConfig question

2010-08-26 Thread Chad Petersen
I have an XML file that looks like this. The goal is to alter the en_US to some other value. DEFAULT_LOCALE en_US DEFAULT_TIMEZONE Pacific I've written a very small installer with this entry T

[WiX-users] XmlConfig of WIX cannot handle multiple nodes

2010-08-02 Thread Roy Song
Hi, I am new to WIX, and I need to add following in machine.config. However, when I use XmlConfig to add them into machine.config, I got below result.

Re: [WiX-users] XmlConfig results in ICE27 failure

2010-04-22 Thread Pally Sandher
: Erich Nurr [mailto:erich.n...@gmx.de] Sent: 22 April 2010 11:39 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] XmlConfig results in ICE27 failure Hi! i am trying to modify a maybe existing web.config file in the IIS root directory (default = c:\inetpub\wwwroot) but if i try thi

Re: [WiX-users] XmlConfig results in ICE27 failure

2010-04-22 Thread Erich Nurr
Hi! i am trying to modify a maybe existing web.config file in the IIS root directory (default = c:\inetpub\wwwroot) but if i try this code below, a error occurs: "The system cannot find the file 'SourceDir\PFiles\web.config' " Why the hell is it using the parent directories? i thought the paramete

Re: [WiX-users] XmlConfig results in ICE27 failure

2010-04-06 Thread Jacques Eloff
Almost. I added a non-empty file element. But, I believe this was fixed in Wix 3.5.1602 so that you don't need to add a dummy element. Jacques On Mon, Apr 5, 2010 at 12:33 PM, doglin82 wrote: > > so you are saying > > you did the following > > > Directory="INSTALLLOCATION"> > > > -

Re: [WiX-users] XmlConfig results in ICE27 failure

2010-04-05 Thread doglin82
so you are saying you did the following ---> YOU added this like that? and it worked? I am running in to the exact same issue and nothing yet is working... -- View this message in context: http://n2.nabble.com/XmlConfig-results-in-ICE27-failure-tp4760300p4855052.html Sent

Re: [WiX-users] XmlConfig results in ICE27 failure

2010-04-05 Thread doglin82
so you are saying you did the following ---> YOU added this like that? and it worked? I am running in to the exact same issue and nothing yet is working... -- View this message in context: http://n2.nabble.com/XmlConfig-results-in-ICE27-failure-tp4760300p4855049.html Sent

Re: [WiX-users] XmlConfig results in ICE27 failure

2010-03-18 Thread Jacques Eloff
Filed as 2972975. Thanks, Jacques On Thu, Mar 18, 2010 at 6:20 PM, Bob Arnson wrote: > On 3/18/2010 8:28 PM, Jacques Eloff wrote: > > When I tried to build the project, I received the following error: > > Error 2 ICE27: Action: 'DuplicateFiles' in InstallExecuteSequence table > must > > come af

Re: [WiX-users] XmlConfig results in ICE27 failure

2010-03-18 Thread Bob Arnson
On 3/18/2010 8:28 PM, Jacques Eloff wrote: > When I tried to build the project, I received the following error: > Error 2 ICE27: Action: 'DuplicateFiles' in InstallExecuteSequence table must > come after the 'InstallFiles' action. > > If I add a bogus element in the component everything compiles a

[WiX-users] XmlConfig results in ICE27 failure

2010-03-18 Thread Jacques Eloff
Hi I'm using Wix v3.5.1512.0. I've been playing with XmlConfig to modify the root web.config file, but ran into a strange issue today. I originally had the following in a component: When I tried to build the project, I received the following error: Error 2

[WiX-users] XmlConfig and Insert

2010-03-08 Thread John Nannenga
Anyone have any idea as to how to go about specifying the position within an XML document to insert a node, relative to some other node? SharePoint has a 'wss_minimaltrust.config' file which contains a firstmatchcodegroup construct (reference http://msdn.microsoft.com/en-us/library/system.secu

Re: [WiX-users] XmlConfig to write raw xml

2009-08-22 Thread Alex Ivanoff
Anyone? Is it possible>? -Original Message- From: Alex Ivanoff [mailto:alex.ivan...@shavlik.com] Sent: Thursday, August 20, 2009 10:33 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] XmlConfig to write raw xml Is it possible to use XmlConfig to write

[WiX-users] XmlConfig to write raw xml

2009-08-20 Thread Alex Ivanoff
Is it possible to use XmlConfig to write raw xml as an element inner xml? For instance, in Can I write ? How will look like? -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Si

Re: [WiX-users] XmlConfig questions

2009-01-16 Thread Rob Mensching
discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] XmlConfig questions Peter Oehlert wrote: > I was wondering about that given the name. I'm not seeing an execxmlconfig > in the logfile with the /l*v option. Why might the schedule run but not the > exec? >

Re: [WiX-users] XmlConfig questions

2009-01-16 Thread Peter Oehlert
ndows Installer XML toolset. Subject: Re: [WiX-users] XmlConfig questions Peter Oehlert wrote: > I was wondering about that given the name. I'm not seeing an execxmlconfig > in the logfile with the /l*v option. Why might the schedule run but not the > exec? > It won't call

Re: [WiX-users] XmlConfig questions

2009-01-16 Thread Bob Arnson
Peter Oehlert wrote: > I was wondering about that given the name. I'm not seeing an execxmlconfig > in the logfile with the /l*v option. Why might the schedule run but not the > exec? > It won't call ExecXmlConfig if there was nothing to do, or if the component tied to the XmlConfig isn't bein

Re: [WiX-users] XmlConfig questions

2009-01-15 Thread Peter Oehlert
neral discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] XmlConfig questions Peter Oehlert wrote: > 1. So any idea why the code sample does not modify the xml file in the > correct sequence? SchedXmlConfig is called during script-generation but ExecXmlConfig, which actually m

Re: [WiX-users] XmlConfig questions

2009-01-15 Thread Bob Arnson
Peter Oehlert wrote: > 1. So any idea why the code sample does not modify the xml file in the > correct sequence? SchedXmlConfig is called during script-generation but ExecXmlConfig, which actually modifies the files, is called during script execution, after files are installed. -- sig://boB h

Re: [WiX-users] XmlConfig questions

2009-01-15 Thread Peter Oehlert
toolset. Subject: Re: [WiX-users] XmlConfig questions 1. The default sequencing of XmlConfig should modify the file after it is installed. 2. If you make your XmlConfig/@VerifyPath to reach deeper then it will not configure things that already exist. That should get you what you want. I've don

Re: [WiX-users] XmlConfig questions

2009-01-15 Thread Rob Mensching
very specific VerifyPaths. -Original Message- From: Peter Oehlert [mailto:poehl...@securityinnovation.com] Sent: Thursday, January 15, 2009 12:57 To: 'General discussion for Windows Installer XML toolset.' Subject: [WiX-users] XmlConfig questions At a high level I have 2 quest

[WiX-users] XmlConfig questions

2009-01-15 Thread Peter Oehlert
At a high level I have 2 questions: 1. How do you get XmlConfig to run *after* the config file is installed? 2. To change an existing element without a unique id, do I have to delete it and recreate it? So, I'm dealing with an XML config file that should look like this:

Re: [WiX-users] XmlConfig (again)

2008-12-05 Thread Rob Mensching
PROTECTED] Sent: Friday, December 05, 2008 05:32 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] XmlConfig (again) Is [!FileId] the same as [#FileId] ? -Original Message- From: Rob Mensching [mailto:[EMAIL PROTECTED] Sent: Friday, December

Re: [WiX-users] XmlConfig (again)

2008-12-05 Thread Eitan Behar
Is [!FileId] the same as [#FileId] ? -Original Message- From: Rob Mensching [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2008 3:19 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] XmlConfig (again) Does "C:\temp\settings.xml" actu

Re: [WiX-users] XmlConfig (again)

2008-12-05 Thread Rob Mensching
ecember 05, 2008 04:39 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] XmlConfig (again) Hi! I'm not so good at interpreting msi log but i think the component CustomAction.ModifyPacketXml is installed verbose log: MSI (s) (14:50) [08:22:52:762]: Doing action: InstallValidate

Re: [WiX-users] XmlConfig (again)

2008-12-05 Thread md5hans
Hi! I'm not so good at interpreting msi log but i think the component CustomAction.ModifyPacketXml is installed verbose log: MSI (s) (14:50) [08:22:52:762]: Doing action: InstallValidate MSI (s) (14:50) [08:22:52:762]: Note: 1: 2205 2: 3: ActionText Action start 08:22:52: InstallValidate. MSI

Re: [WiX-users] XmlConfig (again)

2008-12-05 Thread Rob Mensching
Look in a verbose log file and check that your Component is actually being installed. -Original Message- From: md5hans [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2008 00:35 To: wix-users@lists.sourceforge.net Subject: [WiX-users] XmlConfig (again) Sorry about reposting this

[WiX-users] XmlConfig (again)

2008-12-05 Thread md5hans
Sorry about reposting this question so soon but this is quite importent form me so I'll make a new try -- Hi! I'm trying to use XmlConig to modify an existing file on the computer. Below is a testcon

[WiX-users] XmlConfig

2008-12-01 Thread md5hans
Hi! I'm trying to use XmlConig to modify an existing file on the computer. Below is a testconfiguration that I have started with to see if I can make XmlConfig to do want I want it to do. When I run the installtion no errors are reported, the dummy.xml is installed but the c:\temp\settings.xml i

Re: [WiX-users] XmlConfig and special Xpath syntax

2008-11-11 Thread Rob Mensching
Documentation might be wrong... have to look at the XmlConfig code to be sure. -Original Message- From: Davidovitz, Ran [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2008 07:06 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] XmlConfig and special

Re: [WiX-users] XmlConfig and special Xpath syntax

2008-11-11 Thread Davidovitz, Ran
: [WiX-users] XmlConfig and special Xpath syntax I think XmlConfig is using XslPattern (or whatever the MSXML implementation was before XPath existed). I'm not sure that has the same functions as XPath. -Original Message- From: Davidovitz, Ran [mailto:[EMAIL PROTECTED] Sent: Monday, Nov

Re: [WiX-users] XmlConfig and special Xpath syntax

2008-11-10 Thread Rob Mensching
n for Windows Installer XML toolset. Subject: [WiX-users] XmlConfig and special Xpath syntax Hi, I have created a XmlConfig element that suppose to find a node that has specific text in it. I have used the following xpath syntax "/project/tasks/exec/buildArgs[\[]contains(text(), 'ECO&

[WiX-users] XmlConfig and special Xpath syntax

2008-11-10 Thread Davidovitz, Ran
Hi, I have created a XmlConfig element that suppose to find a node that has specific text in it. I have used the following xpath syntax "/project/tasks/exec/buildArgs[\[]contains(text(), 'ECO')[\]]" And when installing it tell me that it cannot find the node although the syntax is correct (with

Re: [WiX-users] XmlConfig vs XmlFile

2008-10-22 Thread Chad Petersen
ussion for Windows Installer XML toolset. Subject: [WiX-users] XmlConfig vs XmlFile I am a little bit confused by existence of both XmlFile and XmlConfig. Is there any docs/posts/etc on where to use which? - This SF.Ne

Re: [WiX-users] XmlConfig vs XmlFile

2008-10-22 Thread Rob Mensching
- From: Alex Ivanoff [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 22, 2008 08:59 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] XmlConfig vs XmlFile I am a little bit confused by existence of both XmlFile and XmlConfig. Is there any docs/posts/etc on where to

[WiX-users] XmlConfig vs XmlFile

2008-10-22 Thread Alex Ivanoff
I am a little bit confused by existence of both XmlFile and XmlConfig. Is there any docs/posts/etc on where to use which? - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux

[WiX-users] XMLConfig: Solved adding to value

2008-10-21 Thread Joel Paula (hotmail)
I had a problem this morning with XMLConfig. Somebody also had a similar problem. Here is the code to add a value to an element (not an attribute): Hope it helps someone. Joel - This SF.Net email is sponsored

Re: [WiX-users] XmlConfig: why can't I set a text value using ElementId?

2008-10-21 Thread Brian Rogers
y, October 21, 2008 1:33 AM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] XmlConfig: why can't I set a text value using ElementId? Hi Brian, Which version are you using? I remember that once upon a time, ElementPath required a XmlConfig I

Re: [WiX-users] XmlConfig: why can't I set a text value using ElementId?

2008-10-21 Thread Eitan Behar
21, 2008 9:18 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] XmlConfig: why can't I set a text value using ElementId? I'm running into some problems with XmlConfig. I've found that the following does not work: However, this does work: I

[WiX-users] XmlConfig: why can't I set a text value using ElementId?

2008-10-21 Thread Brian Rogers
I'm running into some problems with XmlConfig. I've found that the following does not work: However, this does work: I would like for the first syntax to work, just as it does with attributes. Is this a known limitation or can it be fixed? ## $_='^#(

Re: [WiX-users] XmlConfig to delete multiple nodes...

2008-10-15 Thread Rob Mensching
Doubt it. I *think* XmlConfig uses selectSingleNode... but you could try it and be sure. -Original Message- From: Amy Rosewater [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 15, 2008 13:08 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] XmlConfig to

[WiX-users] XmlConfig to delete multiple nodes...

2008-10-15 Thread Amy Rosewater
Hi All, Does anyone know, if you use a function like contains() in your xpath query for VerifyPath when deleting with XmlConfig, and multiple nodes match the statement, will it delete them all? Amy Amy Rosewater SPECTRUM Human Resource Systems Corporation 707 17th Street Suite 3800 D

[WiX-users] xmlConfig and hex ascii values

2008-10-13 Thread Pierson Lee (PIE)
I was attempting to insert #0xA; into my web configs to specify a carriage return for some lines of text I'm adding into the config, but it seems like during the process, those characters are getting stripped. Anyone have any idea how to do this? Thanks :) --

[WiX-users] xmlconfig error

2008-10-07 Thread Amy Rosewater
Hi All, I am using wix v3.0.4513. I have an install in which I would like to add nodes to config files. I have the following xml in my install which always results in the same error: Error 25542. Failed to find node: CreateVirtualDirectoryApplicationNode in XML file: c:\Windows\system32\i

Re: [WiX-users] XmlConfig issue with SSRS/Win2008 64bit

2008-09-21 Thread si
Please ignore, looks like it was something funky with the user running the installer. When I tried as the Administrator user of the box, the 64bit installer worked, when I tried with another user who had administrator rights, it failed, so definitely not MSI/WiX. Sorry for the noise. ---

[WiX-users] XmlConfig issue with SSRS/Win2008 64bit

2008-09-21 Thread si
Greetings, We have an installer which is modifying an SQL Server Reporting Services (SSRS) configuration file using XmlConfig in UtilExtension. On a 32bit O/S install it's working fine (Win2008/2003/Vista/XP), but on a 64bit O/S (Win2008) with SSRS 64bit install it's failing: MSI (s) (B8:B8) [01

Re: [WiX-users] XmlConfig XPath problem

2008-08-13 Thread cemiles
gFile]" > Sequence="1" /> > > > > > From: [EMAIL PROTECTED] on behalf of Simon Dahlbacka > Sent: Tue 8/12/2008 11:20 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] XmlConfig

Re: [WiX-users] XmlConfig XPath problem

2008-08-13 Thread cemiles
/Default" > > VerifyPath="/configuration/myComponent/[EMAIL > PROTECTED]'DatabaseSettings'[\]]/Default" > Name="server" > Value="[CORRECTDATABASESERVER]" > File="[#MyXmlConfigFile]" > Sequence=&quo

Re: [WiX-users] XmlConfig XPath problem

2008-08-12 Thread Evans, Jim
Dahlbacka Sent: Tue 8/12/2008 11:20 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] XmlConfig XPath problem In the sample xml provided, @name has the value DatabaseSettings while in your xpath you check for DatabaseConnections. Not sure about the missing separa

Re: [WiX-users] XmlConfig XPath problem

2008-08-12 Thread Simon Dahlbacka
In the sample xml provided, @name has the value DatabaseSettings while in your xpath you check for DatabaseConnections. Not sure about the missing separator though.. /Simon On Tue, Aug 12, 2008 at 5:35 PM, Evans, Jim <[EMAIL PROTECTED]>wrote: > I'm having a problem writing a value to an XML file

[WiX-users] XmlConfig XPath problem

2008-08-12 Thread Evans, Jim
I'm having a problem writing a value to an XML file using XmlConfig (WiX 3.0.4401). Here is a model XML file with the structure I have: ... I need to set the server attribute of the Default element. Here is my WiX code for XmlConfig: When I try to

Re: [WiX-users] XmlConfig formatting

2008-08-10 Thread Brian Rogers
Hey Joe, I looked at this a bit and I don't see a way off the top of my head to do it without some custom coding. If you are building the WIX project you could look at the dutil directory. I would add an additional method for yourself that would call a formatter IMXWriter

[WiX-users] XmlConfig formatting

2008-08-05 Thread Joe Pub
Hi All, Is there a way from the XmlConfig action to format the XML to put line breaks after the beginning of XML nodes. I know this sounds ridiculous but I have a problem with my app.config file which is a bug in .NET. I am updating the dynamic URL for a few web services I have in app.config usi

Re: [WiX-users] XmlConfig question

2008-06-24 Thread Alexander Shevchuk
: Monday, June 23, 2008 7:56 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] XmlConfig question Hi Alex, Sorry to intrude with a different basic question. In the below example you put this File="[#AppConfig]" how did you define that property? It should be destination path righ

Re: [WiX-users] XmlConfig question

2008-06-23 Thread wixuser1105
Hi Alex, Sorry to intrude with a different basic question. In the below example you put this File="[#AppConfig]" how did you define that property? It should be destination path right? I would like to know the syntax since there will be a heirarchy of directories. and how do I concatenate the path

Re: [WiX-users] XmlConfig question

2008-06-23 Thread Alexander Shevchuk
: General discussion for Windows Installer XML toolset. Subject: [WiX-users] XmlConfig question I have a question about the XmlConfig custom action. My application is a .NET application, and is deployed with an application.exe.config file. Based on properties gathered during the installation, I want to

[WiX-users] XmlConfig question

2008-06-23 Thread Evans, Jim
I have a question about the XmlConfig custom action. My application is a .NET application, and is deployed with an application.exe.config file. Based on properties gathered during the installation, I want to update the values in the config file. Here's the relevant portion of my config file.

Re: [WiX-users] XmlConfig setting I should use to replace just the address attribute value in the following parts of an app.config using a public property defined value?

2008-05-17 Thread Robert O'Brien
Got this working using the utils:XmlFile excerpt shown below. Here are a couple of related questions now that the basic functionality is working. q1 - is there any way to define that the util:XmlFile processing only occurs if a property value equals a given string, e.g. ENVIRONMENTID=Productio

[WiX-users] XmlConfig setting I should use to replace just the address attribute value in the following parts of an app.config using a public property defined value?

2008-05-16 Thread Robert O'Brien
Any tips on the XmlConfig setting I should use to replace just the address attribute value in the following parts of an app.config using a public property defined value? I'm thinking something like the following based on the samples provided for using XmlConfig but am concernted that I'm trying

[WiX-users] XmlConfig problem with repeating nodes

2008-03-20 Thread quinton quammie
hi, I’m using Wix 2.0.5805 and having problems using XMlConfig to add the below entries in an XML file (end up with only the last number being written), is this possible using WIX, and does anyone have any example code? thanks in advance. 1.2 1.3 code i'm currently using is be

[WiX-users] XmlConfig bug?

2008-03-02 Thread Tom.Chmielenski
I am using XmlConfig to add a number of lines to an existing xml file, here is an example of one line: It installs and uninstalls properly, but when I run a repair on this installer, it rewrites all entries into the file, rather than just the missing ones? Is this the intended behavior, a

[WiX-users] XMLConfig - delete an element - BUG

2007-12-04 Thread Chris
Since nobody answered my question I believe this is a bug, right? Chris wrote: > Hello, > I want to delete the last config-element of this xml-file with XMLConfig: > > > > > > > > > > I tried it with the following xml-statement but it deletes all > config-elements: > >

Re: [WiX-users] XmlConfig delete action

2007-12-03 Thread Bob Arnson
Anand Kadiyala wrote: The wix version I am using is 2.0.4820.0. Using the above it does not delete the element. However if I use wix version 2.0.5805.0, it is correctly deleting the node. So, I am not sure whether this is not supported in 2.0.4820.0 or whether there is an issue with my wxs f

[WiX-users] XmlConfig delete action

2007-12-03 Thread Anand Kadiyala
Hi, I am trying to delete an element from an XML config file using the following XmlConfig action. The wix version I am using is 2.0.4820.0. Using the above it does not delete the element. However if I use wix version 2.0.5805.0, it is correctly deleting the no

[WiX-users] XMLConfig - delete an element

2007-12-03 Thread Chris
Hello, I want to delete the last config-element of this xml-file with XMLConfig: I tried it with the following xml-statement but it deletes all config-elements: Thanx Chris - SF.Net email is sponsor

Re: [WiX-users] XmlConfig referencing property from merge module

2007-11-25 Thread si
Problem solved. All it took was adding [INSTALLDIR] to my module.wxs, e.g. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users

Re: [WiX-users] XmlConfig referencing property from merge module

2007-11-25 Thread si
Thanks for the reply Kelly, > 0x8007006E = -2147024786 = "The system cannot open the file or device > specified." (from WinXP SP2) > > My guess is that it's a path issue. Perhaps there's some way you can figure > out what your working path is at that point? I think it's probably the path > to th

Re: [WiX-users] XmlConfig referencing property from merge module

2007-11-25 Thread Kelly Leahy
but I'm not sure. Kelly si <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 11/25/2007 08:13 PM To wix-users@lists.sourceforge.net cc Subject [WiX-users] XmlConfig referencing property from merge module Greetings, We have a framework implemented as a merge module that will be

[WiX-users] XmlConfig referencing property from merge module

2007-11-25 Thread si
Greetings, We have a framework implemented as a merge module that will be used in multiple products. We would like the merge module to perform framework configuration of our .NET assemblies using XmlConfig. The issue I have run into, and am looking for guidance on, is that our configuration file

[WiX-users] XmlConfig wix version 2.0.5325.0

2007-10-30 Thread Overlever
If I add the XmlConfig in my wxs my 2 customactions no longer work because the customaction.Installstate can not be found. When I remove the XmlConfig element everything is fine. I need to delete and otherwise manipulate the web config and XmlFile is not enough. Here is the element: An

Re: [WiX-users] XmlConfig - Unable to make it work

2007-10-09 Thread gaisen
I ran into a similar issue and was able to resolve it by updating builds. More info at: http://blogs.msdn.com/gisenberg/archive/2007/10/09/wix-v3-and-xmlconfig-xmlfile-troubleshooting.aspx Laxmi Narsimha Rao Oruganti (SQL CE) wrote: > > Hey WIX Users, > > We are using WIXv3 3.0.2921.0 Build.

Re: [WiX-users] XmlConfig and XmlFile...

2007-10-09 Thread Ravikumar Gopinath
I am trying to use XmlConfig to delete an element from a xml file which was installed as part of same package. but that isn't working. If I try to modify an attribute using XmlFile for same ElementPath, it works fine. Am I missing something here? my code: Am I missing anything here? Tha

[WiX-users] XmlConfig and XmlFile...

2007-10-08 Thread Ravikumar Gopinath
What is the difference between XmlConfig and XmlFile elements? Is XmlConfig used to add/modify/delete both elements and attributes from xml files and XmlFile used to add/modify/delete attributes only from xml files? I need to install a xml file and then delete some of its elements based on som

[WiX-users] XmlConfig - Unable to make it work

2007-09-27 Thread Laxmi Narsimha Rao Oruganti (SQL CE)
Hey WIX Users, We are using WIXv3 3.0.2921.0 Build. I am trying to use XmlConfig custom action from WIXUTILEXTENSION. I have been able to compile, but so far I don't see this custom action really doing any thing. My code looks like the following:

[WiX-users] XmlConfig problems during upgrade

2007-08-13 Thread Scott, James (TSG R&D - Fort Collins)
I'm attempting to figure out how to make XmlConfig behave properly on an upgrade. It works beautifully on install and uninstall, but not so well when I try to do an upgrade. This is with WiX 3.0.2813.0 Here's a component:

Re: [WiX-users] XmlConfig and uninstall

2007-04-18 Thread Andre Strik
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andre Strik Sent: Thursday, 19 April 2007 5:12 p.m. To: wix-users@lists.sourceforge.net Subject: [WiX-users] XmlConfig and uninstall Hi all, Has anyone successfully used util:XmlConfig to modify an XML file on uninstall? Adding nodes

  1   2   >