PDA

View Full Version : Need help making installer


Mushiiii
26-11-2024, 08:12
I can compress the game files using the compressors here but can't make the installer or setup.exe file. I'm new to this and never done anything like this. So hope that someone will help me regarding this.

ScOOt3r
26-11-2024, 14:33
have a look here for a installer that you like, test a few first

https://www.fileforums.com/showthread.php?t=104857

or search the forum for more installers

ScOOt3r

Mushiiii
27-11-2024, 05:48
have a look here for a installer that you like, test a few first

https://www.fileforums.com/showthread.php?t=104857

or search the forum for more installers

ScOOt3r
I have tried almost all of them but couldn't get one to work. As i said before i'm new to this so it's hard without a tutorial. Compressing wasn't hard but i just can't get the installers to work. A tutorial or something like that tells me step by step would be much appreciated. I'm trying to make a simple installer with just the install location like this one - https://ibb.co.com/Hg6PKgy . I have compressed the game into data.bin and want to make a installer like this that helps me install the game .But everytime i try to make one using inno the setup.exe is always embedding the bin file and give me just the bin file while extracting not the contents of the bin. Again i'm really really new to this so please don't mind if they sound dumb.

ScOOt3r
27-11-2024, 06:13
im not sure if your aware that what ever tools you used have to also be the same tools in the installer or it will error out or freeze..
just copy all the compressor tools to your installer folder

ScOOt3r

Mushiiii
27-11-2024, 06:24
im not sure if your aware that what ever tools you used have to also be the same tools in the installer or it will error out or freeze..
just copy all the compressor tools to your installer folder

ScOOt3r
Yes i know that and https://ibb.co.com/j6rfx4g this was inside isdone support folder of the compressor. But the main problem is the script. Every time i compile i get a big setup.exe that includes the bin file inside and gives me back the bin file while installing. Can you kindly provide me a script or installer that is easy to use and can make me the installer. Or a tutorial that can help me make installer for the bin file

ScOOt3r
27-11-2024, 06:36
have a look here and download this installer. (it works) is easy to use

https://fileforums.com/showthread.php?t=104745

it sounds as if your compressor has issues with the code, if freearc shows the bin file and not the actual game files then not sure what you did..


ScOOt3r

Cesar82
27-11-2024, 06:54
I can compress the game files using the compressors here but can't make the installer or setup.exe file. I'm new to this and never done anything like this. So hope that someone will help me regarding this.
If you are a beginner, I recommend you start with installers and compressors that are not too demanding on you.

Try starting with compression tool DiskSpan GUI (https://fileforums.com/showthread.php?t=104507) along with one of the compatible installers (https://fileforums.com/showpost.php?p=492987&postcount=3).

For a basic installer, I recommend starting with:
- Light Installer Script (LIS) (https://www.fileforums.com/showthread.php?t=103408)
- Advanced Simple Installer Script (ASIS) (https://www.fileforums.com/showthread.php?t=99481).

P.S: ASIS has more extra features and can be more complex to understand.

Mushiiii
27-11-2024, 08:27
If you are a beginner, I recommend you start with installers and compressors that are not too demanding on you.

Try starting with compression tool DiskSpan GUI (https://fileforums.com/showthread.php?t=104507) along with one of the compatible installers (https://fileforums.com/showpost.php?p=492987&postcount=3).

For a basic installer, I recommend starting with:
- Light Installer Script (LIS) (https://www.fileforums.com/showthread.php?t=103408)
- Advanced Simple Installer Script (ASIS) (https://www.fileforums.com/showthread.php?t=99481).

P.S: ASIS has more extra features and can be more complex to understand.
I used diskspan gui to compress the game and got these 3 files setup.dll,bin and autorun.inf . Can you kindly tell me the steps to use the Light Installer Script properly to get the installer. Sorry to bother you but i really have no idea how to use these scripts as where to put the bin file, and what are the parts i need to edit in the script except some normal ones, like this line - #define GameExec "bin\game.exe" , do i write the path to the game exec inside the game folder or the bin file. This might be dumb but any tips is much appreciated. Also the installer had game 1,2 and ini files , what to do to install a single game

KaktoR
27-11-2024, 09:54
You don't have to include any of the files which diskspan_gui creates after you compressed your game. The BIN files includes the game files, the Setup.dll file includes files which are required to unpack the BIN files, and the Records.ini file is required aswell. You just need these files next to compiled Setup.exe installer. César already told you what scripts you could use. There are plenty other scripts you could use. Most of them you can simply compile with inno setup v6+ (unicode version), for some others you need inno setup enhanced version.

Mushiiii
27-11-2024, 10:26
You don't have to include any of the files which diskspan_gui creates after you compressed your game. The BIN files includes the game files, the Setup.dll file includes files which are required to unpack the BIN files, and the Records.ini file is required aswell. You just need these files next to compiled Setup.exe installer. César already told you what scripts you could use. There are plenty other scripts you could use. Most of them you can simply compile with inno setup v6+ (unicode version), for some others you need inno setup enhanced version.
Does that mean i just need to change the basic details like game name,version,size,background images etc and compile to get the exe and then just put it together with bin and dll(i included the records.ini to dll with a option i think) ? I'm really sorry to bother everyone like this but i really have issues with using the installer scripts and have no idea how to use them properly.

KaktoR
27-11-2024, 10:33
Yes exactly this.

Mushiiii
27-11-2024, 20:41
Yes exactly this.
Thank you very much for your help and i was able to get the exe to run i got from LIS. But there are some issues. How do i remove https://ibb.co.com/5891Gh0 this part as i couldn't find find it in the script and the desktop shortcut wasn't created correctly for some reason(fixed it). Also https://ibb.co.com/SP38tfc here the part to copy ini files and addition language, how do i remove them as i don't want any addition things and want a option here to create start menu shortcut .

Cesar82
27-11-2024, 22:46
Thank you very much for your help and i was able to get the exe to run i got from LIS. But there are some issues. How do i remove https://ibb.co.com/5891Gh0 this part as i couldn't find find it in the script and the desktop shortcut wasn't created correctly for some reason(fixed it). Also https://ibb.co.com/SP38tfc here the part to copy ini files and addition language, how do i remove them as i don't want any addition things and want a option here to create start menu shortcut .

comment 2 lines in script with ";"
;#define Components
;#define Tasks

The shortcuts are configurable in the [Icons] section of the script.
By default, a shortcut will be created on the desktop and one in the start menu for the game defined at the beginning of the script in:

#define GameExec "bin\game.exe"

You can disable the hash check page if you are not going to use it by simply commenting out the line as ";"
;#define HashPage NO