windows-installer
windows-installer copied to clipboard
Installer runs briefly then quit
My installer window show up for a quarter of second then quits without installing
What can I do to find what causes this bug?
Same here
This is not windows-installer if you are seeing an MSI dialog
@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.
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.