Comments (4)
Hi,
you do not need to set this property to true
as it is the default value.
What kind of application are you running? Windows Forms, Console or WPF?
By default, nUpdate will call Application.Exit
on your program once the installation process is started. May it be that you have some code in your program that prevents the closing of each form from happening?
Of course, it would be good to know your application type as WPF and console need a small workaround to get this working atm. For that the TerminateApplication
method is marked as virtual
. You may want to override it and kill your application the way that it needs to be done.
Best,
Dominic
from nupdate.
I'm programming in WinForms currently.
The process I can see on screen once the InstallPackage method is called is that an error box pops up saying the executable is locked just as my application closes. This does all occur within the space of a second or so. I don't have any code overriding the shutdown of the app.
from nupdate.
Do you have any code in your application that keeps it running even if all forms are closed (e. g. NotifyIcon or any else running services)?
You may want to try creating a class that inherits from UpdateManager
and override the TerminateApplication
method to kill your process without any resting active resources.
Then use this UpdateManager
subclass instead.
Best,
Dominic
from nupdate.
Hi @ProgTrade, took a while to get back to you as I'm working on many things at once.
I was able to overcome this issue by shifting the updating code into my Program.cs before my first form can be initialized. It would have been desirable to have included this in my form so I can notify the user that the update is starting but that isn't a big deal as my use case will require all updates to be mandatory anyway and most only delay startup by a few more seconds by my testing.
Thanks for your help!
Hope this assists anyone with a similar issue
from nupdate.
Related Issues (20)
- Question: Merging Files HOT 10
- Updater doesnt work (Path may contain an empty string or just a space.) HOT 5
- Update window style issue HOT 1
- Errors uploading package, deleting package, checking configuration file HOT 19
- "update.json" file is inaccessible
- ios
- Can I use this project in my c++ project? HOT 1
- Thanks for reaching out!
- nUpdate Administration: Operations not responsive HOT 2
- Provide a usage example directly inside readme HOT 1
- is this project still alive? HOT 2
- Software is already up-to-date HOT 5
- Question: Invalid signature data found HOT 8
- SFTP Support HOT 2
- Agenda HOT 1
- Using no user interface HOT 1
- Problems reading the "updates.json" from ftp HOT 5
- Opens program after successful update HOT 2
- Please make a youtube tutorail how to use nUpdater #feature
- Sign "nUpdateInstaller" with a Certificate HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nupdate.