/build/static/layout/Breadcrumb_cap_w.png

unable to uninstall the application, bcoz process is running

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

Answers (6)

Posted by: pratikpawar 12 years ago
Posted by: KArthik_acharya 12 years ago
Yellow Belt
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
Posted by: pratikpawar 12 years ago
Senior Yellow Belt
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
Posted by: KArthik_acharya 12 years ago
Yellow Belt
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!!!
Posted by: pratikpawar 12 years ago
Senior Yellow Belt
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
Posted by: KArthik_acharya 12 years ago
Yellow Belt
0
Hi Folks,

is there any other options to resolve above query.

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

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
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