Dieter if you read Luknos' e-mail you should see the reason why he would like to disallow installing the x86 package on x64 platforms (see 3rd sentence).
Rob Hampflett already posted one solution but a simpler way to achieve this would be to add a Condition element inside your Product Element to create a LaunchCondition (see -> http://wix.sourceforge.net/manual-wix3/wix_xsd_condition.htm). <Condition Message="This package can only be installed on 32-bit versions of Windows. Please use the 64-bit package for 64-bit Operating Systems."><![CDATA[VersionNT64]]></Condition> Modify the message text as you wish. Good luck. Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the <Virtual Environment>** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -----Original Message----- From: Dieter Lunn [mailto:coder2...@gmail.com] Sent: 09 November 2009 09:13 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Disallowing installation of 32-bit-only package on64-bit Windows Why would you want to? a 64bit computer can run 32bit applications it just can't be done the other way around hence the restriction. If you must you might might have to do the detection and blocking yourself. Dieter Lunn http://www.coder2000.ca On Mon, Nov 9, 2009 at 3:01 AM, Lukhnos D. Liu <lukhnos...@lithoglyph.com> wrote: > Hi, > > When the Platforms property of the Package tag is set to x64, the built package becomes 64-bit-only and will not install on 32-bit Windows. > > Is there a way to do the reverse, i.e. disallowing a 32-bit-only package to be installed on 64-bit Windows? This is because we have two versions for the same app, and we don't want to cause confusions on the users part (e.g. installing 32-bit version on 64-bit Windows, then wondering why some functions are missing). > > Thank you, > Lukhnos D. Liu > ------------------------------------------------------------------------------ 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