[wix-users] ProgramFilesFolder is always Program Files (x86)

Pascal Cloup ptpas059 at gmail.com
Thu Sep 10 10:21:59 PDT 2020


Hi,

woah, what a lot of replies, thanks to all.
Finally, after adding  'Platform="x64"' as suggested above in the line
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine"
Platform="x64" />
of the wxs file, i could change the target in configuration, and then the
option in the properties of the setup project.
Then by changing the line
<Directory Id="ProgramFilesFolder"> in the wxs file to
<Directory Id="ProgramFiles64Folder">

this works

I come to Wix because my installer was done with 'visualstudio installer
project' which becomes difficult to use with my app (which contains some
external packages).
So i decided to try Wix, but it seems that this requires much more work;
all have to be done by hand, which is not a progress to my eyes.
I think you will hear from me soon and often ☺
thanks to all

regards

Le jeu. 10 sept. 2020 à 19:01, Rob Mensching via wix-users <
wix-users at lists.wixtoolset.org> a écrit :

> And coming in WiX v4 there is `ProgramFiles6432Folder` that adapts to the
> architecture of the build.
>
> I'm very excited about that feature.
>
> ---
> Short replies here. Complete answers here:
> https://www.firegiant.com/services/
>
> -----Original Message-----
> From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Bob
> Arnson via wix-users
> Sent: Thursday, September 10, 2020 9:51 AM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Cc: Bob Arnson <bob at firegiant.com>
> Subject: Re: [wix-users] ProgramFilesFolder is always Program Files (x86)
>
> https://docs.microsoft.com/en-us/windows/win32/msi/programfiles64folder
>
> -----Original Message-----
> From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of
> Pascal Cloup via wix-users
> Sent: Thursday, 10 September, 2020 12:13
> To: wix-users at lists.wixtoolset.org
> Cc: Pascal Cloup <ptpas059 at gmail.com>
> Subject: [wix-users] ProgramFilesFolder is always Program Files (x86)
>
> Hi,
>
> I'm new to Wix and i try to make an installer for .net application
> targeting x64.
> For my first steps, using 'Wix toolset vs2019 extensions' , i succeeded to
> create a msi file, but this msi always installs the app in the 'Program
> Files (x86)' directory.
> I tried to set the x64 in the configuration manager of VS, in the
> properties of the setup project, but this always the x86 that remains
> selected.
>
> Someone can help?
>
> regards
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>



More information about the wix-users mailing list