Page 1 of 1

[06 Mar 2008] installation-program

Posted: Sat Jun 13, 2020 5:31 pm
by Ferrule Media
Note: This is an archived post that was originally sent to the Hollywood mailing list on Thu, 06 Mar 2008 22:56:30 -0500

Is it possible to make an installation-gui/program using hollywood ?

What I would like to do is to make a gui, where the user may install a program from a cd, into the harddisk by the click of a button :

By installing, the user should not have any choise of where to install the program - it simply copy the specified files from a drawer of the cd, and replacing the files in a specified drawer of the harddisk..

And in the end the text "update complete, please restart the computer" should appear.

Is this possible at all ?

Best regards Torgeir:)

[06 Mar 2008] Re: installation-program

Posted: Sat Jun 13, 2020 5:31 pm
by PEB
Note: This is an archived post that was originally sent to the Hollywood mailing list on Thu, 6 Mar 2008 15:24:45 -0800 (PST)

Well, you could use SystemRequest() a couple of times.

You could do something like this at the start:

Code: Select all

sel=SystemRequest("CD Installation","Do you want to
proceed with the installation?","Yes|No")
Switch sel
 Case 1:
  (Whatever copying operation you want to perform.)
 Case 0:
  End
EndSwitch
And you could do something like this at the end:

Code: Select all

SystemRequest("All Done", "Update complete, please restart your computer.", "OK")
End

[07 Mar 2008] Re: installation-program

Posted: Sat Jun 13, 2020 5:31 pm
by GMKai
Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 07 Mar 2008 08:01:08 +0100

That idea can be done easily. Check the dos.library-functions included with Hollywood. You can request files/drawers and make use of every dos-command...