Permissions Problems
Hello Everyone,
Can anyone help me with the permissions.
when I try to Install the package with Administrtor rights it works properly. But when i try to install with user account it fails to install.
i tried changing the permissions but what happens is When i try to open with the USer account and run the application it automatically changes permissions. Did anyone come across this kind of problem / Any suggesstions.
Can anyone help me with the permissions.
when I try to Install the package with Administrtor rights it works properly. But when i try to install with user account it fails to install.
i tried changing the permissions but what happens is When i try to open with the USer account and run the application it automatically changes permissions. Did anyone come across this kind of problem / Any suggesstions.
0 Comments
[ + ] Show comments
Answers (9)
Please log in to answer
Posted by:
vishwanath_x
16 years ago
Ram,
which permissions you are asking i don't know.
But you can solve premissions problem by using Filemon and Regmon. Former is used for file permissions and latter is for registries. In the user account launch Just start the tool by 'RunAs' option with admin account and launch the shortcut. when it gives error, check the tool report for any 'ACCDENIED' entries.Manually give the permissions to that file/key and check the behaviour of the application
This will solve your problem
Thanks
Vishwanath
which permissions you are asking i don't know.
But you can solve premissions problem by using Filemon and Regmon. Former is used for file permissions and latter is for registries. In the user account launch Just start the tool by 'RunAs' option with admin account and launch the shortcut. when it gives error, check the tool report for any 'ACCDENIED' entries.Manually give the permissions to that file/key and check the behaviour of the application
This will solve your problem
Thanks
Vishwanath
Posted by:
anonymous_9363
16 years ago
ORIGINAL: vishwanath_xNot necessarily. Windows Installer requires admin-level privilege to install software. If you're not using a deployment process e.g. SMS, Radia, Group Policy or whatever, you will need some means to run the installer with suitable privileges.
This will solve your problem
It could also be that the MSI is set up with a property which gets set according to whether or not the user has admin-level privileges or not. Typically these are called 'ADMIN' or 'Privilege' (the latter is common in InstallShield-authored MSIs). In that case, you would need to create a transform for the MSI in which that property is removed.
Even then you may find that the application needs to write files and registry entries to permissioned area during execution, in which case you'll need to permission those areas appropriately. Avoid using the LockPermissions table for that: instead, use SetACL, XCACLS or something similar, run in a Custom Action.
To correct a mistaken impression:
But you can solve premissions problem by using Filemon and Regmon. Former is used for file permissions and latter is for registries.These are *monitoring* tools. They will show you errors caused by* permissioning issues but have nothing to do with permissioning themselves. Lastly, both of these tools have been supplanted by ProcMon, which combines the functionality of both, as well as being able to filter on a vastly increased range of criteria.
Posted by:
reds4eva
16 years ago
Posted by:
Ram
16 years ago
Posted by:
anonymous_9363
16 years ago
ORIGINAL: RamImpossible. Given that you already told us that the user has insufficient privilege to install software, that account won't have privilege to change permissions. More likely, the permissions were never set in the first place.
But the problem is the permissions are reverted back to normal as soon as i run the shortcut from the User Account.
You seem to be confusing file and registry permissions with the privilege required for installing software. I think I already know but, for completeness, EXACTLY what error - word for word - do you get when you attempt to install the package as a user?
Posted by:
Ram
16 years ago
Hello Thankyou for the reply.
The excat popup i get it is
" You cannot use this product at this time. You must repair the problem by uninstalling this product or contacting your IT administrator or Customer support for help"
I used process monitor to check the issue and it showed acess denied for the files. then i tried using Set ACL. But then then.....
Thankyou.
The excat popup i get it is
" You cannot use this product at this time. You must repair the problem by uninstalling this product or contacting your IT administrator or Customer support for help"
I used process monitor to check the issue and it showed acess denied for the files. then i tried using Set ACL. But then then.....
Thankyou.
Posted by:
anonymous_9363
16 years ago
when I try to Install the package with Administrtor rights it works properly. But when i try to install with user account it fails to install.So, in fact, nothing to do with the content of your original post...
i tried changing the permissions but what happens is When i try to open with the USer account and run the application it automatically changes permissions. Did anyone come across this kind of problem / Any
You're now saying that, as an admin, you don't see the "You must uninstall this product" message but you do as a regular user?
Posted by:
anonymous_9363
16 years ago
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.