Re: [WiX-users] Component condition question

2011-04-14 Thread Bob Arnson
On 14-Apr-11 20:48, Greg wrote: > Is this a bad idea: I am setting InstallMode in a custom action, for example > when the Change button is selected: > Session.Property("InstallMode") = "Change" Sorry, I forgot that I renamed install mode for WixUI. There's no conflict. > I understand the potentia

Re: [WiX-users] Component condition question

2011-04-14 Thread Greg
Thanks Bob. I may be painting myself in a corner with that condition. But I think there must be a bug somewhere in one of my custom actions or in some wix code change I made that's causing the condition to fail. Is this a bad idea: I am setting InstallMode in a custom action, for example when

Re: [WiX-users] Component condition question

2011-04-14 Thread Bob Arnson
On 11-Apr-11 19:43, Greg wrote: > I have a component with the following condition: > "Remove"]]> That's problematic for two reasons: 1. InstallMode is an internal property and isn't guaranteed. 2. String comparison operators don't work c

Re: [WiX-users] Component condition question

2011-04-13 Thread Greg
I'm not sure I understand Maksim - the current value of UPGRADE_FROM_VERSION is "6.1.8.78", and the condition is UPGRADE_FROM_VERSION <= "6.1.8.85" (ignoring "AND InstallMode<>"Remove"" for the moment). You are saying to try the condition ""UPGRADE_FROM_VERSION" <= "6.1.8.85"", which is no differe

Re: [WiX-users] Component condition question

2011-04-13 Thread maksim.vazhenin
-Original Message- From: Greg [mailto:g...@swansonsoftware.com] Sent: Tuesday, April 12, 2011 11:53 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Component condition question Thanks Maksim. ThE uPGRADE_FROM_VERSION property is set to "6.1.8.78", which is

Re: [WiX-users] Component condition question

2011-04-12 Thread Greg
Thanks Maksim. ThE uPGRADE_FROM_VERSION property is set to "6.1.8.78", which is the value I expected to see. The log shows uPGRADE_FROM_VERSION being set. Here's an example: MSI (s) (94!D0) [11:04:09:292]: PROPERTY CHANGE: Modifying UPGRADE_FROM_VERSION property. Its current value is '9.9.9.9'.

Re: [WiX-users] Component condition question

2011-04-11 Thread maksim.vazhenin
Check that UPGRADE_FROM_VERSION is set during silent installation. -Original Message- From: Greg [mailto:g...@swansonsoftware.com] Sent: Tuesday, April 12, 2011 3:44 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Component condition question Hi: I have a component with

[WiX-users] Component condition question

2011-04-11 Thread Greg
Hi: I have a component with the following condition: "Remove"]]> where UPGRADE_FROM_VERSION = "6.1.8.78" and InstallMode = "Change". When I run the msi in full UI mode, the component installs. But when I run the msi in silent mo

[WiX-users] Component condition not evaluated correctly

2011-04-01 Thread greg
Hi: I have a component with the following condition: "Remove"]]> where UPGRADE_FROM_VERSION = "6.1.8.78" and InstallMode = "Change", which evaluates correctly when running the msi in full UI mode. However, when I run the msi in silent mode, the component does not install. The verbose l

Re: [WiX-users] Component condition not works properly

2009-08-31 Thread Blair
om: Dmitry Berkovich [mailto:dber...@gmail.com] Sent: Monday, August 31, 2009 1:55 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Component condition not works properly Hi Bob, I think you did not understand my question. I will try explain it again: I have 2 feat

Re: [WiX-users] Component condition not works properly

2009-08-31 Thread Dmitry Berkovich
Hi Bob, I think you did not understand my question. I will try explain it again: I have 2 features and 2 components. Where Comp1 belong to feaute F1 and Comp2 belong to F2. My system can be installed in 3 variants: 1) only F1 selected - I am expecting that only Comp1 will be installed 2) F

Re: [WiX-users] Component condition not works properly

2009-08-30 Thread Bob Arnson
Dmitry Berkovich wrote: > As you can see from example I want install Comp2 only if F1 selected, > even if F2 selected (Comp2 belong to F2). > It needs to belong in both features. MSI won't install it if its parent feature isn't being installed. -- sig://boB http://joyofsetup.com/

[WiX-users] Component condition not works properly

2009-08-24 Thread Dmitry Berkovich
Hi, I am creating simple wix file that contains 2 components and 2 features. .. . As you can see from example I want install Comp2 only if F1 selected, even if F2 selected (Comp2 belong to F2). Joy describe exactly this case in his blo

Re: [WiX-users] Component Condition

2008-10-16 Thread Sandeep Gautam (HCL Technologies Ltd)
: [WiX-users] Component Condition What conditions have you tried on the component? Have you tried "NOT Installed"? Are you creating the database with SqlDatabase tag? If so, please paste your code for that tag. -Original Message- From: Sandeep Gautam (HCL Technologies Ltd) [mai

Re: [WiX-users] Component Condition

2008-10-16 Thread Ian Elliott (Excell Data Corporation)
: Thursday, October 16, 2008 2:06 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Component Condition Hi, I want to execute one component only at the time of installation. I don't want to execute on repair and remove. This component will create one data base

[WiX-users] Component Condition

2008-10-16 Thread Sandeep Gautam (HCL Technologies Ltd)
Hi, I want to execute one component only at the time of installation. I don't want to execute on repair and remove. This component will create one data base. I don't to do anything with DB on repair. I have tried so many option but could not successful. Regards -Sandeep -

Re: [WiX-users] Component condition ignored during Upgrade

2008-10-11 Thread Bob Arnson
PameAlex wrote: > Another thing kind of curious is the fact that the other > property(OLDAPPFOUND) I am using to avoid the component to be installed > during the Upgrade is working so the issue is only in the uninstallation > part. > You're not going to be able to use component conditions to pr

Re: [WiX-users] Component condition ignored during Upgrade

2008-10-07 Thread PameAlex
The property is being set correctly Action 17:11:37: RemoveExistingProducts. Removing applications Action start 17:11:37: RemoveExistingProducts. RemoveExistingProducts: Application: {D2E3C4E8-F835-42BF-9871-DC2AF481361B}, Command line: UPGRADINGPRODUCTCODE={F8B81715-3E66-4462-ADF8-2610EBC52BB8}

Re: [WiX-users] Component condition ignored during Upgrade

2008-10-06 Thread Bob Arnson
PameAlex wrote: > The RemoveExistingProducts action is after FindRelatedProducts > I don't think you can rely on the UpgradeVersion properties being passed to the old product. Check a verbose log after RemoveExistingProducts to see the major upgrade. -- sig://boB http://joyofsetup.com/ -

Re: [WiX-users] Component condition ignored during Upgrade

2008-10-06 Thread PameAlex
The RemoveExistingProducts action is after FindRelatedProducts NEWAPPFOUND OLDAPPFOUND -- View this message in context: http://n2.nabble.com/Component-condition-ignored-during-Upgrade-tp1122156p1301820.html Sent from the wix-users mailing list archive at Nabb

Re: [WiX-users] Component condition ignored during Upgrade

2008-09-27 Thread Bob Arnson
Pamela Alvarez wrote: > I really need some help!. I made 3 installers (1.0.1.0 -> v1, 1.0.2.0 > ->v2, 1.0.3.0 ->v3) each is a full installer and also a major upgrade of > the previous installer. > Where are you scheduling RemoveExistingProducts? > ($(var.IIS5) Or $(var.IIS6)) And ((Installed

[WiX-users] Component condition ignored during Upgrade

2008-09-26 Thread Pamela Alvarez
Hi Guys, I really need some help!. I made 3 installers (1.0.1.0 -> v1, 1.0.2.0 ->v2, 1.0.3.0 ->v3) each is a full installer and also a major upgrade of the previous installer. As part of my installation I add a virtual Directory for IIS5 and IIS6 as a part of a component(Comp_VirtualDir) and a