I've had a look at InstallerGen, but I don't think it's ready to do what I need yet. I need it to: - Copy the app to a selected location (nice and easy) - Download and install/upgrade AmiSSL to the latest version - Add an entry to the user-startup to start the app on booting (if the user wants) - Start the app once installed (nice and easy)
1) - Copy the app to a selected location (nice and easy) 2) - Download and install/upgrade AmiSSL to the latest version 3) - Add an entry to the user-startup to start the app on booting (if the user wants) 4) - Start the app once installed (nice and easy)
1) Check 2) Check (through an external program/command) 3) Check (with e.g. echo >> user-startup, there is probably a much nicer way, but i never needed to use such kind of functionalitly) 4) Check - done it with the ScummVM installer (just add or remove a checkmark to make the app start or to display the readme or whatever, when the installation has finished)
EDIT: I could simplify this by including AmiSSL in the archive. Still need a way to check if updating AmiSSL is needed, though...
Quote:
3) Check (with e.g. echo >> user-startup, there is probably a much nicer way, but i never needed to use such kind of functionalitly)
Won't work properly if the installer has been run before (you'll end up with multiple entries.
@sTix
Thanks. Are there any examples in particular which match what I'm trying to do?
@all I'm actually hoping to find someone who could write the script for me so that I can focus on C/C++ coding. I've tried contacting InstallerGen's author, but haven't heard back yet.
2) How about cURL? Or something that comes preinstalled with AmigaOS4, though i don't know if there is one such program.
3) As @Chris noted, use the User-Startup Command Step
Quote:
User-Startup Command Step Type
This step type is used to insert an AmigaDOS command into the S:User-Startup file. A prompt can be provided using the Message Text field. If an assign is required in the User-Startup, the User-Startup Assign Step can be used instead.
The Command field contains the full command to insert. A variable can be used here or a constant string. Be sure to use quotes when entering a constant string, for example "SetEnv MyEnvVar 1".
Please note that to include a variable as part of the command, you need to enter a Cat statement, for example:
The (copylib) function takes care of the version check. (startup) handles the user-startup.
You can have a look at the Vim and InstallerLG installers, they are simple and does what you want to do I think. The InstallerLG installer also compares checksums but you can ignore that.
The (copylib) function takes care of the version check. (startup) handles the user-startup.
Not quite. Copylib will copy a library if it's newer. I need to run a separate installer (AmiSSL's) if AmiSSL is too old, or is missing.
@all I'm serious about finding someone capable to write the installer, and I'm willing to pay for it (a small sum, though). If you're competent and willing, then please contact me privately via email (visit https://keasigmadelta.com/about-us/contact-us/ if you need the address).
Here is how Digital Universe can automatically install 3DStars if required. This is done after the installation of the main application. I only used the log filename just an case people want to install 3DS manually, and its best to do it afterwards rather than before.