/build/static/layout/Breadcrumb_cap_w.png

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.

0 Comments   [ + ] Show comments

Answers (9)

Posted by: vishwanath_x 16 years ago
Senior Yellow Belt
0
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
Posted by: anonymous_9363 16 years ago
Red Belt
0
ORIGINAL: vishwanath_x
This will solve your problem
Not 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.

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
Second Degree Blue Belt
0
The problem you are describing, "Unable to install an app as a user", is by design. You have to run the msi with allevated privilage, ie, use Runas, or a deployment tool like SMS.


Very diplomatic Ian :)
My version of regmon doesnt change permissions either.
Posted by: Ram 16 years ago
Senior Purple Belt
0
I tried using SetACl for all registries that were accessed denied.
But the problem is the permissions are reverted back to normal as soon as i run the shortcut from the User Account.

Anymore suggesstions
Posted by: anonymous_9363 16 years ago
Red Belt
0
ORIGINAL: Ram
But the problem is the permissions are reverted back to normal as soon as i run the shortcut from the User Account.
Impossible. 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.

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
Senior Purple Belt
0
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.
Posted by: anonymous_9363 16 years ago
Red Belt
0
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
So, in fact, nothing to do with the content of your original post...

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: Ram 16 years ago
Senior Purple Belt
0
Yes thats right.

Thankyou for getting there
Posted by: anonymous_9363 16 years ago
Red Belt
0
Was the application installed per-user, by any chance, as opposed to per-machine? Does the package explicitly set the ALLUSERS property and, if so, to what value? How is the package being deployed e.g. by SMS, Group Policy, Radia?
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ