Here is a better structured version, easier to modify for newscomers because all needed informations can be set at the beginning of the script :
Code:
;Path to game files
#define SourcePath "Game Path here, ex : C:\Program Files (x86)\GTA V"
;Setup File Name
#define SetupName "Setup"
;Setup Output Dir
#define OutputDir ".\Setup\"
;Setup File Icon
#define IconFile "Icon.ico"
;Game Publisher/Developpers
#define MyPublisher "Game developper/Publisher here, ex : Rockstar"
;Game Name
#define MyAppName "Shortcut name here, ex : GTA V"
;Game Version
#define MyAppVersion "Game version here, ex : 1.0.2"
;Game Main Exe File
#define MyAppExeName "Game executable here, ex : GTAV.exe"
;Setup Video Playback
#define Video "Video.avi"
A friend of mine asked me if I could add support for
Compressor 2.2 from Razor12911, I tried using
WPI 3.1 script as reference because it's really well structured and made external compression easy to handle but, no matter what I do, when I try compiling setup all
ReadIni lines are totally ignored...
If one of the talent here know how to archieve this go ahead and modify this version