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

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
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.
Answered 02/11/2008 by: kkaminsk
Ninth Degree Black Belt

Please log in to comment
0
Hi Guys,

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

Please share the solution, if anyone had came across.
Answered 01/16/2012 by: KArthik_acharya
Yellow Belt

Please log in to comment
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>
Answered 01/17/2012 by: pratikpawar
Senior Yellow Belt

Please log in to comment
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
Answered 01/18/2012 by: Gary
Blue Belt

Please log in to comment
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
Answered 01/18/2012 by: pratikpawar
Senior Yellow Belt

Please log in to comment
0
Hi,

Tried TERMINATECHILDREN = TRUE but no luck

Regards,
Gaurav
Answered 01/18/2012 by: Gary
Blue Belt

Please log in to comment
0
Try OSD scripting

to kill process
Answered 01/18/2012 by: pratikpawar
Senior Yellow Belt

Please log in to comment
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,
Answered 01/24/2012 by: Gary
Blue Belt

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