I've been trying to get the auto update feature working with a limited users account and have hit some hurdles. I have my projects set to not require admin rights, and this is in a multi-user enviroment, so that adds to the game
1) The program is first installed using an administrator account to get everything in place and set full control permissions on my folders/files and to place a few registry keys onto the system. To get the key onto each users machine, I've created a key under HKLM\Software\Microsoft\Windows\CurrentControlSet\Run that calls a silent .reg file to install the version number for the auto update to the current users profile. I'm doing it this way so that it doesn't matter who logs into the system, the version number is written so the auto-updater can be called. My problem is that if I manually click on the .reg file it will install the key as expected into the current users machine, but for some reason the HKLM loader key doesn't seem to function. HKLM/Run should come after the user logs in according to MS, so that should not cause the problem.
2) I can't run the updater.exe from my programs folder with a limited account. However, if I move the .exe and the .ini to the desktop and create a shortcut with /checknow it will start the check no problem. I've given my applications folder full rights for all users, so I'm not sure what is causing this.
3) The update will fail after attempting to load from the auto updated on a limited user account. This is both with the auto-update tool and running the temp folder with the downloaded update. I will get a message to the extent of "some or all of this setup requires administrative rights. please contact your administrator if you require assistance". I've not been able to track down anything that would lead me to believe it's anything I'm doing, and nothing I've found with Windows Installer makes me think the user shouldn't be able to update. However, I do know my limited user does not have permissions to even uninstall the application.
Does anyone have answers, solutions, or tips? In a power user or admin account I've never had any trouble with all the different methods for updates I've done. I've also got an enterprise level license so I should have all the required bells and whistles to figure something out.
Help is appreciated in advance!
Thanks,
Chris
FOLLOW US
Get the latest news in Application Packaging