Re: [WiX-users] Explanation for why you can't have both a 32-bit and 64-bit installer

2007-10-02 Thread Adrian Gantoi
What you can do with MSI :
- create an installer which will install Win32 components on Win32 platforms
- create an installer which will install x64 and/or Win32 components on x64 
platforms
You can't however create a single MSI for both Win32 and x64 platforms.
Because a MSI must be specified as for Win32 or for x64.
The Win32 MSI will be installed on a x64 platform (but can install only Win32 
components).
The x64 MSI will NOT run on Win32 platforms.
You will have to create separate Win32 and x64 MSIs (at best, the x64 MSI can 
install both Win32 and x64 components).
Nothing to do with WiX - these are basic limitations of Windows Installer.


- Original Message 
From: OneReallyCoolApplication [EMAIL PROTECTED]
To: wix-users@lists.sourceforge.net
Sent: Monday, October 1, 2007 7:08:06 PM
Subject: [WiX-users] Explanation for why you can't have both a 32-bit and 
64-bit installer


I am supposed to create a MSI package using WiX that can detect whether the
computer it's on has 32-bit or 64-bit architecture, and install different
files for each. I have browsed Nabble and found replies that say making a
single installer that does this is impossible, such as these:

http://www.nabble.com/32-and-64-bit-installer-in-one-tf2635209.html
http://www.nabble.com/64-bit-newbie-question-tf3979370.html

However my boss is not satisfied with this explanation and wants a detailed
technical explanation of why WiX or Windows Installer cannot do this. Could
any of you give this explanation or perhaps suggest an alternative that I
could do? Any links to outside sources would be great, since I suspect my
boss doesn't trust Nabble much. Thanks in advance for your help. 
-- 
View this message in context: 
http://www.nabble.com/Explanation-for-why-you-can%27t-have-both-a-32-bit-and-64-bit-installer-tf4549274.html#a12982169
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


  

Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, 
and more!
http://tv.yahoo.com/collections/3658 -
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Explanation for why you can't have both a 32-bit and 64-bit installer

2007-10-02 Thread Dana Gutride
The MSDN Windows Installer documentation should be sufficient to explain
this limitation.  I'd start here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/windows_installer_on_64_bit_operating_systems.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/using_64-bit_windows_installer_packages.asp

I think the key is that you can't have components that install to the 64-bit
locations unless the package is specifically marked as a 64-bit package.
Once the package is marked that way, you won't be able to run it on a 32-bit
system.

Dana



On 10/2/07, Adrian Gantoi [EMAIL PROTECTED] wrote:

 What you can do with MSI :
 - create an installer which will install Win32 components on Win32
 platforms
 - create an installer which will install x64 and/or Win32 components on
 x64 platforms
 You can't however create a single MSI for both Win32 and x64 platforms.
 Because a MSI must be specified as for Win32 or for x64.
 The Win32 MSI will be installed on a x64 platform (but can install only
 Win32 components).
 The x64 MSI will NOT run on Win32 platforms.
 You will have to create separate Win32 and x64 MSIs (at best, the x64 MSI
 can install both Win32 and x64 components).
 Nothing to do with WiX - these are basic limitations of Windows Installer.

 - Original Message 
 From: OneReallyCoolApplication [EMAIL PROTECTED]
 To: wix-users@lists.sourceforge.net
 Sent: Monday, October 1, 2007 7:08:06 PM
 Subject: [WiX-users] Explanation for why you can't have both a 32-bit and
 64-bit installer

 I am supposed to create a MSI package using WiX that can detect whether
 the
 computer it's on has 32-bit or 64-bit architecture, and install different
 files for each. I have browsed Nabble and found replies that say making a
 single installer that does this is impossible, such as these:

 http://www.nabble.com/32-and-64-bit-installer-in-one-tf2635209.html
 http://www.nabble.com/64-bit-newbie-question-tf3979370.html

 However my boss is not satisfied with this explanation and wants a
 detailed
 technical explanation of why WiX or Windows Installer cannot do this.
 Could
 any of you give this explanation or perhaps suggest an alternative that I
 could do? Any links to outside sources would be great, since I suspect my
 boss doesn't trust Nabble much. Thanks in advance for your help.
 --
 View this message in context:
 http://www.nabble.com/Explanation-for-why-you-can%27t-have-both-a-32-bit-and-64-bit-installer-tf4549274.html#a12982169
 Sent from the wix-users mailing list archive at Nabble.com.


 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


 --
 Shape Yahoo! in your own image. Join our Network Research Panel 
 today!http://us.rd.yahoo.com/evt=48517/*http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7

 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Explanation for why you can't have both a 32-bit and 64-bit installer

2007-10-02 Thread Karim MacDonald


OneReallyCoolApplication wrote:
 
 I am supposed to create a MSI package using WiX that can detect whether
 the computer it's on has 32-bit or 64-bit architecture, and install
 different files for each.
 
I believe that this is possible (using the VersionNT64 property) *provided
you're not trying to install 64-bit files or install into the
64-bit-specific parts of the registry or file-system*.
As soon as you need to start making 64-bit reg/file-system changes then you
need a 64-bit MSI, and of course this won't run on 32-bit windows.
It *is* possible to conditionally compile a 32- or 64-bit MSI from a single
set of source, but you need to be careful with things like component codes.
-- 
View this message in context: 
http://www.nabble.com/Explanation-for-why-you-can%27t-have-both-a-32-bit-and-64-bit-installer-tf4549274.html#a12999699
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Explanation for why you can't have both a 32-bit and 64-bit installer

2007-10-01 Thread OneReallyCoolApplication

I am supposed to create a MSI package using WiX that can detect whether the
computer it's on has 32-bit or 64-bit architecture, and install different
files for each. I have browsed Nabble and found replies that say making a
single installer that does this is impossible, such as these:

http://www.nabble.com/32-and-64-bit-installer-in-one-tf2635209.html
http://www.nabble.com/64-bit-newbie-question-tf3979370.html

However my boss is not satisfied with this explanation and wants a detailed
technical explanation of why WiX or Windows Installer cannot do this. Could
any of you give this explanation or perhaps suggest an alternative that I
could do? Any links to outside sources would be great, since I suspect my
boss doesn't trust Nabble much. Thanks in advance for your help. 
-- 
View this message in context: 
http://www.nabble.com/Explanation-for-why-you-can%27t-have-both-a-32-bit-and-64-bit-installer-tf4549274.html#a12982169
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Explanation for why you can't have both a 32-bit and 64-bit installer

2007-10-01 Thread John Hall
 I am supposed to create a MSI package using WiX that can 
 detect whether the computer it's on has 32-bit or 64-bit 
 architecture, and install different files for each. I have 
 browsed Nabble and found replies that say making a single 
 installer that does this is impossible, such as these:
 
 http://www.nabble.com/32-and-64-bit-installer-in-one-tf2635209.html
 http://www.nabble.com/64-bit-newbie-question-tf3979370.html
 
 However my boss is not satisfied with this explanation and 
 wants a detailed technical explanation of why WiX or Windows 
 Installer cannot do this. Could any of you give this 
 explanation or perhaps suggest an alternative that I could 
 do? Any links to outside sources would be great, since I 
 suspect my boss doesn't trust Nabble much.

Fundamentally it's an MSI restriction. From msi.chm:

A Windows Installer package must be specified as either a 32-bit or a
64-bit package; it cannot be specified as neutral.

Regards,
John

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users