Hi, Instead of using SKIP_MERGE_MODULES I'd just check for ALLUSERS=1 in die Condition.
Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -----Original Message----- From: asanami [mailto:alexsan...@gmail.com] Sent: Thursday, August 27, 2009 11:00 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Skip Merge Modules for per-user install 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-tp3522922p35229 22.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 ------------------------------------------------------------------------------ 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