Re: [WiX-users] Addressing download failures in Burn driven MSI

2014-10-23 Thread Phill Hogland
I have both issues figured out, by adding retry/TryAgain processing to CacheAcquireComplete, CacheVerifyComplete, and CachePackageComplete. Thanks for the assistance. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Addressing-download-failures-i

Re: [WiX-users] Is it possible to delete the Key/value pair from web.config file during installation.

2014-10-23 Thread Bala
Hi John, Thanks for your help. It works for me. Thank you very much. Bala. -Original Message- From: John Cooper [mailto:jocoo...@jackhenry.com] Sent: 23 October 2014 20:51 To: General discussion for Windows Installer XML toolset. (wix-users@lists.sourceforge.net) Subject: Re: [WiX-user

Re: [WiX-users] Is it possible to delete the Key/value pair from web.config file during installation.

2014-10-23 Thread John Cooper
A cosmetic bug, I should have changed the idea to match the activity. Something like DeleteAddElement. -- John Merryweather Cooper Senior Software Engineer | Enterprise Service Applications | Continuing Development Jack Henry & Associates, Inc.® | Lenexa, KS  66214 | Ext: 431050 |jocoo...@jac

Re: [WiX-users] Is it possible to delete the Key/value pair from web.config file during installation.

2014-10-23 Thread John Cooper
I would use util:XmlConfig as it is far more powerful than util:XmlFile for this problem. In this example the code looks for an "add" element at XPAT /configuration/product/Deploy/Servers, and if the key matches the value in the SERVER property, it deletes it. -- John Merryweather Cooper Sen

Re: [WiX-users] Is it possible to delete the Key/value pair from web.config file during installation.

2014-10-23 Thread Bala
Yes, I WANT TO REMOVE the whole element. -Original Message- From: John Cooper [mailto:jocoo...@jackhenry.com] Sent: 23 October 2014 19:44 To: General discussion about the WiX toolset. Subject: Re: [WiX-users] Is it possible to delete the Key/value pair from web.config file during install

Re: [WiX-users] Is it possible to delete the Key/value pair from web.config file during installation.

2014-10-23 Thread Carter Young
Not Exactly, See Here: http://wix.tramontana.co.hu/tutorial/com-expression-syntax-miscellanea/xml I believe Providing the Key/Element Name will Delrte that Key or Element Quoting Bala : > Hi Carter, > > Thanks for your reply. > > > I have gone through the link you provided. But it will delete t

Re: [WiX-users] Is it possible to delete the Key/value pair from web.config file during installation.

2014-10-23 Thread John Cooper
So, to be clear, you want to remove the whole element? -- John Merryweather Cooper Senior Software Engineer | Enterprise Service Applications | Continuing Development Jack Henry & Associates, Inc.® | Lenexa, KS  66214 | Ext: 431050 |jocoo...@jackhenry.com -Original Message- From: Ba

Re: [WiX-users] Is it possible to delete the Key/value pair from web.config file during installation.

2014-10-23 Thread Bala
Hi Carter, Thanks for your reply. I have gone through the link you provided. But it will delete the attribute value only it will not remove the entire Key. I want to remove the entire key from the web.config. Thanks Bala -Original Message- From: Carter Young [mailto:ecyo...@grandecom.

Re: [WiX-users] Is it possible to delete the Key/value pair from web.config file during installation.

2014-10-23 Thread Bala
Hi john, Do you have any sample for this, to move forward,.. Thanks for your help. -Original Message- From: John Cooper [mailto:jocoo...@jackhenry.com] Sent: 23 October 2014 19:26 To: General discussion about the WiX toolset. Subject: Re: [WiX-users] Is it possible to delete the Key/va

Re: [WiX-users] Is it possible to delete the Key/value pair from web.config file during installation.

2014-10-23 Thread Carter Young
Please read this Blog Post: http://blogs.technet.com/b/alexshev/archive/2009/05/27/from-msi-to-wix-part-25-installable-items-updating-xml-files-using-xmlfile.aspx Even though this post refers to app.config, the same principles apply to web.config Quoting Bala : > Hi, > > > > Is it possible

Re: [WiX-users] Is it possible to delete the Key/value pair from web.config file during installation.

2014-10-23 Thread John Cooper
Yes, although I generally use an XSLT transform on my config files to remove such elements immediately prior to assembling the installer. Same goes for values that work great for development, but need to be different (but usually constant) in release. -- John Merryweather Cooper Senior Softwar

[WiX-users] Is it possible to delete the Key/value pair from web.config file during installation.

2014-10-23 Thread Bala
Hi, Is it possible to delete the Key/value pair from web.config file during installation. I am able to add new key/value pair during the installation through the below code. Is it possible to delete the existing Key/value pair from web.config file during

Re: [WiX-users] When to call CustomAction

2014-10-23 Thread Wired
Hi Brian, I think the reason your doesn't work is because you don't create the under before you try and set values (I've assumed you don't deploy with an empty ). The following is something that i use to add under "//Configuration/Extensions/Data" (and remove it on an uninstall).

[WiX-users] How to check web.config Key already exist and add if not while installing.

2014-10-23 Thread Bala
Hi I have a scenario like while installing I need to update the web.config file. If the Key exist then I need to update else I need to create the key. I created the key with the below code. But I don't know how to check the key already exists or not. I need to update if the Key al