Thanks everyone for all your help, it's now working.
I found one bug in my code where was referenced in multiple features
(one conditioned on upgrade and one not), and once that was cleaned
up, I found I could place the NOT UPGRADEFOUND condition back on each
component as per Bob's suggestion, an
e-
From: si [mailto:sshnug...@gmail.com]
Sent: Wednesday, September 23, 2009 1:01 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] XmlFile being executed when feature condition
should fail
> What does the log say about the WebConfigSqlDbSqlAuthComponent com
> What does the log say about the WebConfigSqlDbSqlAuthComponent component
> while running CostFinalize?
>
> Also, is your upgrade Major or Minor/Small?
Hi Blair,
All our upgrades are Major. As for the component, the only reference
in the log is:
New Install:
Action ended 16:58:44: CostFinali
> As far as I can tell, what you have there is a component declaration with a
> condition about whether it should be installed or not.
>
> However the issue seems to be that the custom action ' SchedXmlFile' is being
> called, so what matters is the condition you have on that custom action call,
Installer XML toolset.
Subject: Re: [WiX-users] XmlFile being executed when feature condition should
fail
>> Long story short: XmlFile is being executed during upgrades when I
>> only want it executed on new installations.
>>
>
> The owning component controls whether XmlFile i
neral discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] XmlFile being executed when feature condition should
fail
>> Long story short: XmlFile is being executed during upgrades when I
>> only want it executed on new installations.
>>
>
> The owni
>> Long story short: XmlFile is being executed during upgrades when I
>> only want it executed on new installations.
>>
>
> The owning component controls whether XmlFile is run; conditionalize it
> so it doesn't run during upgrade.
Thanks for the reply Bob, unfortunately I already tried this with
si wrote:
> Long story short: XmlFile is being executed during upgrades when I
> only want it executed on new installations.
>
The owning component controls whether XmlFile is run; conditionalize it
so it doesn't run during upgrade.
--
sig://boB
http://joyofsetup.com/
Greetings,
Long story short: XmlFile is being executed during upgrades when I
only want it executed on new installations.
2 features are used to determine whether database install or upgrade
(both executed by DTF external tool) takes place:
UPGRADEFOUND
NOT UPG
9 matches
Mail list logo