Thanks Christopher, that is very helpful.  I will certainly look into Feature 
and Components conditions...

Since I posted this I have for the first time turned on verbose logging, and 
that is giving me a much better feel for these execution sequences. I mention 
that here because with verbose logging turned on, you can see what executes and 
in what order, so I could have used that logging data to determine the sequence 
things run in in the different modes.

-----Original Message-----
From: Christopher Painter [mailto:chr...@deploymentengineering.com] 
Sent: Wednesday, May 25, 2011 6:11 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Execute Sequence In "Change" Mode

Yes, it's still the same installation ui / execute sequence.  It's just the UI 
will be different because conditional expressions on dialogs evaluate 
differently.   For example you might get a MaintenanceWelcome dialog install of 
an InstallWelcome dialog.
 
It's also important to understand the concept of feature and component 
installation and action states.   It's possible to do a first install and 
install Feature A but then during a subsequent "maintenance" install to leave 
feature A alone and install feature B.   In the former features A and B have 
are not installed but A is transitioning to installed and in the latter A has a 
state of installed and B is transitioning to installed.   ( Not the technicial 
terms, simplified for discussion )
 
This is one of the reasons why I suggest using Feature and Components in your 
conditions and not generic conditions such as Not Installed and REMOVE="ALL".  
These tend to not scale/behave well when your design goes beyond a simple 
install.
 

---
Christopher Painter, Author of Deployment Engineering Blog Have a hot tip, know 
a secret or read a really good thread that deserves attention? E-Mail Me

From: Bradley Ward <bradley.w...@turnpoint-solutions.com>
To: "Wix-Users List (wix-users@lists.sourceforge.net)" 
<wix-users@lists.sourceforge.net>
Sent: Wednesday, May 25, 2011 4:49 PM
Subject: [WiX-users] Execute Sequence In "Change" Mode

As I understand it, the sequence in which actions are executed is determined by 
the rows in the InstallExecuteSequence installer database table and will 
proceed in ascending order based on the value of the Sequence column, of course 
depending on whether or not the Boolean expression in the Condition column 
evaluates to true.

My question is what is the execute sequence for the "Change", "Repair", and 
"Remove" modes of operation? As there is no table named 
"ChangeExecuteSequence", etc., does that mean that this same sequence is 
followed?

Thanks,

Brad

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, you get 
blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, you get 
blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to