-
Notifications
You must be signed in to change notification settings - Fork 267
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
Auto updating application (by an NSIS installer) fails silently #209
Comments
I've also looked into the source code and found out that the installer is launched by |
Please read this article and proceed per it. |
What does your appcast xml look like? I have a similar scenario working (winsparkle + nsis running with |
Sorry for my vague description. I'm using winsparkle v0.6.0 with NSIS v3.05
Previously I'm working in the same scenario as yours. But I switched to a scenario that running the app as an administrator later. The NSIS installer itself has been set to run as an administrator. Here's my testing appcast file which worked before and failing now. It's just a regular appcast.xml
|
I found that if any message box popped within the installer, it then runs smoothly without any issue, even in the silent mode. But if no UI presented, it fails silently. |
Was it working before the running as administrator change? Maybe try a custom application instead of the NSIS installer, see if there is an error code or something happening. |
Firstly, I want to thank you for providing this neat project. I'm using winsparkle to auto-update my application since its first version. After I updated the application to run as administrator, I encountered this particular problem.
Let's say there is a version 0.1 running as administrator. The version 0.2 installer comes with an NSIS installer and the installer itself is also set to run as administrator. Without the silent switch (/S) set in my appcast.xml, the updating rolls out smoothly. However, if the silent switch is on, the updating fails silently. Not a single file will be updated after the application exited. I can see the installer launching and exit shortly in ProcessMonitor.
I've checked the installer downloaded and it's OK. I can even run it manually with the silent switch on successfully.
Any hints would be greatly appreciated.
The text was updated successfully, but these errors were encountered: