Hi All,

When i launch the shortcut, it launched 100% and defaultly it move to sytem tray('No-Shutdown' here) , this made process to run. Now, when i try to unistall the package, it Error throws as "Package is still in use'.

I have tried with the OSD 'Termainatechildren=True', SUBSYSTEMVALUE=CONSOLE and
script to kill process as <SCRIPT EVENT="SHUTDOWN" PROTECT="TRUE" TIMING="POST" WAIT="TRUE" EXTERN="TRUE">. then also not suuuceed.

Please help me, how can i come out of 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
Answered 01/17/2012 by: pratikpawar
Senior Yellow Belt

Please log in to comment
0
Hi Pratik,

Thanks for fast reply. I have tried ur soln, no success in that(issue still remain). is there any option/way to terminate(shutdown) the process while uninstalling in App-v.

Thnks & Regards,
Karthik
Answered 01/17/2012 by: KArthik_acharya
Yellow Belt

Please log in to comment
0
check the task manager properly for the process which is running............

and if any process of ur application is not getting closed then this are the only solutions as i know.......

1 - TerminateChildren = TRUE
2 - OSD scripting

as u said u tried all dis.........

i wll again suggest u to do it again....... u might be doing something wrong........

if TASKKILL command is not working try vb script to kill the process and add that vbs in your package.

<DEPENDENCY>
<SCRIPT TIMING="POST" EVENT="SHUTDOWN" WAIT="TRUE" PROTECT="FALSE"
<SCRIPTBODY>cscript killprocess.vbs</SCRIPTBODY>
</SCRIPT>

Go through this link to understand OSD scripting..........

http://blogs.technet.com/b/appv/archive/2007/10/11/scripting-within-an-osd-file.aspx
Answered 01/17/2012 by: pratikpawar
Senior Yellow Belt

Please log in to comment
0
Hi Prathik,

Thnks for ur suggestions.

NO success with OSD script also :

<VIRTUALENV TERMINATECHILDREN="TRUE">

<SCRIPT EVENT="SHUTDOWN" PROTECT="TRUE{'FALSE' also}" TIMING="POST" WAIT="TRUE" EXTERN="TRUE">
<HREF>WScript.exe "%SFT_MNT%\Sample10.001\Kill_Process.vbs"</HREF>
</SCRIPT>

@If i manually run the 'Kill_Process.vbs', it kill the process. But inside the App-V its not working.

I am hoping, App-v Masters have the solution!!!
Answered 01/17/2012 by: KArthik_acharya
Yellow Belt

Please log in to comment
0
If script is working manually then it should work........ there is no any other option....

1 - Keep PROTECT = FALSE
2 - check path of "%SFT_MNT%" or try with hard coded path to vbs.....

make sure your script is executing

We have done this so many time n it works fine.

All d best
Answered 01/18/2012 by: pratikpawar
Senior Yellow Belt

Please log in to comment
0
Hi Folks,

is there any other options to resolve above query.

Thanks in advance.
Answered 02/06/2012 by: KArthik_acharya
Yellow Belt

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