Harvey:

I use this technique in other projects I have, but in this case I just need to 
execute an extra custom action if the app is 
being installed on 64-bit Windows (it's still basically a 32-bit app). I 
appreciate the feedback, though.

--

Eric Fesh
Customer Support Engineer/Software Test Engineer
Verari Systems Software, Inc.
110 12th Street North, Suite D103
Birmingham, AL 35203
Phone +1-205-397-3141 ext. 3149
Fax +1-205-397-3142
[EMAIL PROTECTED]
http://www.verarisoft.com/

The information contained in this communication may be confidential and is
intended only for the use of the recipient(s) named above.  If the reader of
this communication is not the intended recipient(s), you are hereby notified
that any dissemination, distribution, or copying of this communication, or
any of its contents, is strictly prohibited.  If you are not a named
recipient or received this communication by mistake, please notify the sender
and delete the communication and all copies of it.


Harvey Werner wrote:
> Here is how we prevent x64 installs on x32 on non-IA hardware and vice
> versa. Our build process sets the "arch" variable based on the type of
> MSI being built.
> 
>     <Condition Message="Cannot install on non-Intel hardware.">
>       <![CDATA[Intel]]>
>     </Condition>
> 
>     <Condition Message="Cannot install on IA64 hardware.">
>       <![CDATA[NOT Intel64]]>
>     </Condition>
> 
> <?if $(var.arch) = "x86" ?>
>     <Condition Message="Cannot install x86 package on x64 hardware.">
>       <![CDATA[NOT Msix64]]>
>     </Condition>
> <?elseif $(var.arch) = "x64" ?>
>     <Condition Message="Cannot install x64 package on non-x64
> hardware.">
>       <![CDATA[Msix64]]>
>     </Condition>
> 
> Harvey Werner
> PolyServe, Inc. 
> 
>> -----Original Message-----
>> From: Eric Fesh [mailto:[EMAIL PROTECTED] 
>> Sent: Thursday, January 11, 2007 7:42 AM
>> To: Levi Wilson
>> Cc: wix-users@lists.sourceforge.net
>> Subject: Re: [WiX-users] Quick question: How to determine if 
>> Windows is64-bit at install time?
>>
>> Levi:
>>
>> Thanks... Much appreciated. I also found the Msix64 property, 
>> which I think might be a cleaner solution for my purposes. 
>> *chuckle* For some reason, it seems that I find answers 
>> faster by myself only after I've sent an email asking for help...
>>
>> --
>>
>> Eric Fesh
>> Customer Support Engineer/Software Test Engineer
>> Verari Systems Software, Inc.
>> 110 12th Street North, Suite D103
>> Birmingham, AL 35203
>> Phone +1-205-397-3141 ext. 3149
>> Fax +1-205-397-3142
>> [EMAIL PROTECTED]
>> http://www.verarisoft.com/
>>
>> The information contained in this communication may be 
>> confidential and is
>> intended only for the use of the recipient(s) named above.  
>> If the reader of
>> this communication is not the intended recipient(s), you are 
>> hereby notified
>> that any dissemination, distribution, or copying of this 
>> communication, or
>> any of its contents, is strictly prohibited.  If you are not a named
>> recipient or received this communication by mistake, please 
>> notify the sender
>> and delete the communication and all copies of it.
>>
>>
>> Levi Wilson wrote:
>>> Make a condition for it using the VersionNT64 property 
>>>
>> (http://msdn.microsoft.com/library/default.asp?url=/library/en
>> -us/msi/setup/system_folder_properties.asp 
>> <http://msdn.microsoft.com/library/default.asp?url=/library/en
>> -us/msi/setup/system_folder_properties.asp>)
>>>
>>> On 1/11/07, *Eric Fesh* <[EMAIL PROTECTED] 
>>> <mailto:[EMAIL PROTECTED]>> wrote:
>>>
>>>     Hello all:
>>>
>>>     I've got a situation where I need to launch a custom 
>> action when an
>>>     application is being installed on 64-bit Windows, but not
>>>     when it's being installed on 32-bit Windows. Does 
>> anyone know off
>>>     the top of their heads what condition I can check? I'm going
>>>     to be Googling for an answer in the meantime, but if 
>> anyone can save
>>>     me some effort on that I'd really appreciate it.
>>>
>>>     --
>>>     --
>>>
>>>     Eric Fesh
>>>     Customer Support Engineer/Software Test Engineer
>>>     Verari Systems Software, Inc.
>>>     110 12th Street North, Suite D103
>>>     Birmingham, AL 35203
>>>     Phone +1-205-397-3141 ext. 3149
>>>     Fax +1-205-397-3142
>>>     [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>>>     http://www.verarisoft.com/
>>>
>>>     The information contained in this communication may be 
>> confidential
>>>     and is
>>>     intended only for the use of the recipient(s) named 
>> above.  If the
>>>     reader of
>>>     this communication is not the intended recipient(s), 
>> you are hereby
>>>     notified
>>>     that any dissemination, distribution, or copying of this
>>>     communication, or
>>>     any of its contents, is strictly prohibited.  If you 
>> are not a named
>>>     recipient or received this communication by mistake, 
>> please notify
>>>     the sender
>>>     and delete the communication and all copies of it.
>>>
>>>     
>> --------------------------------------------------------------
>> -----------
>>>     Take Surveys. Earn Cash. Influence the Future of IT
>>>     Join SourceForge.net's Techsay panel and you'll get the 
>> chance to
>>>     share your
>>>     opinions on IT & business topics through brief surveys 
>> - and earn cash
>>>     
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge
>> &CID=DEVDEV
>>>     
>> <http://www.techsay.com/default.php?page=join.php&p=sourceforg
> e&CID=DEVDEV>
>>>     _______________________________________________
>>>     WiX-users mailing list
>>>     WiX-users@lists.sourceforge.net 
>> <mailto:WiX-users@lists.sourceforge.net>
>>>     https://lists.sourceforge.net/lists/listinfo/wix-users
>>>
>>>
>>
>>
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to