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
@Nir Bar, I tried to Use "Remove" property instead of "Installed". But the Custom Action didn't Run when the "Remove" Property was set. @Rob I tried to use util:RemoveFolderEx based on this link => https://www.hass.de/content/wix-how-use-removefolderex-your-xml-scripts but without using Registry Ap

Re: [WiX-users] Cannot install Wix - Wix39.exe

2015-03-23 Thread Sean Hall
The bundle extracts the BA DLL to %TEMP%\{BUNDLE_GUID}\.ba1. My guess is that it's getting ERROR_ACCESS_DENIED (which is what 0x8007005 is) when doing the extraction. On Mon, Mar 23, 2015 at 4:52 PM, ctludlow wrote: > Trying to install Wix and I get the same failed log file for wix38.exe, > wix

Re: [WiX-users] 'INSERT INTO' an offline MSI with DTF

2015-03-23 Thread laurie
Thanks for the suggestion Phill, What I am trying to do is external to a running MSI. Since the my original post I've tried the same DTF functions in C# and was surprised to see everything work perfectly. Following on from the VBScript & PowerShell snippets above, the code below is the same acti

[WiX-users] Cannot install Wix - Wix39.exe

2015-03-23 Thread ctludlow
Trying to install Wix and I get the same failed log file for wix38.exe, wix39.exe and wix40.exe. I also noticed that I can't run any setup.exe's that were created with wix. Visual Studio 2013 setup.exe gives me the same errors. Any one have any ideas on what to check on a system with this behavi

Re: [WiX-users] Get progress for progress bar during upgrade

2015-03-23 Thread victorwhiskey
Any help, please? Thanks! -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Get-progress-for-progress-bar-during-upgrade-tp7599587p7599680.html Sent from the wix-users mailing list archive at Nabble.com.

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

2015-03-23 Thread Rob Mensching
Modifying 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 A

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
Wix handles that scenario by default. If you run an install for a product installed, it will typically take you to maintenance mode(repair/remove). -Original Message- From: Sarvagya Pant [mailto:sarvagya.p...@gmail.com] Sent: Monday, March 23, 2015 9:44 AM To: General discussion about the

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

2015-03-23 Thread Phil Wilson
Generally you don't need to worry about the user running the same MSI again. For example, if you are using a Wix UI then running the same MSI again results in a Change/Repair/Remove dialog. Running the same MSI again doesn't result in installing the product again (or a copy of it) but it does resul

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

2015-03-23 Thread Sarvagya Pant
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 is installed? Thanks. On Mon, Mar 23, 2015 at 10:12 PM, Rob Mensching wrote: > RemoveFoldersE

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

2015-03-23 Thread Rob Mensching
RemoveFoldersEx? _ Short replies here. Complete answers 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

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

Re: [WiX-users] 'INSERT INTO' an offline MSI with DTF

2015-03-23 Thread Phill Hogland
I have not used DTF, but I noticed this thread , which may be helpful. This blog post discusses the general concept from a C++ perspe

Re: [WiX-users] SwapRunFromCD And SwapRunFromNet - What is it and How to Use ?

2015-03-23 Thread Phill Hogland
I do not know the answer to your specific scenario, but when I search the wix source for SetDownloadSource, I also notice calls to SetLocalSource. It looks like WixStandardBootstrapperApplication.cpp (around line 827) has an example of changing the location of the local package. I would add somet

[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