Hi all,
Thanks for your support provided so far. In our application we have self repair option done through the Control Panel->Add/Remove Programs->Click here for Support Information(link) and we want self repair to be done in a restricted user.
The self repair starts but after some time we get error as
"Error 1730. You must be an Administrator to remove this application. To remove this application, you can log on as an Administrator, or contact your technical support group for assistance."
The self repair is working in Administrator mode but the above specified error is displayed in non-admin mode. We have set the AlwaysInstallElevated key to 1. Still its not working.
When we checked log file it seems Install initialize custom action is creating problem.The Log file generated is as below:
MSI (s) (70:9C) [02:35:47:288]: Doing action: InstallInitialize
Action ended 2:35:47: SetSREServiceURL. Return value 1.
MSI (s) (70:9C) [02:35:47:288]: Machine policy value 'AlwaysInstallElevated' is 1
MSI (s) (70:9C) [02:35:47:288]: User policy value 'AlwaysInstallElevated' is 0
MSI (s) (70:9C) [02:35:47:288]: Note: 1: 1730
Action start 2:35:47: InstallInitialize.
MSI (s) (70:9C) [02:35:50:125]: Product: Globalfs Server 1.73.2205.0 -- Error 1730. You must be an Administrator to remove this application. To remove this application, you can log on as an Administrator, or contact your technical support group for assistance.
MSI © (5C:AC) [02:35:47:328]: Font created. Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg
Error 1730. You must be an Administrator to remove this application. To remove this application, you can log on as an Administrator, or contact your technical support group for assistance.
Action ended 2:35:50: InstallInitialize. Return value 3.
Action ended 2:35:50: INSTALL. Return value 3.
Kindly help us to proceed.
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Self repair in restricted user
Started by
bhuvan
, Mar 18 2008 12:33
2 replies to this topic
Posted 19 March 2008 - 12:20
(sigh).....As ever, Bhuvan, run the repair with ProcMon or your choice of process/file/registry monitor. It will tell you what registry and/or file access is taking place. This advice applies to repairs, healing, installs or uninstalls, whatever it is you're doing.
- Don't know why 'x' happened? Want to know why 'y' happened? ProcMon will tell you.
- Try using http://www.google.com before posting.
- I answer questions only via forums. Please appreciate the time I give here and don't send me personal emails.
- Try using http://www.google.com before posting.
- I answer questions only via forums. Please appreciate the time I give here and don't send me personal emails.
Posted 23 March 2008 - 08:48
QUOTE |
MSI (s) (70:9C) [02:35:47:288]: Machine policy value 'AlwaysInstallElevated' is 1 MSI (s) (70:9C) [02:35:47:288]: User policy value 'AlwaysInstallElevated' is 0 |
Both policies must be set to allow the user to run the install with elevated permissions. Note that this is a security problem because this user would be able to run *any* msi install with elevated rights. Potentially he could create a msi that would promote him to the administrators group etc.
Stefan Krüger
InstallSite.org twitter facebook