SyMenu Forum

SyMenu

 

HomeGeneral discussion & questions

Talk about SyMenu or post suggestions, requests, or how-to questions

App Updates... Messages in this topic - RSS

sl23
sl23
Posts: 285


10/09/2015
sl23
sl23
Posts: 285
How exactly does the update work? Does it remove the existing app folder and it's content to _Trash, or does it simply overwrite existing files with the latest versions?
link
Gianluca
Gianluca
Administrator
Posts: 1274


11/09/2015
Gianluca
Gianluca
Administrator
Posts: 1274
Either.
First SyMenu copies to trash the entire old program folder.
Second it overwrite the old program folder with the fresh files eventually preserving the Update No Copy Files file list.
Third it updates the SyItem entries if necessary.
If something goes wrong the new folder is deleted and the trashed one is completely restored.

It's a very conservative way to deploy an update and maybe a bit expensive (time and disk space) but it is a good way to preserve any settings the user created.
The only con with this method is that it could leave useless old files in place but usually it is not harmful for a program.
link
sl23
sl23
Posts: 285


11/09/2015
sl23
sl23
Posts: 285
OK thanks for explaining, I was just a bit concerned as to what happened if uses data was kept in these folders. For example, rainmeter has a skins folder, so would contain many user files. I just needed to know they are kept intact. Space isn't an issue for me and I like the way you've done it, great job!
link
Gianluca
Gianluca
Administrator
Posts: 1274


11/09/2015
Gianluca
Gianluca
Administrator
Posts: 1274
I hope that disk space is an issue for no one in the 2015 smile smile smile smile smile
link



UGMFree © 2002-2024
PayPal BTC TON