wyupdate | source updater for Windows programs
kandi X-RAY | wyupdate Summary
kandi X-RAY | wyupdate Summary
wyUpdate is the open source updater that's included with wyBuild. wyUpdate checks for updates, downloads any that are available, and safely updates your program. It handles in stride obstacles like Windows Vista's, Windows 7's, and Windows 8's User Account Control (UAC), limited-user problems, and many other subtleties.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of wyupdate
wyupdate Key Features
wyupdate Examples and Code Snippets
Community Discussions
Trending Discussions on wyupdate
QUESTION
We are writing an installer for our Windows tool. As our tool uses an updater (wyUpdate) and we want that users WITHOUT Administator rights can performs updates. Which is the right directory to install the app to? The standard C:\Program Files
requires Administrator rights, so we have discarded this option. After reading a bit on the Web, we have chosen AppData
, i.e. C:\Users\USERNAME\AppData\Local
.
Is this best practice? Or should we use another directory?
...ANSWER
Answered 2019-Aug-02 at 16:01If you do not want to allow your users to mess with the installed program, you have to install it to a folder that needs Administrator privileges.
To allow an automatic update of such application, you need to develop/install a service that runs with Administrator privileges, which will update the installation. This is what Windows Update, Mozilla Maintenance Service, Google Chrome Elevation Service, Adobe Acrobat Update Service and similar services do.
If you do not want to implement a service, but you want the application to be used by all users of the machine, you need to install it to a folder that can be accessed by all users, yet does not need Administrator privileges. You can for example use
C:\Users\Public
. See also Is there a shared folder in Windows to which non-elevated users have write access?. You can usePUBLIC
environment variable to resolve that path.If the application is to be used by one user only, then you are ok with using
C:\Users\Username\AppData\Local
–{userappdata}
in Inno Setup.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install wyupdate
Buy a license to wyBuild (for commercial software projects)
Get a free license to wyBuild (for open source software projects)
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page