-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
NSIS setup allowElevation(true) can't open app after install auto #767
Comments
Bump. I'm running into the same problem, any idea of what could be the problem? Thanks! |
same here, this is the relevant part of my package.json "win": { |
Same here. |
develar
added a commit
to develar/electron-builder
that referenced
this issue
Jan 26, 2017
…hes /^[-_0-9a-zA-Z ]+$/ BREAKING CHANGE: installation path change Close electron-userland#1100, electron-userland#767
develar
added a commit
to develar/electron-builder
that referenced
this issue
Jan 26, 2017
…hes /^[-_0-9a-zA-Z ]+$/ BREAKING CHANGE: installation path change Close electron-userland#1100, electron-userland#767, electron-userland#1104
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying create a windows setup (NSIS) file for my app since the default squirrel is a little different from normal setup and user experience is not good (I'm not sure if it's related with no squirrel events handle in my app's main.js).
After change build options and I'm happy to create a NSIS setup (boring installer).
But when I run the setup and select for all users -> install with allow elevation and confirm -> jump to complete page directly.
The related problems are:
((with default 'Run ***' chcked)), the app won't auto open.
If I run the setup by right click and select 'Run as administrator', it works fine for all users just like for myself.
Related items in package.json FYI:
"scripts" : { "dist-w": "build -w --x64" },
"build" : {
"appId": "******",
"app-category-type": "public.app-category.productivity",
"win": {
"target": ["nsis"],
"signingHashAlgorithms": [
"sha256"
],
***
},
"nsis": {
"oneClick": false
}
}
The text was updated successfully, but these errors were encountered: