简体   繁体   中英

Protecting user files after installation with ClickOne

For example .sqlite files, or use custom files. How can I protect use files after update? ClickOne every update deletes these files. This is very unreasonable.

You could put any files that need to change separate from the click once files. Probably in the %LocalAppData% folder.

If you have default values you want to keep, you could manage it by creating a copy of the downloaded file in the localAppData, if such a copy do not already exists. If you have a server you could download other files separately if needed.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM