Re: [WiX-users] Prevent run of Custom action if product is installed.

2015-03-24 Thread Sarvagya Pant
@Nir, Yep I figured that out. I used REMOVE~="ALL" based on Rob's answer given at http://stackoverflow.com/a/321874/2634612 . On Tue, Mar 24, 2015 at 12:30 PM, Nir Bar wrote: > You should use REMOVE, not Remove - case matters. > > > > > - > Nir Bar > Freelance Developer > Mail: nir@panel

Re: [WiX-users] Prevent run of Custom action if product is installed.

2015-03-23 Thread Nir Bar
You should use REMOVE, not Remove - case matters. - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX & InstallShield -- View this message in context: http://windows-installer-xml-wix-toolset.687559

Re: [WiX-users] Prevent run of Custom action if product is installed.

2015-03-23 Thread Sarvagya Pant
difying resources should be tied to Components. > > _ > Short replies here. Complete answers over there: > http://www.firegiant.com/ > > > -Original Message- > From: Nir Bar [mailto:nir@panel-sw.com] > Sent: Monday, March 23, 2015 11:17 AM > To: wix-

Re: [WiX-users] Prevent run of Custom action if product is installed.

2015-03-23 Thread Rob Mensching
AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Prevent run of Custom action if product is installed. You can also use msiext <http://dblock.github.io/msiext/> extension that has a DeleteFiles element. It should be conditioned like you would a custom action,

Re: [WiX-users] Prevent run of Custom action if product is installed.

2015-03-23 Thread Nir Bar
You can also use msiext extension that has a DeleteFiles element. It should be conditioned like you would a custom action, unlike RemoveFolderEx which is conditioned by default by it's containing component's action. - Nir Bar Freelance Developer Mail:

Re: [WiX-users] Prevent run of Custom action if product is installed.

2015-03-23 Thread Pavan Konduru
the WiX toolset. Subject: Re: [WiX-users] Prevent run of Custom action if product is installed. Hi Rob, Thanks. I think RemoveFolderEx is present in WixUtil. I will give it a go. For the user to prevent running installer again, if product is installed, How do I show a pop up indicating the product

Re: [WiX-users] Prevent run of Custom action if product is installed.

2015-03-23 Thread Phil Wilson
s over there: >> http://www.firegiant.com/ >> >> >> -Original Message- >> From: Sarvagya Pant [mailto:sarvagya.p...@gmail.com] >> Sent: Monday, March 23, 2015 9:05 AM >> To: General discussion about the WiX toolset. >> Subject: Re: [WiX-users]

Re: [WiX-users] Prevent run of Custom action if product is installed.

2015-03-23 Thread Sarvagya Pant
23, 2015 9:05 AM > To: General discussion about the WiX toolset. > Subject: Re: [WiX-users] Prevent run of Custom action if product is > installed. > > I need to Remove Folders as well. RemoveFile only works to delete the > File, I think so. The executable c

Re: [WiX-users] Prevent run of Custom action if product is installed.

2015-03-23 Thread Rob Mensching
about the WiX toolset. Subject: Re: [WiX-users] Prevent run of Custom action if product is installed. I need to Remove Folders as well. RemoveFile only works to delete the File, I think so. The executable could create Folder within folder and files too

Re: [WiX-users] Prevent run of Custom action if product is installed.

2015-03-23 Thread Sarvagya Pant
I need to Remove Folders as well. RemoveFile only works to delete the File, I think so. The executable could create Folder within folder and files too. On Mon, Mar 23, 2015 at 9:41 PM, Hoover, Jacob wrote: > Was there a reason you wrote a CA to remove the file? Would > not suffice? > > > On Mar

Re: [WiX-users] Prevent run of Custom action if product is installed.

2015-03-23 Thread Hoover, Jacob
Was there a reason you wrote a CA to remove the file? Would not suffice? > On Mar 23, 2015, at 10:53 AM, Nir Bar wrote: > > You can condition it on REMOVE > > property instead of Installed. > > > > > - > Nir Bar

Re: [WiX-users] Prevent run of Custom action if product is installed.

2015-03-23 Thread Nir Bar
You can condition it on REMOVE property instead of Installed. - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX & InstallShie

[WiX-users] Prevent run of Custom action if product is installed.

2015-03-23 Thread Sarvagya Pant
I have created two custom actions that does the following jobs: 1. Create a file based on the property passed to the installer. eg msiexec /i installer.msi /l*v out.txt IPADDRESS="192.168.2.2.08" ​ The custom action will create a file that will contain the data as: { "ip":"192.168.2.208" } 2. Anoth