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
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)
Please log in to answer
Posted by:
pratikpawar
12 years ago
Check the solution in the below topic:-
http://itninja.com/question/blackberry-3.6-must-run-setup.exe944
http://itninja.com/question/blackberry-3.6-must-run-setup.exe944
Posted by:
KArthik_acharya
12 years ago
Posted by:
pratikpawar
12 years ago
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
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
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!!!
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
Posted by:
KArthik_acharya
12 years ago
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.