Adding tags like these should do it:

<UI>
   <Error Id="25000">Please use the 64-bit installer</Error>
</UI>


<CustomAction Id="Need64BitVersion" Error="2001" />

<InstallUISequence>
   <Custom Action="Need64BitVersion" Before="AppSearch">VersionNT64</Custom>
</InstallUISequence>


Rob


Lukhnos D. Liu 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


------------------------------------------------------------------------------
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