Hi,

I took capture for an application.
when i am launching 2 of the shortcuts in user account its giving error....
but when i launch in admin and then in test user its launching....
1. restrated machine
2.given permissions to folders.
can any one provide any solution on this?
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
permissions to registries ?
I think when you launch in admin user., the application is creating something in RunTime which the app is unable to do the same if you launch 1st time in Test User.
Answered 04/27/2010 by: mekaywe
Brown Belt

Please log in to comment
0
Ya for testing that i took capture in admin like 1st snap shot before launching the shortcut 2nd one after launching it.
some HKCR got captured i included them in my package as well .....
even then its not working.
as you said to what all registries we can give permissions?
there are many registry entries in my package. (msi)
any idea?
Answered 04/27/2010 by: sowjanya_230
Senior Yellow Belt

Please log in to comment
0
try giving permisions to main registry hive under HKLM\Software\
folder under ProgramFiles

Use ProcMon, It should guide you in the right direction
Answered 04/27/2010 by: mekaywe
Brown Belt

Please log in to comment
0
Suggest - you use File mon / Reg mon under your test a/c to diagnose issue
Answered 04/27/2010 by: CanDo70
Yellow Belt

Please log in to comment
0
try giving permisions to main registry hive under HKLM\Software\
folder under ProgramFiles
R E A L L Y Bad Idea.

Use ProcMon to find out exactly which resources are being written to and permission those only.
Answered 04/27/2010 by: VBScab
Red Belt

Please log in to comment
0
ORIGINAL: VBScab

try giving permisions to main registry hive under HKLM\Software\
folder under ProgramFiles
R E A L L Y Bad Idea.

Use ProcMon to find out exactly which resources are being written to and permission those only.




Thats just a try if we can ged rid of the error... It doesnt mean that we havvve to give permissions to those in order to avoid shortcut error... Ian
Answered 04/27/2010 by: mekaywe
Brown Belt

Please log in to comment
0
I tried running processexplorer but its just showing which exe its accessing and running...
does processmon is different from processexplorer and how to figure out which resources is it accessing and writing....
can you please help?
Answered 04/27/2010 by: sowjanya_230
Senior Yellow Belt

Please log in to comment
0
Yes procmon is very different. First hit on any search engine takes you here: technet.microsoft.com/en-us/sysinternals/bb896645.aspx

Filter out the process that is your application and then search for some ACCESS DENIED results...
Answered 04/27/2010 by: Rheuvel
Brown Belt

Please log in to comment
0
If you are unable to dig out the registries/files using Procmon then try LUA Buglight tool to identify the registries/files to which permssion needs to be given to resolve the issue.
Answered 04/27/2010 by: Yankir
Senior Yellow Belt

Please log in to comment
0
Hi
i need some help like whenever i launch a shortcut its deleting the hkcr keys (actually i gave permissions to that).
again its serching nd trying to create them
can i do something in my package so that whenever those keys gets deleted it should heal nd get back those keys? automatically
Answered 04/28/2010 by: sowjanya_230
Senior Yellow Belt

Please log in to comment
0
ORIGINAL: Yankir

If you are unable to dig out the registries/files using Procmon then try LUA Buglight tool to identify the registries/files to which permssion needs to be given to resolve the issue.


great tool!

thanks man!
Answered 04/28/2010 by: kardock
Second Degree Green Belt

Please log in to comment
0
Hi Sowjanya,

Import the regsitries in to package and remove delete permissions to test user for these registries..

place an active setup and advertise the shortcut...deletion and healing happens only in admin... any how as the end user m/c's won't be able to delete the keys it should be fine i guess..

and can you name the application for which u r facing the issue..
Answered 04/29/2010 by: swasu
Yellow Belt

Please log in to comment
0
place an active setup and advertise the shortcut...deletion and healing happens only in admin...I suggest a good read of John McFadyen's Windows live blog on self-healing.

Meanwhile, @ sowjanya_230, is the application deleting those keys or is self-healing? Again, ProcMon will show you.
Answered 04/29/2010 by: VBScab
Red Belt

Please log in to comment
0
Hi ,

The applications name is Aspect Unified IP 6.5.2 ....
and when i have run that procmon it showed access denied to 2 of the HKCR\[key-1], HKCR\[key-2]
so i gave full permissions to those keys for user
but as soon as i launch that its deleting them. again somehow its trying to create them but as user doent have any permissions directly to HKCR its again giving error.
dont know excatly whats happening.......
Answered 04/29/2010 by: sowjanya_230
Senior Yellow Belt

Please log in to comment
0
Is you application working fine if you give permissions to HKCR\key1 and key2 ?

Did you capture the application ?
Answered 04/29/2010 by: mekaywe
Brown Belt

Please log in to comment
0
yes its a capture
No ....
even if i give permissions its not.......
it showing access denied for HKCR\clsid\{xxxx} like this kind of key
i gave full control even then showing access denied in procmon
Answered 04/29/2010 by: sowjanya_230
Senior Yellow Belt

Please log in to comment
0
This might not relate to what you are being queried here but an Idea [;)]
< Did you try creating a Response file to make the app install silently.
I believe you will be able to create response files for applications from "Aspect" Vendor >
Answered 04/29/2010 by: mekaywe
Brown Belt

Please log in to comment
0
yes it was a good idea..........but still i dint check whether is this happening in vendor media as well.............
if soo then i think i should trouble shoot this issue in both the cases.......
Answered 04/29/2010 by: sowjanya_230
Senior Yellow Belt

Please log in to comment
0
I think.. the issue you are facing should be resolved by GapCapture. Did you try it?
Answered 04/30/2010 by: mekaywe
Brown Belt

Please log in to comment
0
I will try doing this gap capture
Answered 04/30/2010 by: sowjanya_230
Senior Yellow Belt

Please log in to comment
0
sowjanya,

One question has to be answered in this case: Is a manual installation of the application behaving the same way? (I think you're already looking into that, but I thought I'd ask again)

If this is the case, you have a problem. It would mean the application itself is deleting and rewriting the HKCR keys, and it's not a package issue. No matter what you do with your MSI (self healing/active setup) , it'll be in direct contention with the application's exe, trying to delete/restore the registry keys. Basically it would mean the application is badly designed and, well, you should line up its programmers against a wall and have them shot...

Solution-wise you have 3 options in this case

1) talk to the vendor
2) give users rights on the entire HKCR hive ( not exactly recommended)
3) explain to the business that this app requires local admin rights to run

PJ
Answered 04/30/2010 by: pjgeutjens
Red Belt

Please log in to comment
0
Thanks for the suggestions..
coming to answer for your question.
yes i have installed the media exe and in this case also shortcuts are not launching directly
in user account.
but one thing i tried.
i took capture for only that shortcut in admin account (installing the media exe) i found some keys (HKCR) and files(user account appdata folder)
now i installed the media exe again and installed this msi which i have created in the above step.launched shortcut direcly in test user.
now its working for one shortcut. But the other short cut have the same issue......
one more question like if i give permission directly to HKCR, i am not able to log in in to test user account i mean i am not able to view the task bar itself...
any solution for this like how can able to give permissions direclty to HKCR?
Answered 05/01/2010 by: sowjanya_230
Senior Yellow Belt

Please log in to comment
0
Hi sowjanya,
are you aware of the special composition of the HKCR hive?
This hive is a merge of the following two registry locations:
HKEY_LOCAL_MACHINE\SOFTWARE\Classes
HKEY_CURRENT_USER\Software\Classes
See: http://msdn.microsoft.com/en-us/library/ms724475%28VS.85%29.aspx

So maybe setting the registry keys in the users hive with the installer, solves your problem.

Regards, Nick
Answered 05/02/2010 by: nheim
Tenth Degree Black Belt

Please log in to comment
0
thanks Nick i will try this option.
Answered 05/03/2010 by: sowjanya_230
Senior Yellow Belt

Please log in to comment
0
Hi Sowjanya,

Is that problem resolved !!!!

sreedhar.
Answered 05/12/2010 by: sreedharko
Orange Belt

Please log in to comment
0
Yes...
On one of the Machine which has all the basic applications(i mean generally whatever the machines we use with all the basic applications installed) installed, i installed this application as well along with its pre-reqs..
i dont know how it got automatically launched perfectly.
i mean there is something missing when i installed on a clean machine along with their pre-reqs.
so for another short cut i took the capture for that short cut installing the media.and i included whatever i found their.
some how luckily it worked........................
Answered 05/18/2010 by: sowjanya_230
Senior Yellow Belt

Please log in to comment
0
some how luckily it workedNice to see the scientific approach to packaging in use...
Answered 05/18/2010 by: VBScab
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity