PDA

View Full Version : Simple Installer (SI)


78372
30-11-2017, 23:57
Simple Installer


Simple Installer 1.0 beta

Installer+Generator

Despite the name, simple installer is not so simple. You need proper instruction to configure and use this installer because This is not created using inno setup
follow the instruction below to configure and use SI

1. Create an INI file named Settings.ini and another ini named Archives.ini

2. Move your setup background image to setup folder, rename it to background.bmp/png/jpg

3. Configure settings.ini in the following way:

[Installer]
AppName=Write the application name here
DefaultDir=Write_the_default_dirname_here
AppSize=Write_your_application_size_in_mb_here
AppExe=Write_the_main_exe_name_here
ShortcutName=Write_the_name_of_shortcut_here

Example:

[Installer]
AppName=LIMBO
DefaultDir=ProgramDir\AppName\
AppSize=96MB
AppExe=ProgramDir\AppName\limbo.exe
ShortcutName=Play Limbo

4.Configure archives.ini in the following way:

[Archive1] (1~unlimited)
Source=Archive_name_and_dir
Output=Dir_to_extract_the_archive
Disk=Disk_no.
Password=Archive_password

Example:
[Archive1]
Source=SourceDir\data.bin
Output=AppDir\
Disk=1
Password=gsfgs636376

Note that only freearc archives are supported

5.

Put your freearc unpacking files in setup folder. Example: unarc.dll,arc.ini, cls-xxx.dll, xxx.exe

6.Run compile.exe to generate the setup executable and setup.bin

7. Done


Constants you can use while configuring the ini:


Source directory (where setup.exe exists) = SourceDir( used as {src} in inno)

Program files directory(C:\Program files\) = ProgramDir(used as {pf} in inno)

Application Name = AppName

Temporary files directory(%TEMP%) = TempDir( used as {tmp} in inno)



Notes:


This is a beta version of SI, so maybe there are bugs in the installer. Report them as soon as you find them.

Enjoy!

78372
30-11-2017, 23:58
@Mods
Can you add these splitted archives as a single archive please?

pakrat2k2
01-12-2017, 00:07
removed split archive, added as full archive to first post

Razor12911
01-12-2017, 11:26
Looks awesome :)

Morgrel
11-12-2017, 05:12
Supports UltraARC?

78372
11-12-2017, 06:00
Umm, no, nor diskspan, but supports other compressors

KaktoR
11-12-2017, 06:56
does it support spliited archives?

78372
11-12-2017, 07:07
Well splitted archives with cls-diskspan can be used but it won't ask for disk then. UltraArc is supported, but not split and you have to manually modify archives.ini, records.ini isn't supported. Any compressor can be used which supports fa, but not splits. Adding a compressor or those stuff (precompressors,preprocessors etc.) is very easy, that's why you can use anything with it (No split)