admin rights? ARG!
hi all,
here's my problem;
using Wise Package studio, i have created a MST file for a vendor MSI but when i distribute it, even though the distribution software works with the system account, the application doesn't install complaining that the current logged in user doesn't have admin rights and cannot install for all users.
is there a way to bypass this? a trick or something?
i can provide more details if needed.
thanks in advance for the answer!
here's my problem;
using Wise Package studio, i have created a MST file for a vendor MSI but when i distribute it, even though the distribution software works with the system account, the application doesn't install complaining that the current logged in user doesn't have admin rights and cannot install for all users.
is there a way to bypass this? a trick or something?
i can provide more details if needed.
thanks in advance for the answer!
0 Comments
[ + ] Show comments
Answers (20)
Please log in to answer
Posted by:
FrankSpierings
17 years ago
This commonly occurs because a LaunchCondition has been set within the MSI. Native MSI vendors offten mistake the Priviliged property for the AdminUser property. This issue has been addressed within Windows Vista.
Check the LaunchCondition table.
Otherwise it could be a custom action. If this is the case, you could try to delete the custom action. Be carefull with this though. Always do a full functional test (or compare two snapshots) when removing an unknown action.
More information:
http://msdn2.microsoft.com/en-us/library/aa367545.aspx
Hope this helps you out.
Check the LaunchCondition table.
Otherwise it could be a custom action. If this is the case, you could try to delete the custom action. Be carefull with this though. Always do a full functional test (or compare two snapshots) when removing an unknown action.
More information:
http://msdn2.microsoft.com/en-us/library/aa367545.aspx
Hope this helps you out.
Posted by:
anonymous_9363
17 years ago
The app is probably trying to write to a file/folder and/or registry key(s) to which the logged-in user has no rights.
Use ProcMon, or your chosen process/file/registry monitor of choice, to see what file and/or registry access the app is trying to make. Once you know that, you can permission the relevant file/registry key(s) wiuth suitable permissions. Avoid using the LockPermission table, unless you're into self-flagellation: use a command-line utility like SetACL.
Use ProcMon, or your chosen process/file/registry monitor of choice, to see what file and/or registry access the app is trying to make. Once you know that, you can permission the relevant file/registry key(s) wiuth suitable permissions. Avoid using the LockPermission table, unless you're into self-flagellation: use a command-line utility like SetACL.
Posted by:
kardock
17 years ago
Posted by:
kardock
17 years ago
Posted by:
FrankSpierings
17 years ago
- Any other conditions?
- Write a log file (either by using the policy: http://support.microsoft.com/kb/223300) or using the command-line: "/l*v %TMP%\InstallationLog.txt"
--> Check the log file for the last action before it quits (or rolls back).
- I was re-reading your first post.... Does the error message actually include the message that it cannot install for all-users (as in ALLUSERS=1) ?
Hope it will help
PS: You did remove the LaunchCondition from the MST, not the MSI correct?
- Write a log file (either by using the policy: http://support.microsoft.com/kb/223300) or using the command-line: "/l*v %TMP%\InstallationLog.txt"
--> Check the log file for the last action before it quits (or rolls back).
- I was re-reading your first post.... Does the error message actually include the message that it cannot install for all-users (as in ALLUSERS=1) ?
Hope it will help
PS: You did remove the LaunchCondition from the MST, not the MSI correct?
Posted by:
kardock
17 years ago
i have removed the condition from the mst and it wasn't working so i tried ermoved it also from the msi. at this point, i'm willing to try anything.
for the log file, i already have tried it and this is what i got;
MSI (s) (F8:64) [14:51:09:772]: Doing action: LaunchConditions
Action start 14:51:09: LaunchConditions.
You do not have sufficient privileges to complete this installation for all users of the machine. Log on as an administrator and then retry this installation.
MSI (s) (F8:64) [14:51:09:772]: Product: eQRP -- You do not have sufficient privileges to complete this installation for all users of the machine. Log on as an administrator and then retry this installation.
Action ended 14:51:09: LaunchConditions. Return value 3.
i don't understand because now the LauchCondition table is empty.
thansk!
for the log file, i already have tried it and this is what i got;
Action start 14:51:09: LaunchConditions.
You do not have sufficient privileges to complete this installation for all users of the machine. Log on as an administrator and then retry this installation.
MSI (s) (F8:64) [14:51:09:772]: Product: eQRP -- You do not have sufficient privileges to complete this installation for all users of the machine. Log on as an administrator and then retry this installation.
Posted by:
FrankSpierings
17 years ago
Posted by:
kardock
17 years ago
Posted by:
kardock
17 years ago
Posted by:
anonymous_9363
17 years ago
Posted by:
anonymous_9363
17 years ago
Posted by:
kardock
17 years ago
Posted by:
FrankSpierings
17 years ago
Posted by:
kardock
17 years ago
hi Frank, thanks for the answer!
i'm able to install the app with an admin account logged on the machine via the distribution software, but not with a test account.
i have already search all the tables for AdminUser and i can't find it from the time i have erased the AdminUser condition in the LaunchCondition table.
i was able to bypass the problem with a runas in a winbatch script, so the app can be installed now but i was hoping to fix the problem, not bypass it. when the admin password will change in the future, we will have to repackage this app with the correct password.
at least i could deliver the package on time. that was the main concern for now, but if i found a solution i will package a new release.
thanks all for your help, it's much appreciated!
i'm able to install the app with an admin account logged on the machine via the distribution software, but not with a test account.
i have already search all the tables for AdminUser and i can't find it from the time i have erased the AdminUser condition in the LaunchCondition table.
i was able to bypass the problem with a runas in a winbatch script, so the app can be installed now but i was hoping to fix the problem, not bypass it. when the admin password will change in the future, we will have to repackage this app with the correct password.
at least i could deliver the package on time. that was the main concern for now, but if i found a solution i will package a new release.
thanks all for your help, it's much appreciated!
Posted by:
jib
17 years ago
Posted by:
anonymous_9363
17 years ago
Posted by:
kardock
17 years ago
i tried procmon but no errors detected, but i have made some progress.
as a test, only to see how it would behave, i have deleted the merge modules from the mst file and now, although the package is obviously complaining that some files are missing, i don't have any error saying Admin Rights are required.
it's clear to me that the check for this condition comes from one of those MM, i now have to found which one.
thanks!
as a test, only to see how it would behave, i have deleted the merge modules from the mst file and now, although the package is obviously complaining that some files are missing, i don't have any error saying Admin Rights are required.
it's clear to me that the check for this condition comes from one of those MM, i now have to found which one.
thanks!
Posted by:
FrankSpierings
17 years ago
Posted by:
kardock
17 years ago
hi all,
i finally was able to make some progress with this thing.
the problem, in fact, is not related to the package. if i do a runas with an admin account, the installation works fine.
but if i runas as the system account, the i have rights problem.
so the system account has to be fixed!
thanks all for the time you put to try to help me, and sorry if i misdirected you on the real problem.
i finally was able to make some progress with this thing.
the problem, in fact, is not related to the package. if i do a runas with an admin account, the installation works fine.
but if i runas as the system account, the i have rights problem.
so the system account has to be fixed!
thanks all for the time you put to try to help me, and sorry if i misdirected you on the real problem.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.