Re: [WiX-users] What does '&' and '!' inside CDATA[] do?

2014-05-13 Thread George Fleming
Yes, AAA is a feature, and Custom Action is executed in deferred stage. I have problems when I patch on top of another patched version; but it's ok if I patch on a un-patched version. -Original Message- From: Pavan Konduru [mailto:pavan.kond...@accelrys.com] Sent: Tuesday, May 13, 2014

Re: [WiX-users] What does '&' and '!' inside CDATA[] do?

2014-05-13 Thread John Ludlow
Pay attention to when these actions are sequenced. In particular, as the linked article mentions, any action that relies on these conditions should be sequenced after CostFinalize. On 13 May 2014 23:03, wrote: > Dit mailadres is niet meer in gebruik. Mail kan je voortaan sturen naar > basti...@

Re: [WiX-users] Which is best to use in my case: XmlFile or XmlConfig?

2014-05-13 Thread John Cooper
Yes. XmlFile is create for setting things that already exist. If you need more than that, I tend to choose XmlConfig. Note that I usually write the XPath to the element, and then write to the attribute as specified in "Name." -- John Merryweather Cooper Build & Install Engineer - ESA Jack Henr

Re: [WiX-users] What does '&' and '!' inside CDATA[] do?

2014-05-13 Thread b . rasing
Dit mailadres is niet meer in gebruik. Mail kan je voortaan sturen naar basti...@careercontrol.nl. -- "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+

Re: [WiX-users] What does '&' and '!' inside CDATA[] do?

2014-05-13 Thread Rohit Sharma
http://msdn.microsoft.com/en-us/library/aa368012(v=vs.85).aspx See: Feature and Component State Values -Original Message- From: Pavan Konduru [mailto:pavan.kond...@accelrys.com] Sent: Tuesday, May 13, 2014 2:35 PM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] What

Re: [WiX-users] Which is best to use in my case: XmlFile or XmlConfig?

2014-05-13 Thread TimM
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

Re: [WiX-users] What does '&' and '!' inside CDATA[] do?

2014-05-13 Thread Pavan Konduru
This should be useful: http://wix.tramontana.co.hu/tutorial/com-expression-syntax-miscellanea/expression-syntax -Original Message- From: Pavan Konduru [mailto:pavan.kond...@accelrys.com] Sent: Tuesday, May 13, 2014 2:57 PM To: General discussion about the WiX toolset. Subject: Re: [WiX

Re: [WiX-users] What does '&' and '!' inside CDATA[] do?

2014-05-13 Thread Pavan Konduru
I have never used "!" for "not equals" clause, typically one would use "AAA <> 3". If AAA is a feature, !AAA=3 would means run the custom action if the feature AAA is installed. -Original Message- From: Carter Young [mailto:ecyo...@grandecom.net] Sent: Tuesday, May 13, 2014 2:49 PM To:

Re: [WiX-users] What does '&' and '!' inside CDATA[] do?

2014-05-13 Thread Carter Young
As Pavan points out...(See my oops post) If AAA is not a feature then !AAA = 3 means AAA cannot equal 3. Carter Quoting Pavan Konduru : > Is AAA a feature? > > -Original Message- > From: George Fleming [mailto:gef...@microsoft.com] > Sent: Tuesday, May 13, 2014 2:33 PM > To: General di

Re: [WiX-users] Which is best to use in my case: XmlFile or XmlConfig?

2014-05-13 Thread Carter Young
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

Re: [WiX-users] What does '&' and '!' inside CDATA[] do?

2014-05-13 Thread Pavan Konduru
Is AAA a feature? -Original Message- From: George Fleming [mailto:gef...@microsoft.com] Sent: Tuesday, May 13, 2014 2:33 PM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] What does '&' and '!' inside CDATA[] do? Thanks for the link. I'm trying to debug a situati

Re: [WiX-users] What does '&' and '!' inside CDATA[] do?

2014-05-13 Thread George Fleming
Thanks for the link. I'm trying to debug a situation where the Custom Action is not executing as expected. In the example below, where !AAA=3 should be true, but it appears not to be. How do I debug in this case? How do I determine the current state of AAA? Thanks, George -Original M

Re: [WiX-users] Which is best to use in my case: XmlFile or XmlConfig?

2014-05-13 Thread TimM
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

Re: [WiX-users] Which is best to use in my case: XmlFile or XmlConfig?

2014-05-13 Thread Carter Young
From the Example I gave Earlier: Which outputs: --sample.config-- As John alluded to, keeping track of strings is easier if you give the file sample.config an ID and refer to the Id. > -Original Message- > From: TimM [mailto:timmay...@smarttech.com] > Sent: Tuesday

Re: [WiX-users] Which is best to use in my case: XmlFile or XmlConfig?

2014-05-13 Thread TimM
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

Re: [WiX-users] Which is best to use in my case: XmlFile or XmlConfig?

2014-05-13 Thread John Cooper
You need to add a Name="value" attribute. Otherwise, your code is trying to write to the inner text. -- 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

Re: [WiX-users] Which is best to use in my case: XmlFile or XmlConfig?

2014-05-13 Thread TimM
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

Re: [WiX-users] Which is best to use in my case: XmlFile or XmlConfig?

2014-05-13 Thread John Cooper
In general, path properties in WiX and in MSI installers in general already have a trailing '\'. However, I hate the [INSTALLDIR]Remotelnk.exe.config idiom. If you're installing this file (and almost certainly you are), give it a File@Id element. Then you can reference it's absolute path dire

Re: [WiX-users] Which is best to use in my case: XmlFile or XmlConfig?

2014-05-13 Thread John Cooper
You need to escape the [] in the ElementPath as these have special meaning to the installer. -- 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

Re: [WiX-users] Which is best to use in my case: XmlFile or XmlConfig?

2014-05-13 Thread Carter Young
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

Re: [WiX-users] Which is best to use in my case: XmlFile or XmlConfig?

2014-05-13 Thread TimM
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

Re: [WiX-users] Which is best to use in my case: XmlFile or XmlConfig?

2014-05-13 Thread Carter Young
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]" >

Re: [WiX-users] Updating app.config

2014-05-13 Thread TimM
I have just been given a task to update one of our apps .config file and so I tried what was listed in this topic but I am getting the following error: Failed to find node: //configuration/appSettings/add[@key='ServiceInfo'] in XML file: C:\Program Files (x86)\CompanyName\Product\Product.exe.confi

Re: [WiX-users] Which is best to use in my case: XmlFile or XmlConfig?

2014-05-13 Thread TimM
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

Re: [WiX-users] Which is best to use in my case: XmlFile or XmlConfig?

2014-05-13 Thread TimM
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: ...

Re: [WiX-users] Problem with service install on non English OS

2014-05-13 Thread colinrb
Stephen Did you get a fix for this? I have the same/similar issue installing services using the network service account on German machines, and machines in Belgium with French as the language. I am however, using WIX to provide the service start/stop code: The thing I find really odd, is

Re: [WiX-users] [SPAM] Re: Strange behavior about the TempFolder Directory.

2014-05-13 Thread Uni Gauldoth
Hi Dave, You are right, the behavior is very strange. I'm working with things like legacy code, which got a lot of strange stuff. I'll try to make things better. Regards, Uni On Wed, May 7, 2014 at 11:18 PM, David Connet wrote: > My first thought is that it's REALLY bad (actually, another word

[WiX-users] WIXSTDBA Wix Standard Bootstrapper application hide option button on upgrade.

2014-05-13 Thread Hans De Groot
How can I hide the options ui during upgrade. Now the upgrade looks exactly like a clean install. I know you can use SuppressOptionsUI but that also hides the options on clean install. Hans -- "Accelerate Dev Cycles with

[WiX-users] Revisit: Displaying custom error messages if deferred CA fails

2014-05-13 Thread Phill Hogland
Soren started the thread "Displaying custom error messages if deferred CA fails" several days ago, and I have been trying to resolve a similar problem. http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Displaying-custom-error-messages-if-deferred-CA-fails-td7594643.html My CA is C++ an

Re: [WiX-users] Database Creation under Program Files folder

2014-05-13 Thread Phil Wilson
The program files folder has always been restricted in that way - limited users can't create/update files there. It's a common misconception that this changed on UAC, but everyone ran as admin on XP and never thought about it. On UAC systems you're not admin unless you explicitly elevate. I don't

Re: [WiX-users] Burn setting InstallFolder depending 32/64 bit

2014-05-13 Thread Phil Wilson
..and you will call your MSI outside of Burn. For example that's what patches and repair do. So you don't want a repair (and any custom actions that might run as part of the repair) to be using folder values that aren't initialized. Also, if you do major upgrades in the future and you want to insta

[WiX-users] Database Creation under Program Files folder

2014-05-13 Thread ALFORD Jack
I have created a WIX installer that installs a service and creates a SQL Server database. I would like to have the database created in the a subfolder under the main folder that the service is in. I have this working as long as the user doesn't take the installer default for the install location

[WiX-users] Which is best to use in my case: XmlFile or XmlConfig?

2014-05-13 Thread TimM
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

Re: [WiX-users] Burn setting InstallFolder depending 32/64 bit

2014-05-13 Thread David Watson
Some large companies use mass deployment methods to distribute software to thousands of users automatically and they prefer to use MSI files to do this as the reporting they get back from them is better. They would tend to strip the msi out of your bundle and use it directly (and silently). In

Re: [WiX-users] Burn setting InstallFolder depending 32/64 bit

2014-05-13 Thread Jenny
Phill Hogland wrote > Consider using ProgramFiles6432Folder to initialize the burn variable. Ah thank you, it works! I didn't know there is such a variable. On the Microsoft page it isn't listed. Phill Hogland wrote > You can also use the Persist attribute to have burn persist the value, but > y

Re: [WiX-users] Bootstrapper-UI: Text from Startpage overlapping with text from Modifypage

2014-05-13 Thread Jenny
darbid wrote > Remove them all and then test. Thanks for your answer! I removed them but it didn't solve my problem :/ -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Bootstrapper-UI-Text-from-Startpage-overlapping-with-text-from-Modifypage-tp759

Re: [WiX-users] Bootstrapper-UI: Text from Startpage overlapping with text from Modifypage

2014-05-13 Thread b . rasing
Dit mailadres is niet meer in gebruik. Mail kan je voortaan sturen naar basti...@careercontrol.nl. -- "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+

Re: [WiX-users] Bootstrapper-UI: Text from Startpage overlapping with text from Modifypage

2014-05-13 Thread darbid
Had the same problem. Had to sought it out myself. Don't know what I did but HideWhenDisabled="yes" is a false friend. Remove them all and then test. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Bootstrapper-UI-Text-from-Startpage-overlapping