electron-userland / electron-wix-msi

:dvd: Create traditional MSI installers for your Electron app
MIT License
319 stars 91 forks source link

@electron-forge/maker-wix saves electon app in wrong Program Files #83

Open pjebs opened 4 years ago

pjebs commented 4 years ago

I was told to transfer issue to this repo: https://github.com/electron-userland/electron-forge/issues/1712

@electron-forge/maker-wix saves Electron 9 application in Program Files (x86) folder in Win10. It should store it in Program Files which is for 64-bit applications.

Here is my forge.config.js:

makers: [
    {
        name: "@electron-forge/maker-wix",
        config: {
            programFilesFolderName: "my-app",
            ui: {
                chooseDirectory: false,
qnlbnsl commented 1 year ago

add the arch tag. If you do not specify it then the default is to build a 64 bit app.

makers: [
    {
        name: "@electron-forge/maker-wix",
        config: {
                        arch: "x64",
            programFilesFolderName: "my-app",
            ui: {
                chooseDirectory: false,