FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   [Question]/[Help] What Installer is best option (https://fileforums.com/showthread.php?t=97536)

Brian Do 23-12-2015 10:43

[Question]/[Help] What Installer is best option
 
Hello every one, first to say hello to every one second i have a question :)

i have a game Client folder already extract to my HDD which about 4GB
- Is there anyway i can create a installer with only one .EXE file (Setup.exe) no extra file like *.bin next to .exe
- If yes please tell me which one is good if possible please tutorials Link

Thank every one

Merry X-Mas and Happy new year

rinaldo 23-12-2015 13:30

internal compression


Code:

#define YourAppName "YourProgram"
#define YourAppPublisher "YourCompany."
#define YourAppExeName "YourProg.exe"

[Setup]
AppId={{3EC868E8-876A-4658-A9B4-291FA4551A52}
AppName={#YourAppName}
AppVerName={#YourAppName}
AppPublisher={#YourAppPublisher}
DefaultDirName={pf}\{#YourAppName}
DefaultGroupName={#YourAppName}
DisableProgramGroupPage=yes
OutputBaseFilename=Your_Setup
InternalCompressLevel=Ultra64
OutputDir=.
Compression=lzma

[Languages]
Name: "english"; MessagesFile: "compiler:Languages\English.isl"

[Files]
Source: "YourFolder\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs

[Icons]
Name: "{commondesktop}\{#YourAppName}"; Filename: "{app}\{#YourAppExeName}";

[UninstallDelete]
Type: filesandordirs; Name: {app}


gozarck 23-12-2015 17:45

Quote:

Originally Posted by rinaldo (Post 445718)
internal compression


Code:

#define YourAppName "YourProgram"
#define YourAppPublisher "YourCompany."
#define YourAppExeName "YourProg.exe"

[Setup]
AppId={{3EC868E8-876A-4658-A9B4-291FA4551A52}
AppName={#YourAppName}
AppVerName={#YourAppName}
AppPublisher={#YourAppPublisher}
DefaultDirName={pf}\{#YourAppName}
DefaultGroupName={#YourAppName}
DisableProgramGroupPage=yes
OutputBaseFilename=Your_Setup
OutputDir=.
Compression=lzma
SolidCompression=yes

[Languages]
Name: "english"; MessagesFile: "compiler:Languages\English.isl"

[Files]
Source: "YourFolder\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs

[Icons]
Name: "{commondesktop}\{#YourAppName}"; Filename: "{app}\{#YourAppExeName}";

[UninstallDelete]
Type: filesandordirs; Name: {app}


like rinaldo said and also you can get better compression with SolidCompression=yes

rinaldo 24-12-2015 01:07

If yes, solid compression will be enabled. This causes all files to be compressed at once instead of separately. This can result a much greater overall compression ratio if your installation contains many files with common content, such as text files, especially if such common content files are grouped together within the [Files] section.

The disadvantage to using solid compression is that because all files are compressed into a single compressed stream, Setup can no longer randomly access the files. This can decrease performance. If a certain file isn't going to be extracted on the user's system, it has to decompress the data for that file anyway (into memory) before it can decompress the next file. And if, for example, there was an error while extracting a particular file and the user clicks Retry, it can't just seek to the beginning of that file's compressed data; since all files are stored in one stream, it has seek to the very beginning. If disk spanning was enabled, the user would have to re-insert disk 1.

Thus, it is not recommended that solid compression be enabled on huge installs (say, over 100 MB) or on disk-spanned installs. It is primarily designed to save download time on smaller installs distributed over the Internet.


inno setup help


All times are GMT -7. The time now is 07:21.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com