View Single Post
  #2  
Old 10-11-2017, 04:24
ramazan19833 ramazan19833 is offline
Banned
 
Join Date: Apr 2012
Location: abc
Posts: 248
Thanks: 16
Thanked 10 Times in 8 Posts
ramazan19833 is on a distinguished road
Code:
///////////////////////////////////////////////////////////////
// Advanced Simple Installer Script                          //
//-----------------------------------------------------------//
// UltraARC by Razor12911, modified by Simorq                //
// zTool, pZLib3, pZStd, pLZO, pLZ4, PrecompMT by Razor12911 //
// Precomp by Christian Schneider                            //
// AFR (Anvil Forge Recompressor) by Edison007               //
// 7-zip by Igor Pavlov                                      //
// RAR by win.rar GmbH                                       //
// FreeArc by Bulat Ziganshin                                //
// SREP by Bulat Ziganshin                                   //
// MSC by ProFrager                                          //
// RAZOR Archiver by Christian Martelock                     //
// MPZ Slimmer by Shelwien                                   //
///////////////////////////////////////////////////////////////
#define ScriptVersion "6.9.1 for UltraARC R3"


//////// SETTINGS ////////
#define Name "Call of DutyŽ: WWII"
#define Exe "CoD_SP.exe"
#define Version "v1.0"
#define Size "69577060352"
#define Compression "lzma"


//Define if you want to use UltraARC or DiskSpan. Do not enable both!
#define UltraARC
;#define DiskSpan


#define DefaultDir "{sd}\Call Of Duty WWII"
//{sd} = system disk (in most cases C:\)
//For a full list, see http://www.jrsoftware.org/ishelp/index.php?topic=consts


//Define if Setup create uninstall files (unins000.dat, unins000.exe) (no = no uninstall files will be created, yes = uninstall files will be created)
#define Uninstallable "yes"


//Icons/Start menu icons. Set the standard settings to True (checked) or False (not checked)
#define DesktopIcon "True"
#define StartMenuIcon "False"


//Background = WelcomePage, Background2 = FinishedPage
#define Background "CallOfDutyWWIIWelcome.bmp"
#define Background2 "CallOfDutyWWIIFinish.bmp"
#define Smallimage "CallOfDutyWWIISmallBitmap.bmp"
#define Icon "CallOfDutyWWIIIcon.ico"


//Define .sfv/.md5 file for integrity check after installation. If not needed, just disable CheckCRC
;#define CheckCRC
#define CRCFileName "Debris.sfv"


//Registry file. If not needed, just disable Registry
;#define Registry
#define RegistryFile "CallOfDutyWWIIRegistry.iss"


//Name and target of Website button. If not needed, just disable WebsiteButton
#define WebsiteButton
#define WebBtnName "Call of DutyŽ: WWII"
#define URL "http://store.steampowered.com/app/476600/Call_of_Duty_WWII/"


//Define Splash image and duration of FadeIn/Show/FadeOut in ms. If not needed, just disable Splash
#define Splash
#define SplashFile "CallOfDutyWWIISplash.png"
#define SplashFadeIn "500"
#define SplashShow "500"
#define SplashFadeOut "500"


//Set Music file name and volume (1 - 10, standard is 5). If not needed, just disable Music
#define Music
#define MusicFile "CallOfDutyWWIIMusic.mp3"
#define MusicVolume "5"


//Name for License files. File names in folder must be GAMENAMEeulaEnglish, GAMENAMEeulaFrench, GAMENAMEeulaGerman, etc., where GAMENAME is = LicenseName "xyz".
//If not needed, just disable License
;#define License
#define LicenseName "CallOfDutyWWII"  ;EULAEnglish.rtf


//Define background images size and duration (5000 = 5sec, 10000 = 10sec, ...). If not needed, just disable InstallBackground
#define InstallBackground
#define BgTime "10000"
#define ImageWidth "1280"
#define ImageHeight "720"
#define Fullscreen "Yes"


//Place your name here. Will be shown in Info window.
#define Creator "Knabberfee"


//Font and Font Color for Welcome/Finish messages. Important: Only accept fonts that are installed on users system.
#define Font "Arial"
#define FontColor "White"
#define ProgressBarLabelColor "White"
//  Black   = $000000;
//  Maroon  = $000080;
//  Green   = $008000;
//  Olive   = $008080;
//  Navy    = $800000;
//  Purple  = $800080;
//  Teal    = $808000;
//  Gray    = $808080;
//  Silver  = $C0C0C0;
//  Red     = $0000FF;
//  Lime    = $00FF00;
//  Yellow  = $00FFFF;
//  Blue    = $FF0000;
//  Fuchsia = $FF00FF;
//  Aqua    = $FFFF00;
//  LtGray  = $C0C0C0;
//  DkGray  = $808080;
//  White   = $FFFFFF;
//  None    = $1FFFFFFF;
//  Default = $20000000;


//Define name of Skin file. Only enable Cjstyles or VCL, NOT both. If you don't want to use any skin, disable both.
;#define Cjstyles
;#define CjstylesName "concave_dark.cjstyles"
#define VCL
#define VCLName "steampunks.vsf"
//////// SETTINGS ////////

[Setup]
DisableDirPage=no
DisableFinishedPage=no
DisableProgramGroupPage=yes
DisableReadyPage=yes
WizardImageFile=Setup\{#Background}
WizardSmallImageFile=Setup\{#Smallimage}
SetupIconFile=Setup\{#Icon}
AppName={#Name}
AppVersion={#Version}
VersionInfoDescription={#Name}
DefaultDirName={#DefaultDir}
DefaultGroupName={#Name}
ExtraDiskSpaceRequired={#Size}
VersionInfoCompany=Advanced Simple Installer Script
OutputBaseFilename=Setup
OutputDir=.
Compression={#Compression}
SolidCompression=yes
UninstallFilesDir={app}\_Uninstall
UnInstallable={#Uninstallable}
#ifdef InstallBackground
BackColor=clBlack
BackColor2=clBlack
#endif

Help : correction & sample

Last edited by pakrat2k2; 29-11-2017 at 09:27. Reason: no need for wall of text
Reply With Quote