Use ProgramFiles64Folder instead of ProgramFilesFolder.

We use preprocessor variable like this to support both platforms in a single 
wxs file set.

<?ifdef Win64Build?>
<?define ProgramFilesFolder="ProgramFiles64Folder"?>
<?else?>
<?define ProgramFilesFolder="ProgramFiles"?>
<?endif?>

<Directory Id="TARGETDIR" Name="SourceDir">
        <Directory Id="$(var.ProgramFilesFolder)" SourceName="PFiles" 
LongSource="ProgramFiles">
... more directories here ...
        </Directory>
</Directory>

Regards,

Chesong Lee

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Randall
Sent: Wednesday, August 30, 2006 9:51 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Program Files vs Program Files (x86)


My install of 64bit stuff is ending up in the x86 program files directory.
I've tried setting the Name and Long Name in the Directory but it doesn't
have an effect.  

How do you force the use of the 64bit Program Files directory as the
destination?

-Robert. 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chesong Lee
Sent: Tuesday, August 29, 2006 8:55 PM
To: Robert Randall; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] .MSI for x64...

We are using LaunchCondition like this to prevent 32-bit packages to be
installed in 64-bit Windows.

<Condition Message="This package cannot be installed in 64-bit Windows. Use
the package for 64-bit Windows."> Not VersionNT64 </Condition>

Regards,

Chesong Lee

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert Randall
Sent: Tuesday, August 29, 2006 9:38 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] .MSI for x64...


Is there a FAQ or HOWTO on the specifics for building an x64 only package.
I've started one and noticed that it WILL install on x86 (32bit) OSs without
complaining.  I'm sure there is a simple way to restrict the package to x64
only but I've not been able to find it searching the archives and the web.
I've read a bit about using x64 in the Platforms attribute for the Package
but I can't tell if that is enough.  Is there also a way to restrict the x86
package so it WILL NOT install on x64?

Still loving WiX and using it from the DDK...  Go figure... 
 
Thanks,
Robert 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to