Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Electron MSI package name ends with machine why? #481

Open
ArunKathir98 opened this issue Sep 6, 2023 · 1 comment
Open

Electron MSI package name ends with machine why? #481

ArunKathir98 opened this issue Sep 6, 2023 · 1 comment

Comments

@ArunKathir98
Copy link

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?

@PaserSRL
Copy link

PaserSRL commented Jan 24, 2024

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)", '');
}
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants