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

Installer runs briefly then quit #403

Open
Torsio opened this issue Dec 16, 2021 · 4 comments
Open

Installer runs briefly then quit #403

Torsio opened this issue Dec 16, 2021 · 4 comments

Comments

@Torsio
Copy link

Torsio commented Dec 16, 2021

This is an image

My installer window show up for a quarter of second then quits without installing

What can I do to find what causes this bug?

@david-fiaty
Copy link

Same here

@anaisbetts
Copy link
Contributor

This is not windows-installer if you are seeing an MSI dialog

@david-fiaty
Copy link

david-fiaty commented Oct 11, 2022

@anaisbetts, I confirm that I've produced a .msi with electron/windows-installer (winstaller), and when I double click on it, the dialog opens for 1 second then disappears and that's it. Exactly like in the screenshot provided by @Torsio. It appears that we both have the same issue.

@anaisbetts
Copy link
Contributor

anaisbetts commented Oct 11, 2022

Oh, you're using the Machine-wide deployment. This MSI is intended for enterprise deployment scenarios, not for regular users. If you log out and log back in and wait a sec or two, you'll see that your app is installed. This is because the MSI is intended for enterprise deployment where the MSI is run under an admin user account that is typically not the actual user's account.

Instead, you want to use the Setup.exe that is generated.

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

3 participants