Hi,

I need to be able to skip installation of the VC merge modules if is a 
per-user install. (ie. ALLUSERS=2) and the user doesn't have admin rights on
the machine.

Ideally, this would be done by setting a property on the command line. e.g

MSIExec /i image.msi SKIP_MERGE_MODULES=1

I can make the merge modules conditional at the feature level like this:
 
<Feature Id='MergeModules' Title='MergeModules' Level='1'  Display='hidden'  
Absent='disallow' AllowAdvertise='no'>

      <Condition Level="0">SKIP_MERGE_MODULES = 1</Condition>

       <MergeRef Id="VCRedist_1"/>  

This correctly doesn't install the merge modules if the property is set, but
when tried on a box without admin rights, I get the following error message:

"ALLUSERS property is not 1 - this MSM cannot be used for a per-user or
fallback-to-per-user install"

Does anybody have any ideas or solutions?

Thanks
-- 
View this message in context: 
http://n2.nabble.com/Skip-Merge-Modules-for-per-user-install-tp3522922p3522922.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to