mirror of
				https://github.com/velopack/velopack.git
				synced 2025-10-25 15:19:22 +00:00 
			
		
		
		
	
		
			
				
	
	
	
		
			1.8 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			1.8 KiB
		
	
	
	
	
	
	
	
| docs / using / update-process.md | 
|---|
Update Process
The following steps are performed by the UpdateManager each time your app is executed:
- Check for Updates - the RELEASESfile at the distribution location is downloaded and compared to localRELEASESfile to check for any updates.
- Download & Verify Update Packages - if there is a new release, the UpdateManagerdetermines whether to download the deltas or the latest full package (by calculating which one requires less total downloading) to update to the current version. The packages are compared against their SHA1 in theRELEASESfile for verification.
- Build Full Package from Deltas - if delta packages were downloaded, a new full package is created from the previous full package and the downloaded delta file.
- Install New Version - the current version of MyApp is extracted from the full package and placed in a new %LocalAppData%\MyAppinstall directory based on the version number (e.g.,app-1.0.1).
- Update Shortcuts - desktop and Windows Start Menu shortcuts are updated to point to the new MyApp version (via the --processStartcommand line parameter passed toUpdate.exe).
- Previous Version Clean-up - on the next startup of MyApp, all but current and immediately previous version of your app are deleted as part of clean up (e.g., after updating to app-1.0.5, app-1.0.4 will remain, but app-1.0.3 and before will be deleted - see issue #589).
Rollback
Currently, there is no built-in support for rolling back to a previous version.
See Also
- Update Manager - reference guide for the UpdateManager.
- Debugging Updates - tips on debugging your Squirrel application.
| Return: Table of Contents | 
|---|