Hi Folks,

I am generating a Burn package with multiple MSI's.
These MSI's are organized in 3 package groups, say group A, B, and C.

I want the user to be able to choose from the bootstrapper GUI which package 
groups should be installed.
Therefore I extended the options page with 3 checkboxes, and linked them to 
Variables.

Since the "PackageGroup" and "PackageGroupRef" elements don't have an 
"InstallCondition", attribute, I try to handle this separately for each 
"MsiPackage".
However, the way the "InstallCondition" attribute is handled, is not how I 
would expect.
The documentation and my test code show that if the "InstallCondition" 
evaluates to "false", it causes the package to be uninstalled if it was already 
installed.
What I would prefer is that the package that is already installed will be left 
untouched.

I have the following suggestions, and would like to know if this is feasible:

-          Beside the "InstallCondition" attribute, include a 
"UninstallCondition" attribute, to optionally specify explicitly when a package 
should be uninstalled.


-          Also include "InstallCondition" and "UninstallCondition" attributes 
at "PackageGroup" level.
All child packages can inherit these attributes.


-          Also include an "After" attribute at "PackageGroup" level, and also 
support "PackageGroup" names in the "After" attribute of package elements.
This makes it easier to define groups of order-independent packages, and 
control the order in which these order-dependent groups are installed.

Kind regards,
Protomation bv

Nick van Ast
Sr. Software Developer
Arendstraat 4
6135 KT SITTARD
The Netherlands
T +31 (0)46 458 47 48
F +31 (0)46 458 63 83
--
The information in this message and its attachments is confidential and may be 
legally privileged. The message is intended solely for the addressee(s). If you 
are not the intended recipient, you are hereby notified that any use or 
reproduction in part or as a whole is strictly prohibited and may be unlawful. 
If you are not the intended recipient, please contact the sender by return 
e-mail and destroy all copies of the message

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to