[WiX-users] 32 & 64 bi

2008-01-07 Thread DE�K JAHN, G�bor
On Sun, 6 Jan 2008 22:19:51 -0800 (PST), SaiTeja wrote:

SaiTeja,

> In my case I dont want separate features. I modified the code. Plz
> have a look and let me know

Macros are evaluated on *your* machine when you compile not on your users' 
machine when they install your application. You can't use them for run-time 
decisions. Use  elements instead.

Bye,
   Gábor

---
DEÁK JAHN, Gábor -- Budapest, Hungary
E-mail: [EMAIL PROTECTED]

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] 32 & 64 bi

2008-01-06 Thread SaiTeja

Hi Aaron,

Thanks for responses

In my case I dont want separate features. I modified the code. Plz have a
look and let me know

















 


(VersionNT) AND (NOT
VersionNT64)



(VersionNT64)








VersionNT64

VersionNT AND NOT
VersionNT64






Aaron Shurts wrote:
> 
> To further elaborate, consider the following snippet (I tested and it
> works):
> 
>  SourceName="Program Files">
> 
>  Guid="{FC288E49-D459-4EE8-AC1F-375497A6E09B}">
>  KeyPath="yes" DiskId="1" Source="SourceDir\File\Common.txt" />
> 
>  Guid="{E4D22ADB-9A91-4388-8F5E-391DB1CCB211}">
> (VersionNT) AND (NOT
> VersionNT64)
>  KeyPath="yes"
> DiskId="1" Source="SourceDir\File\_32bit.txt" />
> 
> 
> 
>  ShortSourceName="PROGRA~1"
> SourceName="Program Files">
> 
>  Guid="{8EE8C9CE-2F2A-43B8-B6B6-AD8E01A4109F}" Win64="yes">
> (VersionNT64)
>  KeyPath="yes"
> DiskId="1" Source="SourceDir\File\_64bit.txt" />
> 
> 
> 
> 
> 
>  Level="3" Title="32bit">
> 
> VersionNT64
> 
>  Level="3" Title="64bit">
> 
> VersionNT AND NOT
> VersionNT64
> 
>  Level="3" Title="Common">
> 
> 
> 
> //aj
> 
> On Jan 4, 2008 6:09 PM, Aaron Shurts <[EMAIL PROTECTED]> wrote:
> 
>> I wouldn't think the package architecture would be terribly important.  A
>> 32-bit package can be installed on either.  I believe the key would be
>> marking the individual components as either 32-bit or 64-bit by setting
>> the
>> msidbComponentAttributes64bit attribute.  You could even go so far as
>> separating them in two separate features and adding component conditions
>> to
>> ensure that 32-bit only components do not get installed on a 64-bit
>> system.
>>
>> The only question is would the Windows Installer service complain about a
>> package marked Intel in the Template Summary that contains 64-bit
>> components.
>>
>> //aj
>>
>>
>> On Jan 4, 2008 10:20 AM, Christopher Painter < [EMAIL PROTECTED]> wrote:
>>
>> > According to Stefan Krueger's blog Advanced Installer 6.1 supports the
>> > ability to build unified mixed 32/64 bit packages.  I haven't looked to
>> see
>> > how they do it under the hood and I don't know if the technique is one
>> that
>> > WiX would support one day or not.
>> >
>> >
>> http://msmvps.com/blogs/installsite/archive/2007/12/20/advanced-installer-6-1-brings-unified-32-64-bit-installers-and-windows-firewall-support.aspx
>> >
>> >
>> >
>> > *Bob Arnson <[EMAIL PROTECTED]>* wrote:
>> >
>> > SaiTeja wrote:
>> > > 1) Is it possible to create one MSI for both 32bit and 64 bit OS
>> > >
>> >
>> > If you need to install 64-bit components, you must have a 64-bit
>> > package. If you have only 32-bit components, then a 32-bit package will
>> > install fine on an x64 OS.
>> >
>> > --
>> > sig://boB
>> > http://joyofsetup.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
>> >
>> >
>> > --
>> > Looking for last minute shopping deals? Find them fast with Yahoo!
>> >
>> Search.
>> >
>> >
>> >
>> -
>> > 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/
> ___

Re: [WiX-users] 32 & 64 bi

2008-01-04 Thread Aaron Shurts
To further elaborate, consider the following snippet (I tested and it
works):







(VersionNT) AND (NOT
VersionNT64)







(VersionNT64)








VersionNT64



VersionNT AND NOT
VersionNT64





//aj

On Jan 4, 2008 6:09 PM, Aaron Shurts <[EMAIL PROTECTED]> wrote:

> I wouldn't think the package architecture would be terribly important.  A
> 32-bit package can be installed on either.  I believe the key would be
> marking the individual components as either 32-bit or 64-bit by setting the
> msidbComponentAttributes64bit attribute.  You could even go so far as
> separating them in two separate features and adding component conditions to
> ensure that 32-bit only components do not get installed on a 64-bit system.
>
> The only question is would the Windows Installer service complain about a
> package marked Intel in the Template Summary that contains 64-bit
> components.
>
> //aj
>
>
> On Jan 4, 2008 10:20 AM, Christopher Painter < [EMAIL PROTECTED]> wrote:
>
> > According to Stefan Krueger's blog Advanced Installer 6.1 supports the
> > ability to build unified mixed 32/64 bit packages.  I haven't looked to see
> > how they do it under the hood and I don't know if the technique is one that
> > WiX would support one day or not.
> >
> > http://msmvps.com/blogs/installsite/archive/2007/12/20/advanced-installer-6-1-brings-unified-32-64-bit-installers-and-windows-firewall-support.aspx
> >
> >
> >
> > *Bob Arnson <[EMAIL PROTECTED]>* wrote:
> >
> > SaiTeja wrote:
> > > 1) Is it possible to create one MSI for both 32bit and 64 bit OS
> > >
> >
> > If you need to install 64-bit components, you must have a 64-bit
> > package. If you have only 32-bit components, then a 32-bit package will
> > install fine on an x64 OS.
> >
> > --
> > sig://boB
> > http://joyofsetup.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
> >
> >
> > --
> > Looking for last minute shopping deals? Find them fast with Yahoo!
> > Search.
> >
> >
> > -
> > 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] 32 & 64 bi

2008-01-04 Thread Aaron Shurts
I wouldn't think the package architecture would be terribly important.  A
32-bit package can be installed on either.  I believe the key would be
marking the individual components as either 32-bit or 64-bit by setting the
msidbComponentAttributes64bit attribute.  You could even go so far as
separating them in two separate features and adding component conditions to
ensure that 32-bit only components do not get installed on a 64-bit system.

The only question is would the Windows Installer service complain about a
package marked Intel in the Template Summary that contains 64-bit
components.

//aj

On Jan 4, 2008 10:20 AM, Christopher Painter <[EMAIL PROTECTED]> wrote:

> According to Stefan Krueger's blog Advanced Installer 6.1 supports the
> ability to build unified mixed 32/64 bit packages.  I haven't looked to see
> how they do it under the hood and I don't know if the technique is one that
> WiX would support one day or not.
>
>
> http://msmvps.com/blogs/installsite/archive/2007/12/20/advanced-installer-6-1-brings-unified-32-64-bit-installers-and-windows-firewall-support.aspx
>
>
> *Bob Arnson <[EMAIL PROTECTED]>* wrote:
>
> SaiTeja wrote:
> > 1) Is it possible to create one MSI for both 32bit and 64 bit OS
> >
>
> If you need to install 64-bit components, you must have a 64-bit
> package. If you have only 32-bit components, then a 32-bit package will
> install fine on an x64 OS.
>
> --
> sig://boB
> http://joyofsetup.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
>
>
> --
> Looking for last minute shopping deals? Find them fast with Yahoo! 
> Search.
>
> -
> 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