[WiX-users] Condition for detecting minor upgrade

2009-04-22 Thread Johan Appelgren
Hi,

I'm attempting to create a customized UI sequence that when upgrading
or patching only displays a dialog that tells the user that the
application will be upgraded and what version it will upgraded to. For
major upgrades this isn't a problem, but I'm having trouble figuring
out how to detect minor upgrades in the conditions for the dialogs,
done with REINSTALL=ALL REINSTALLMODE=vomus.

Has anyone done anything like this? Or is there support for something
like this built-in to the UIExtension that I have missed?


/Johan Appelgren

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Condition for detecting minor upgrade

2009-04-22 Thread slmnow

I trying to do the same thing.  I found this.

http://msdn.microsoft.com/en-us/library/aa372380(VS.85).aspx
http://msdn.microsoft.com/en-us/library/aa372380(VS.85).aspx 


Johan Appelgren wrote:
 
 Hi,
 
 I'm attempting to create a customized UI sequence that when upgrading
 or patching only displays a dialog that tells the user that the
 application will be upgraded and what version it will upgraded to. For
 major upgrades this isn't a problem, but I'm having trouble figuring
 out how to detect minor upgrades in the conditions for the dialogs,
 done with REINSTALL=ALL REINSTALLMODE=vomus.
 
 Has anyone done anything like this? Or is there support for something
 like this built-in to the UIExtension that I have missed?
 
 
 /Johan Appelgren
 
 --
 Stay on top of everything new and different, both inside and 
 around Java (TM) technology - register by April 22, and save
 $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
 300 plus technical and hands-on sessions. Register today. 
 Use priority code J9JMT32. http://p.sf.net/sfu/p
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 
http://msdn.microsoft.com/en-us/library/aa372380(VS.85).aspx
http://msdn.microsoft.com/en-us/library/aa372380(VS.85).aspx 
http://msdn.microsoft.com/en-us/library/aa372380(VS.85).aspx Read this 
http://msdn.microsoft.com/en-us/library/aa372380(VS.85).aspx
http://msdn.microsoft.com/en-us/library/aa372380(VS.85).aspx 
-- 
View this message in context: 
http://n2.nabble.com/Condition-for-detecting-minor-upgrade-tp2675017p2679817.html
Sent from the wix-users mailing list archive at Nabble.com.


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Condition for detecting minor upgrade

2009-04-22 Thread Michael Osmond
Johan,

Here is what I do,

I want a welcome dialog for a first time install, upgrade dialog if it is a 
major or minor upgrade and a maintenance dialog (ie change features) dialog if 
it is launched from the Add/Remove programs

Show Dialog=Welcome_Dialog After=MigrateFeatureStates![CDATA[(NOT 
Installed) and (NOT BAYUPGRADELIST)]]/Show
Show Dialog=Update_Dialog After=MigrateFeatureStates![CDATA[(Installed 
AND REINSTALL) OR (NOT Installed AND BAYUPGRADELIST)]]/Show
Show Dialog=MaintenanceMode_Dialog 
After=MigrateFeatureStates![CDATA[(Installed AND Not REINSTALL)]]/Show

BAYUPGRADELIST is set by FindRelatedProducts

Hope this helps

Michael

-Original Message-
From: Johan Appelgren [mailto:johan.appelg...@gmail.com] 
Sent: Wednesday, 22 April 2009 7:00 PM
To: Wix Mailing List
Subject: [WiX-users] Condition for detecting minor upgrade

Hi,

I'm attempting to create a customized UI sequence that when upgrading
or patching only displays a dialog that tells the user that the
application will be upgraded and what version it will upgraded to. For
major upgrades this isn't a problem, but I'm having trouble figuring
out how to detect minor upgrades in the conditions for the dialogs,
done with REINSTALL=ALL REINSTALLMODE=vomus.

Has anyone done anything like this? Or is there support for something
like this built-in to the UIExtension that I have missed?


/Johan Appelgren

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users