Key path question
Hello,
I repackaged Corel Draw 9 (yes, we are using pretty old version). Everything runs fine, except that if I run the (installed) program under user with Power Users permissions (not local admin), then everytime I run it it pops-up "Preparing to install", "Configuring ...". Then the application runs normally, but once I close it and run it again, it's doing again this stuff.
This doesn't happen with user with Local Admin permissions. If I change the user to local admin, it is not performing this "Preparing to install..."; if I change him back to Power User, it's there again.
OK, I know it has to do something with the key paths - these are controlled on the start of application, and if the file/registry key is not found, the msiexec repairs this.
Well, as it doesn't have any problem when I change user to local admin, I guess it means that some key path is not accessible when the user has Power User perms only.
Is there some easy way to find which one? The installation has nearly 300 components (yes, it's big one). Is there any way to process the components in the installation under specific user and find out which components are causing this?
Thx
Honza
I repackaged Corel Draw 9 (yes, we are using pretty old version). Everything runs fine, except that if I run the (installed) program under user with Power Users permissions (not local admin), then everytime I run it it pops-up "Preparing to install", "Configuring ...". Then the application runs normally, but once I close it and run it again, it's doing again this stuff.
This doesn't happen with user with Local Admin permissions. If I change the user to local admin, it is not performing this "Preparing to install..."; if I change him back to Power User, it's there again.
OK, I know it has to do something with the key paths - these are controlled on the start of application, and if the file/registry key is not found, the msiexec repairs this.
Well, as it doesn't have any problem when I change user to local admin, I guess it means that some key path is not accessible when the user has Power User perms only.
Is there some easy way to find which one? The installation has nearly 300 components (yes, it's big one). Is there any way to process the components in the installation under specific user and find out which components are causing this?
Thx
Honza
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
nmi
19 years ago
First, check the event viewer, this will normally tell you straight away which component it is repairing.
Secondly, download filemon/regmon from www.sysinternals.com, this will allow you to see exactly what files/keys are being written to/read from. A tip when using these utils, in the filter window, set the HIGHLIGHT parameter to ACCDENIED (or ACCESSDENIED), this will highlight in red the keys that you should first be looking at.
Let us know how you get on.
nmi
Secondly, download filemon/regmon from www.sysinternals.com, this will allow you to see exactly what files/keys are being written to/read from. A tip when using these utils, in the filter window, set the HIGHLIGHT parameter to ACCDENIED (or ACCESSDENIED), this will highlight in red the keys that you should first be looking at.
Let us know how you get on.
nmi
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.