Re: [WiX-users] x86 and x64 in same wxs / msi ?

2007-02-07 Thread Robert Randall
To: Robert Randall Cc: 'Dana Gutride'; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] x86 and x64 in same wxs / msi ? Robert Randall wrote: If I mark the package as both 64bit and 32bit will things just work? Assuming of course that I put the correct conditions into the components

Re: [WiX-users] x86 and x64 in same wxs / msi ?

2007-02-07 Thread Dana Gutride
@lists.sourceforge.net *Subject:* Re: [WiX-users] x86 and x64 in same wxs / msi ? Robert Randall wrote: If I mark the package as both 64bit and 32bit will things just work? Assuming of course that I put the correct conditions into the components. Packages can't be both x86 and x64. If you have any 64-bit

Re: [WiX-users] x86 and x64 in same wxs / msi ?

2007-02-07 Thread Bob Arnson
Robert Randall wrote: Can I simply use two packages -- one for 64bit and one for 32bit? Would that solve the problem without having to use conditions in components? Yes. And you can share your WiX authoring between them, using preprocessor variables, for example, to set the

Re: [WiX-users] x86 and x64 in same wxs / msi ?

2007-02-07 Thread Bob Arnson
Dana Gutride wrote: From the msdn documentation (and this is my guess as to why the WiX team choose this course of requiring the components also be marked as 64-bit). http://msdn2.microsoft.com/en-us/library/aa368007.aspx Set this bit to mark this as a 64-bit component. This attribute

Re: [WiX-users] x86 and x64 in same wxs / msi ?

2007-02-06 Thread Dana Gutride
Are you installing only 32-bit dll's? Do you have any problems with file and registry redirection to the 32-bit locations on a 64-bit os? If your program isn't affected by that, than you can use one package for both. I just wanted to mention that because just conditioning the components isn't

Re: [WiX-users] x86 and x64 in same wxs / msi ?

2007-02-06 Thread Robert Randall
-users] x86 and x64 in same wxs / msi ? Are you installing only 32-bit dll's? Do you have any problems with file and registry redirection to the 32-bit locations on a 64-bit os? If your program isn't affected by that, than you can use one package for both. I just wanted to mention that because

Re: [WiX-users] x86 and x64 in same wxs / msi ?

2007-02-06 Thread Matthew Rowan
I think my case is a little different since it is a .NET application and we have some third party dlls that don’t work on a 64-bit machine, so I just switch that component so they don’t install on the 64-bit machine. I don’t know when it is required specifically mark the package or components

Re: [WiX-users] x86 and x64 in same wxs / msi ?

2007-02-06 Thread Bob Arnson
Robert Randall wrote: If I mark the package as both 64bit and 32bit will things just work? Assuming of course that I put the correct conditions into the components. Packages can't be both x86 and x64. If you have any 64-bit components (to write to the 64-bit portions of the file system

[WiX-users] x86 and x64 in same wxs / msi ?

2007-02-05 Thread Robert Randall
The answer to this may be obvious, but I can't seem to find any direction on how to support multiple target OSes from the same package; say x86 and x64 (AMD64) versions. My hunch is there is a simple answer but I've not been able to find a sample project or How-To for this. Would one of the

[WiX-users] x86 and x64 in same wxs / msi ?

2007-02-05 Thread Matthew Rowan
Hi Robert, What I have done is just setup conditions on the platform specific components to install or not dependent on the operating system. eg. Component Id=Comp DiskId=1 Guid=x-3FD7-4DB0-9BBC-2FDF305DE466 !-- Do not install on 64-Bit Windows -- ConditionNOT VersionNT64/Condition File