×

Discussion Board

Results 1 to 1 of 1
  1. #1
    Regular Contributor
    Join Date
    May 2003
    Location
    Nice, France
    Posts
    123

    [SOLVED] .SIS killing a running application?

    Well, sorry for wasted bandwidth - as usual, 10 minutes after I posted that message, I found the solution: it was to invert the killing and the bg-application positions in the .pkg file (the 2 MyAppKiller lines AFTER the 3 MyApp line).

    Sorry for that,
    Daniel.

    -------------------------------------------
    Original post:

    Hello all.

    I have a problem with a background-only application (application launched by a recognizer) when I want to upgrade/remove it. Since it is busy, the installation fails...

    I did a little application which kills that application and exits, and I tried playing with the FR (FILERUN) option of the .pkg file, with no success until now :-(

    I have the following lines in my pkg:

    ...
    ; We have to kill the previous MyApp, which may be running
    "MyAppKiller.RSC"-"C:\system\apps\MyApp\MyAppKiller.rsc"
    "MyAppKiller.APP"-"C:\system\apps\MyApp\MyAppKiller.app",FILERUN,RUNBOTH,RUNWAITEND

    ; Installs the background-only application
    "MyApp"-"C:\system\apps\MyApp\MyApp.aif"
    "MyApp"-"C:\system\apps\MyApp\MyApp.rsc"
    "MyApp"-"C:\system\apps\MyApp\MyApp.app",FILERUN,RUNINSTALL

    But it does not work as I was hoping, since the warning message is displayed - even if clicking on Ignore will successfully launch my killing application and continue the installation...

    So, has any of you a solution? I heard it IS possible, but now I really wonder how...

    Thanks for your attention (and help?),
    Daniel.
    Last edited by dchiaramello; 2003-09-24 at 16:57.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •