electron-wix-msi icon indicating copy to clipboard operation
electron-wix-msi copied to clipboard

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

Open pjebs opened this issue 4 years ago • 1 comments

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,

pjebs avatar May 28 '20 00:05 pjebs

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,

qnlbnsl avatar Oct 13 '22 14:10 qnlbnsl