Okay I do have this working now, but have one more question on this...
If the element keys exists and you only have to change the values then we
can simply use the XmlFile action="setvalue" method.
If the element keys do not exist then I had to use the XmlFile
action="createElement" and a few "se
Hi Tim,
Please see (much further) below an implementation I use.
It will turn this:
Into:
And on uninstall will remove the bits it has created.
Most of the time I
It works for all of them... Read this again...
http://blogs.technet.com/b/alexshev/archive/2009/05/27/from-msi-to-wix-part-25-installable-items-updating-xml-files-using-xmlfile.aspx
Carter
Quoting TimM :
> Okay still having an issue with util:XmlConfig. If I use the following:
> Guid="{68FCE72
Okay still having an issue with util:XmlConfig. If I use the following:
Then the install will work and no errors, the .config file will look like
the following:
As you can see the ClientMode is in the wrong location, it should look like
this:
Okay do you have a small example of using XmlConfig to create and set the
value of a key, as I was also trying XmlConfig and I did not get any errors,
but it did not do anything to the .config file?
Thanks.
--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nab
[WiX-users] Which is best to use in my case: XmlFile or XmlConfig?
Well I created the Sample and it worked correctly, using exactly what was shown.
So then I simply substituted my app.config file with the sample.config file and
built and ran the test again and it failed?
So I figured that it w
Well I created the Sample and it worked correctly, using exactly what was
shown.
So then I simply substituted my app.config file with the sample.config file
and built and ran the test again and it failed?
So I figured that it was my .config file that was the issue, but then I
simply added the fo
I had this buried in my bookmarks for just such an occassion :)
Honestly, I need it for situations like yours. Look for the items
related to Create
http://blogs.technet.com/b/alexshev/archive/2009/05/27/from-msi-to-wix-part-25-installable-items-updating-xml-files-using-xmlfile.aspx
Carter
Okay I must be missing something as as I mentioned above this one did write
to the file, just did not write it correctly:
When I update this to:
Basically the same thing except for the add[\[]@key='ServiceInfo'[\]]" and
then run it I get the 'Failed to find Node:' error. So why would adding t
> Sent: Tuesday, May 13, 2014 3:47 PM
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] Which is best to use in my case: XmlFile or
> XmlConfig?
>
> Thanks John, I made that change and the build worked but when I ran
> the install to test it I get the following err
I added the Name="value" entry, but I still get the same error???
So I am still at a loss as to what I am missing or doing wrong to get this
to work
So in the error message when it states: 'Failed to find node:
//configuration/appSettings/add[@key='ServiceInfo'] in XML file"
What is it sta
www.jackhenry.com
-Original Message-
From: TimM [mailto:timmay...@smarttech.com]
Sent: Tuesday, May 13, 2014 3:47 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Which is best to use in my case: XmlFile or XmlConfig?
Thanks John, I made that change and the build worked
Thanks John, I made that change and the build worked but when I ran the
install to test it I get the following error:
Failed to find node:
//configuration/appSettings/add[@key='ServiceInfo']/@value in XML file:
C:\Program Files (x86)\CompanyName\Product\Product.exe.config, system error:
-214702058
e Mission, KS 66227
Office: 913-341-3434 x791011
jocoo...@jackhenry.com
www.jackhenry.com
-Original Message-
From: Carter Young [mailto:ecyo...@grandecom.net]
Sent: Tuesday, May 13, 2014 3:43 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Which is best to use in my case:
enry.com
-Original Message-
From: TimM [mailto:timmay...@smarttech.com]
Sent: Tuesday, May 13, 2014 3:35 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Which is best to use in my case: XmlFile or XmlConfig?
Thanks eyoung, I made the recommended changes:
But when I build the insta
I believe the File comes before the Value... Also I think the File
Location needs a backslash.
Quoting TimM :
> Thanks eyoung, I made the recommended changes:
>
> ElementPath="/configuration/appSettings/add[@key='ServiceInfo']/@value"
> Value="[LYNC_SERVER_ADDRESS]" File="[INSTALLDIR]RemoteInk
Thanks eyoung, I made the recommended changes:
But when I build the install I get the following error:
C:\Work\Projects\Lync2013SP\RemoteInk.Lync2013SP\Src\Client\Installs\Client\Product.wxs(85,0):
error LGHT0204: ICE03: Invalid format string; Table: XmlFile, Column:
ElementPath, Key(s): SetSer
Try this:
as outlined here:
http://weblogs.asp.net/lorenh/archive/2005/10/13/427398.aspx
Quoting TimM :
> Okay I tried the following:
> ElementPath="/configuration/appSettings/"
> Name="ServiceInfo" Value="[LYNC_SERVER_ADDRESS]"
>
Okay I am re-looking at the XmlConfig method as described in the following
link:
http://sourceforge.net/p/wix/mailman/message/20326106/
And when I use the example that is in that link I get the following failure
in the install:
Failed to find node:
//configuration/appSettings/add[@key='ServiceInf
Okay I tried the following:
This one did nothing at all, no errors, but did not update file. So I tried
the following:
And this one did create the entry, but not how I was expecting it to be
created. Above is what I wanted/needed, but what was created with this line
is as follows:
...
Okay newbie question here concerning the updating of a .config file during
install, using WiX 3.7.
I was given the task to update a new .config file during our install and I
found the documentation for XmlConfig Element (Util Extension):
http://wixtoolset.org/documentation/manual/v3/xsd/util/xmlco
21 matches
Mail list logo