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

Bob Arnson bob at firegiant.com
Thu Sep 10 09:56:52 PDT 2020


And one way or t'other, it's going away in WiX v4: The extensions rely on platform being set in the build, not the package. (Technically, that's already true in WiX v3 but as we had fewer platform-specific custom actions, it didn't much matter.)

-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Rob Mensching via wix-users
Sent: Thursday, 10 September, 2020 12:54
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Rob Mensching <rob at firegiant.com>
Subject: Re: [wix-users] ProgramFilesFolder is always Program Files (x86)

VS *should* be setting that value via the `-arch` command-line switch based on the Configuration.

That is preferred to hardcoding "x64" into the source code.

---
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 Hoover, Jacob via wix-users
Sent: Thursday, September 10, 2020 9:37 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Hoover, Jacob <Jacob.Hoover at greenheck.com>
Subject: Re: [wix-users] ProgramFilesFolder is always Program Files (x86)

/Product/Package/@Platform="x64"



From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Pascal Cloup via wix-users
Sent: Thursday, September 10, 2020 11:13 AM
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/<http://www.firegiant.com>
NOTE: This email was received from an external source. Please use caution when opening links or attachments in the message.

____________________________________________________________________
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