windows-installer icon indicating copy to clipboard operation
windows-installer copied to clipboard

Electron MSI package name ends with machine why?

Open ArunKathir98 opened this issue 2 years ago • 1 comments

Hi,

Thanks in advance if someone ready to help..

I have created package using electron forge (maker/wix).

I am able to generate msi package by using electron forge configuration. But I am facing 1 issue.

After the installation I am getting installed package along with (Machine) -Eg: applicationname**(Machine)**.

Also I have tried with signed package but still it seems issues occur.

Any idea why this issue raises and how to resolve this ?

Could someone help on this?

ArunKathir98 avatar Sep 06 '23 12:09 ArunKathir98

I faced this issue just now. It depends by electron-wix-msi XML templates: https://github.com/electron-userland/electron-wix-msi/tree/master/static

Anyway you can manually change it before package creation in this way:

{ "name": "@electron-forge/maker-wix", "config": { ... beforeCreate: async (msiCreator) => { msiCreator.wixTemplate = msiCreator.wixTemplate.replace(" (Machine - MSI)", ''); msiCreator.wixTemplate = msiCreator.wixTemplate.replace(" (Machine)", ''); } } }

PaserSRL avatar Jan 24 '24 08:01 PaserSRL