We have a suite of programs that check for new versions at startup, and then download new versions to run if required. This is obviously a problem in Windows 7, when it is locked down as a 'standard user', as they can't write to the c:\program files directory and below. Anyone seen a example of an application that gets around with issue ?
Our applications are written in Delphi, but an example in any language would be useful.
Thanks in advance
Update:
We already have a system for determing whether a new version exists, the only problem is the download and install (if required), as this requires elevation. I can't think of a way that doesn't require an elevation prompt, or our users to reduce their security settings.
Update 2 :
I've asked a subsequent question, rather than adding a new one here
The Automatic Updates feature is included with Windows 7, Windows Vista and Windows XP. With the Automatic Updates feature, Windows can automatically keep the computer up to date with the latest updates and enhancements.
On the Microsoft Update site, click Change Settings. Scroll down the page, click to select the Disable Microsoft Update software and let me use Windows Update only check box, and then click Apply changes now.
After January 14, 2020, if your PC is running Windows 7 and you have not purchased Extended Security Updates, the computer will no longer receive security updates. Organizations can purchase ESU at any time during the three years that the offer is available (2020, 2021, and 2022).
There are two options for application installation:
Ad 2: Google Chrome does this. It installs the .exe here:
%LOCALAPPDATA%\Google\Chrome\Application\chrome.exe
--jeroen
Typically what you will see an application do if it needs to escalate permissions is something like this.
This is a pretty common scenario, especially since to update your own DLL you need to go to a secondary process anyway.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With