Process kill to be done
Im working on an app,The application executes a process which runs even after exiting the application.As a result,uninstallation is not happening.
<DEPENDENCY>
<SCRIPT TIMING="POST" EVENT="SHUTDOWN" WAIT="TRUE" PROTECT="TRUE"
<SCRIPTBODY>/KILLPRC PAGEANT.EXE</SCRIPTBODY>
</SCRIPT>
Please advise on the same
- We have modified the OSD with "TERMINATE CHILDREN" = "TRUE".
- How do write a script to kill the process in the OSD? This is what i was trying....
<DEPENDENCY>
<SCRIPT TIMING="POST" EVENT="SHUTDOWN" WAIT="TRUE" PROTECT="TRUE"
<SCRIPTBODY>/KILLPRC PAGEANT.EXE</SCRIPTBODY>
</SCRIPT>
Please advise on the same
0 Comments
[ + ] Show comments
Answers (8)
Please log in to answer
Posted by:
kkaminsk
16 years ago
Posted by:
KArthik_acharya
12 years ago
Posted by:
pratikpawar
12 years ago
ORIGINAL: caleb.kirubakaran
- How do write a script to kill the process in the OSD? This is what i was trying....
<DEPENDENCY>
<SCRIPT TIMING="POST" EVENT="SHUTDOWN" WAIT="TRUE" PROTECT="TRUE"
<SCRIPTBODY>/KILLPRC PAGEANT.EXE</SCRIPTBODY>
</SCRIPT>
Please advise on the same
Use TASKKILL command to kill the process...
try with PROTECT="FALSE" also if it wont work with PROTECT="TRUE"
PROTECT = TRUE :- it runs the script in protected enviroment
PROTECT = FALSE :- it runs the script outside virtual enviroment
Try the below one
<DEPENDENCY>
<SCRIPT TIMING="POST" EVENT="SHUTDOWN" WAIT="TRUE" PROTECT="FALSE"
<SCRIPTBODY>TASKKILL /F PAGEANT.EXE /T</SCRIPTBODY>
</SCRIPT>
Posted by:
Gary
12 years ago
Hi ,
Has anyone have an solution to this, i am facing the same issue , the process get kill but throws a prompt during uninstallation .
Error prompt:
The application is still in use. Check all instances of the application are closed, includingcopies executed by other users, and try again. report the error code to the systemIf the problem persists.Errorcode: 4615186-0B208904-00000C0CThe application virtulization client can not complete the operation.The operation failed because the package is still in use.Report the following error code to the system.Error code: 4615186-00001808-1830B604
Has anyone have an solution to this, i am facing the same issue , the process get kill but throws a prompt during uninstallation .
Error prompt:
The application is still in use. Check all instances of the application are closed, includingcopies executed by other users, and try again. report the error code to the systemIf the problem persists.Errorcode: 4615186-0B208904-00000C0CThe application virtulization client can not complete the operation.The operation failed because the package is still in use.Report the following error code to the system.Error code: 4615186-00001808-1830B604
Posted by:
pratikpawar
12 years ago
ORIGINAL: Gary
Hi ,
Has anyone have an solution to this, i am facing the same issue , the process get kill but throws a prompt during uninstallation .
there might be chances of running child process of your application ....
try TERMINATECHILDREN = TRUE in OSD
or try osd scripting
http://itninja.com/question/adobe-photoshop-cs29
Posted by:
Gary
12 years ago
Hi Guys,
I found a workaround for the error.My application exe process is also dependent on sfttray.exe process due to which it was throwing an error during uninstallation , so if i kill both this processes during uninstallation the uninstall work fine without any error of file inuse.
But now my concern is whether is it safe to stop sfttray process during uninstalling my application.
Regard,
I found a workaround for the error.My application exe process is also dependent on sfttray.exe process due to which it was throwing an error during uninstallation , so if i kill both this processes during uninstallation the uninstall work fine without any error of file inuse.
But now my concern is whether is it safe to stop sfttray process during uninstalling my application.
Regard,
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.