Can someone help?

 

Related Question to the UpgradeVersion:

How can I pass a conditional value to a property in a merge module? I want to be able to tell that property not to install if we are upgrading.

 

<Upgrade Id=’GUID’>
     <UpgradeVersion Property=’MyProperty’ IncludeMinimum=’yes’ Minimum=’1.0.1’ />
</Upgrade>

<Merge Id='MergeModuleName' src='' DiskId='1' Language='1033'>

<ConfigurationData Name='Install_Property'            Value='?????'/>

</Merge>

 

Is it something like this? Value = ‘&lt;![\[]CDATA[\[][NOT MyProperty = “”[\]][\]]&gt’

 

Thanks in advance,

Brandon

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tina Basinger
Sent: Tuesday, October 17, 2006 4:11 PM
To: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Random Wix Questions

 

For item 3 below, regarding determining if we are in an upgrade or not, I have found that the UpgradeVersion property only gets set during a major upgrade.  If I try to do a minor upgrade, FindRelatedProducts is not run because it thinks I am in maintenance mode.  Is this expected behavior?  Is there any way to tell if a minor upgrade is being run?

 

Thanks!

-Tina

----- Original Message -----
From: "Rob Mensching"
To: "'Tina Basinger'" , wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Random Wix Questions
Date: Sat, 16 Sep 2006 02:42:41 -0700

1.  For v2 and v3 look at the namespace on the Wix element.  WiX v1 was never released and the syntax is quite different from v2 and v3.  For example WiX v1 has no Id attributes.

 

2.  WebDirProperties/@DefaultDocuments

 

3.  That should work.  Have you found that it doesn't?

 

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tina Basinger
Sent: Friday, September 15, 2006 12:40
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Random Wix Questions

 

I have a few random wix questions below, that I wondered if anyone could help with. 

 

Thanks!
-Tina

 

1.        How do you determine if an existing Wix code file is written for Wix 1.0, 2.0, or 3.0?

2.       Is there any way to specify a default web page when creating a WebSite using the WebSite node in Wix?

3.       How can a custom action tell if an upgrade is being run versus a new install?  I think that FindRelatedProducts will update the property specified in the Upgrade node to include the product GUID that is being upgraded.  So, can a custom action assume that if the property noted is blank, a new install is being run, and if the custom action has a value then an upgrade is being run?

a.       For instance, if you have the following node:
<Upgrade Id=’GUID’>
     <UpgradeVersion Property=’MyProperty’ IncludeMinimum=’yes’ Minimum=’1.0.1’ />
</Upgrade>
Then, can a custom action check if MyProperty is an empty string or not to determine if we’re in an upgrade scenario or not?


--

___________________________________________________
Play 100s of games for FREE! http://games.mail.com


--

___________________________________________________
Play 100s of games for FREE! http://games.mail.com

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to