Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 28-04-2016, 09:12
lugard lugard is offline
Registered User
 
Join Date: Jun 2012
Location: brazil
Posts: 9
Thanks: 31
Thanked 3 Times in 1 Post
lugard is on a distinguished road
Red face [Help] Help Me with my inno install

hello \o.
someone help me to change the size of the installation image and text background color

Common





here's how I want to make
this imagens is edited

Mod





Source Code

Quote:
#define MyAppName "State of Decay Year-One"
#define MyAppVersion "15.11.3.5751"
#define MyAppPublisher "Microsoft Studios"
#define MyAppExeName "StateOfDecay.exe"
#define SourceFiles "E:\ProgramData\State of Decay Year-One"
#define MyAppExePatch ""

[Setup]
AppName={#MyAppName}
AppVersion={#MyAppVersion}
AppPublisher={#MyAppPublisher}
DefaultDirName={pf}\{#MyAppPublisher}\{#MyAppName}
DefaultGroupName={#MyAppPublisher}\{#MyAppName}
AllowNoIcons=true
;InfoBeforeFile=Wizard\information.txt
;LicenseFile=eula.txt
OutputDir=.\
OutputBaseFilename=Setup
Compression=none
WizardImageFile=Wizard\WizModernImage.bmp
WizardSmallImageFile=Wizard\WizModernSmallImage.bm p
AppVerName={#MyAppName}
DiskSpanning=true
DiskSliceSize=1566000000
SlicesPerDisk=3
SolidCompression=true
UninstallDisplayName={#MyAppName}
VersionInfoVersion={#MyAppVersion}
VersionInfoCompany={#MyAppPublisher}
VersionInfoDescription={#MyAppName}
VersionInfoTextVersion={#MyAppVersion}
PrivilegesRequired=admin
UninstallDisplayIcon="{app}\{#MyAppExePatch}\{#MyA ppExeName}"
SetupIconFile=Wizard\Setup.ico

[Languages]
Name: "english"; MessagesFile: "compilerefault.isl";
Name: "brazilian"; MessagesFile: "compiler:Languages\BrazilianPortuguese.isl";

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked

[Files]
Source: {#SourceFiles}\*; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files

; Add the ISSkin DLL used for skinning Inno Setup installations.
Source: Wizard\ISSkinEx.dll; DestDir: {app}; Flags: dontcopy

; Add the Visual Style resource contains resources used for skinning,
; you can also use Microsoft Visual Styles (*.msstyles) resources.
Source: Wizard\Tiger.cjstyles; DestDir: {tmp}; Flags: dontcopy

[Icons]
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExePatch}\{#MyAppExeName}"; WorkingDir: {app}\{#MyAppExePatch};
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExePatch}\{#MyAppExeName}"; WorkingDir: {app}\{#MyAppExePatch}; Tasks: desktopicon

[Run]
Filename: {app}\_CommonRedist\vcredist\2012\vcredist_x86.exe ; Description: "{cm:LaunchProgram,{#StringChange("MicrosoftVi sual C++ 2012 x86", '&', '&&')}}"; Flags: postinstall skipifsilent runascurrentuser; WorkingDir: {app}\_CommonRedist\vcredist\2012\; Parameters: "/quiet /norestart";
Filename: {app}\_CommonRedist\vcredist\2012\vcredist_x64.exe ; Description: "{cm:LaunchProgram,{#StringChange("MicrosoftVi sual C++ 2012 x64", '&', '&&')}}"; Flags: postinstall skipifsilent runascurrentuser; WorkingDir: {app}\_CommonRedist\vcredist\2012\; Parameters: "/quiet /norestart";
Filename: {app}\_CommonRedist\DirectX\Jun2010\DXSETUP.exe; Description: "{cm:LaunchProgram,{#StringChange("Microsoft DirectX Redist", '&', '&&')}}"; Flags: postinstall skipifsilent runascurrentuser; WorkingDir: {app}\_CommonRedist\DirectX\Jun2010\; Parameters: /silent;

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

[Code]
// Importing LoadSkin API from ISSkin.DLL
procedure LoadSkin(lpszPath: AnsiString; lpszIniFileName: AnsiString);
external 'LoadSkin@files:isskinex.dll stdcall';

// Importing UnloadSkin API from ISSkin.DLL
procedure UnloadSkin();
external 'UnloadSkin@files:isskinex.dll stdcall';

// Importing ShowWindow Windows API from User32.DLL
function ShowWindow(hWnd: Integer; uType: Integer): Integer;
external '[email protected] stdcall';

function InitializeSetup(): Boolean;
begin
ExtractTemporaryFile('Tiger.cjstyles');
LoadSkin(ExpandConstant('{tmp}\Tiger.cjstyles'), '');
Result := True;
end;

procedure DeinitializeSetup();
begin
// Hide Window before unloading skin so user does not get
// a glimse of an unskinned window before it is closed.
ShowWindow(StrToInt(ExpandConstant('{wizardhwnd}') ), 0);
UnloadSkin();
end;
Reply With Quote
Sponsored Links
  #2  
Old 07-05-2016, 15:18
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,751
Thanks: 2,181
Thanked 11,211 Times in 2,309 Posts
Razor12911 is on a distinguished road
It's a lot of work, you need to use botva2 for this.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Max Payne 3 (6xDVD5) - Inno Setup Fabioddq PC Games - CD/DVD Conversions 40 08-10-2016 10:42
Metro 2033 - 2xDVD5 (Inno Setup) Fabioddq PC Games - CD/DVD Conversions 16 27-12-2013 11:56
Inversion - DVD9 to DVD5 (Inno Setup) Fabioddq PC Games - CD/DVD Conversions 10 23-08-2012 07:24
Game install problem MAL1 PC Games 2 12-05-2003 10:21
Livin' it up install problems slickice PC Games 0 17-02-2002 14:41



All times are GMT -7. The time now is 23:12.


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