/build/static/layout/Breadcrumb_cap_w.png

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.
  • 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)

Posted by: kkaminsk 16 years ago
9th Degree Black Belt
0
When this process is open does the SoftGrid client tray say that the application is shut down? The reason I ask is that this process might be running outside of the virtual environment.
Posted by: KArthik_acharya 12 years ago
Yellow Belt
0
Hi Guys,

I am facing the same issue, what 'Caleb.Kirubakaran' had.

Please share the solution, if anyone had came across.
Posted by: pratikpawar 12 years ago
Senior Yellow Belt
0
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
Blue Belt
0
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
Posted by: pratikpawar 12 years ago
Senior Yellow Belt
0
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
Blue Belt
0
Hi,

Tried TERMINATECHILDREN = TRUE but no luck

Regards,
Gaurav
Posted by: pratikpawar 12 years ago
Senior Yellow Belt
0
Try OSD scripting

to kill process
Posted by: Gary 12 years ago
Blue Belt
0
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,
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