If by that you mean a command line property set when the user installs - this 
is exactly what we want to AVOID.   We want this all controlled by the 
particular MSI that a particular user executes.  We can't rely on them setting 
a command line...

-----Original Message-----
From: Ian Williams [mailto:iawil...@microsoft.com] 
Sent: Tuesday, January 10, 2012 12:26 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Conditionally Include based on Build Configuration

I _think_ you can accomplish everything you want here by simply passing in a 
runtime property when msiexec is called, like "ConfigurationToBuild". Then you 
can use the value of that property to determine what to install, etc. I've had 
success with that approach personally.

-----Original Message-----
From: Daniel Sniderman [mailto:dani...@magenic.com]
Sent: Tuesday, January 10, 2012 10:21 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Conditionally Include based on Build Configuration

I'm working on automating our Build - and migrating from VS Setup to WIX.

We have a Windows Forms Application that has two different Configurations - One 
to Deploy to Citrix Servers and another for occasionally connected Laptop Users 
(plus several "environments" dev/qa/prod etc)

For the two different configurations the differences are in differing config 
settings (which I've already figured out how to)

What I need help with - the Laptop MSI needs include an additional EXE and a 
few corresponding files - and add a shortcut to the additional EXE to the 
startup folder.

Ideally I'd like one WIX solution (and wxs file if possible) that based on the 
"Configuration to Build" setting (ideally both from a desktop build and a TFS 
2010 build) create the appropriate MSI.   (IE - I don't want a single type of 
MSI that requires the user to select based on UI).

What is the best way to implement this?

Thanks!

Daniel P. Sniderman| Sr Consultant| Magenic MCSD.NET, MCTS: Team Foundation 
Server 2010 Administration

333 E. Butterfield Rd. Suite 100, Lombard, IL 60148
Mobile: 847-668-4882  | eFax 847-390-7810 magenic.com | 
dani...@magenic.com<mailto:dani...@magenic.com>


------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create new or 
port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM 
program developer opportunity. appdeveloper.intel.com/join 
http://p.sf.net/sfu/intel-appdev _______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users






------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create new or 
port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM 
program developer opportunity. appdeveloper.intel.com/join 
http://p.sf.net/sfu/intel-appdev _______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to