Page 5 of 5
Re: Extract archive with XAD plugin
Posted: Thu Jun 22, 2023 10:37 am
by Flinx
If this should be some sort of self-update, then you have to put the updater into a separate program. It then can communicate with the main program via
CreatePort() and
SendMessage().
Re: Extract archive with XAD plugin
Posted: Thu Jun 22, 2023 3:48 pm
by jPV
My solution with Real Amiga SWOS Total Pack was to create a shell script which updates the application and then re-launches it. I give the location of the application to the shell script as an argument so that it knows where to update and where to re-launch it again.
So it goes like this: 1) Create/have/download an updater shell script, 2) Execute the script from the Hollywood application with the application location as an argument (get the location with
GetCurrentDirectory() when program starts), 3) Quit the Hollywood application, 4) The shell script does the job and then launches the Hollywood application.
Re: Extract archive with XAD plugin
Posted: Fri Jun 23, 2023 8:55 am
by papiosaur
Hi!
Thanks a lot for your advices!
I have found another method since my precedent post:
copy the program1 to RAM: (program2)
launch RAM:program2
then END command to close program1
Update program1 and open drower of program1
END program2
I will try to test your solutions too
Have a good day!