FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   INNO TROUBLESHOOT - Questions Here (https://fileforums.com/showthread.php?t=93193)

Grumpy 29-12-2012 16:00

@Andre Jesus
Do a system 'Restore' back to before you installed the exe. ;)

vasu001 29-12-2012 18:35

After compression i am getting .bin files........what to do in setup.ini to extract them?

pakrat2k2 29-12-2012 21:38

just make sure in setup.ini there is NO [ExtractSettings] section... why not read the thread on the CI Tutorial all your questions/answers are there!

http://fileforums.com/showthread.php?t=92805

Razor12911 30-12-2012 00:14

Quote:

Originally Posted by Andre Jesus (Post 412461)
1) Put a button PNG to on/off the music during instalation. Like this:
Attachment 5451

2) Correct the message insufficient space when installed on a hard drive that has enough space. It's message is not appearing in my script.
The installer is frozen instead of showing the message to abort, retry or cancel.

3) Put the imagem glass.png on Wizardform, like this:

Attachment 5450

Sorry my bad english.

I will start the installer from scratch, it has a lot of unusual line. BMP will be replace by Jpg's and etc.

Andre Jesus 31-12-2012 10:47

Quote:

Originally Posted by Razor12911 (Post 412511)
I will start the installer from scratch, it has a lot of unusual line. BMP will be replace by Jpg's and etc.

No problem Razor12911, after studying various scripts, this was the result.
I could use the script Yener, I know that is very good and complete, but I just wanted to learn how to use the functions I need. For example, I want to put a button on / off music during installation, but I cant just remove it of the script Yener and insert in my script.

Any help to improve will be welcome.

Thank you very much and happy a new year.
P.S Sorry my bad english.

Andre Jesus 31-12-2012 10:58

Quote:

Originally Posted by Grumpy (Post 412503)
@Andre Jesus
Do a system 'Restore' back to before you installed the exe. ;)

I try my friend, but doesn't worked.:(

Andre Jesus 31-12-2012 11:04

Quote:

Originally Posted by pakrat2k2 (Post 412496)
you DONT install it, you just run the EXE to see how the music button looks, then cancel install. IF you'd looked thru the script you'd have seen that.

No problem my friend, actually that was a good reason to install Windows 8 on my PC.;)

Anyway, thank you.

tiendat5013 03-01-2013 03:25

how to
 
http://1.bp.blogspot.com/-XUxLbVOKsm...tic/s400/1.png
http://3.bp.blogspot.com/-v3nilkojHh...EcY/s400/2.png
http://2.bp.blogspot.com/-PWLP42y2qd...QvM/s400/3.png
http://2.bp.blogspot.com/-oFoelrUFdJ...xq8/s400/5.png

jackstuff 06-01-2013 04:51

Used revo's conversion, it is much better than this one

Andre Jesus 07-01-2013 14:52

Not enough disk space message
 
Hi all.

How can i create this message on inno setup?

http://s7.postimage.org/jeh0gwycb/Message.jpg

My installer warns me that has no space only during installation, but want him to let me know before you start the installation.
I also want the message to appear "rolling back".

Andre Jesus 07-01-2013 18:54

Insert Button.PNG on the TPanel
 
Hi again.

I created a new panel to insert a button.png with the function on/off the music during installation, however, i dont know the script to inser the button.png and the function on/off music during installation.
Please show me the script to insert a button.png and de funtion on/off music during installation on the TPanel that i created.

My idea of creating a new TPanel is correct?

This is the TPanel that i created (the black form in the left side down)
http://s9.postimage.org/6v30ioeb3/Sem_t_tulo.jpg

Thanks in advance.

pakrat2k2 07-01-2013 23:52

thats the script i posted for you to look at, the 1 you 'installed' rather then just look at, it had the button.png & music working in that small script. post # 116

hackjack 09-01-2013 01:29

please can anyone tell me how to add multiple archive extracting to valerons scripts no 10 and 12 link-http://fileforums.com/showthread.php?t=93298
i just want to extract only free arc files and no srep or precomp or anything else. even if add lines to script the progress bar shows 200 to 300 percent.

pakrat2k2 09-01-2013 20:12

find #define records and add ; or // to front of line. ( skip the line )

also add ; for either archive names, or define programfiles... & compile the script. this will generate the proper records.inf file for the archives / files in the conversion. then remove the ; or // from where you put them & run the conversion. This should then have a proper progressbar that only goes to 100%.

hackjack 09-01-2013 21:27

sorry bro i tried but i cant do it plz do this for me. script no 10 an 12
link-http://fileforums.com/showthread.php?t=93298
nd plz upload.
sorry for trouble

pakrat2k2 10-01-2013 21:57

you have to do it, it uses your files. either that or use the conversions posted in index for those 2 games.

ayateknik 13-01-2013 14:56

İnno Splash +skin+bass module error
 
Hello, my problem inno setup screen with the following codes to hide the full-screen image as it appears in the add file with no problem putting skin alone
I am not receiving the same error when I add music files to the game but the game is opening splash and splash skin file does not delete the music does not play but instead of attaching the stand-alone splash splash splash in both the music at the same time coming, but this time I was not at the same time both the music and the system properties of skin and splash how can I use a combination of modules which alone all that I wrote the game setup screen, I want a large modules add dll files and codes
still getting the error


; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "Angy Birds"
#define MyAppVersion "1.0"
#define MyAppPublisher "Rovivo"
#define MyAppURL "www.Rovivo.com"
#define MyAppExeName "AngryBirds.exe"

[ISFormDesigner]
WizardForm=FF0A005457495A415244464F524D003010B3040 00054504630F10B5457697A617264466F726D0A57697A61726 4466F726D0C436C69656E744865696768740368010B436C696 56E74576964746803F1010C4578706C696369744C656674020 00B4578706C69636974546F7002000D4578706C69636974576 96474680301020E4578706C69636974486569676874038E010 D506978656C73506572496E636802600A54657874486569676 874020D00F10C544E65774E6F7465626F6F6B0D4F757465724 E6F7465626F6F6B00F110544E65774E6F7465626F6F6B50616 7650B57656C636F6D65506167650D4578706C6963697457696 4746803F1010E4578706C6963697448656967687403390100F 10C544269746D6170496D6167651157697A6172644269746D6 170496D61676505576964746803F4010D4578706C696369745 76964746803F4010000F10E544E65775374617469635465787 40D57656C636F6D654C6162656C3208576F726457726170080 743617074696F6E120000000007456E61626C6564080756697 369626C65080000F10E544E6577537461746963546578740D5 7656C636F6D654C6162656C3108576F7264577261700807456 E61626C6564080B506172656E74436F6C6F720807566973696 26C6508000000F110544E65774E6F7465626F6F6B506167650 9496E6E6572506167650D4578706C69636974576964746803F 1010E4578706C6963697448656967687403390100F10C544E6 5774E6F7465626F6F6B0D496E6E65724E6F7465626F6F6B00F 110544E65774E6F7465626F6F6B506167650B4C6963656E736 5506167650D4578706C69636974576964746803A1010E45787 06C6963697448656967687403ED000000F110544E65774E6F7 465626F6F6B506167650D53656C656374446972506167650D4 578706C69636974576964746803A1010E4578706C696369744 8656967687403ED000000F110544E65774E6F7465626F6F6B5 06167650F53656C6563745461736B73506167650D4578706C6 9636974576964746803A1010E4578706C69636974486569676 87403ED00000000F1065450616E656C094D61696E50616E656 C00F10C544269746D6170496D6167651657697A617264536D6 16C6C4269746D6170496D616765044C6566740200055769647 46803F40106486569676874023C0C4578706C696369744C656 67402000D4578706C69636974576964746803F4010E4578706 C69636974486569676874023C0000F10E544E6577537461746 9635465787414506167654465736372697074696F6E4C61626 56C044C65667402F803546F70021708576F726457726170080 7456E61626C6564080E506172656E7453686F7748696E74080 756697369626C65080C4578706C696369744C65667402F80B4 578706C69636974546F7002170000F10E544E6577537461746 963546578740D506167654E616D654C6162656C044C6566740 20003546F70020005576964746802710648656967687402140 7456E61626C6564080E506172656E7453686F7748696E74080 756697369626C6508074F6E436C69636B0712506167654E616 D654C6162656C436C69636B0C4578706C696369744C6566740 2000B4578706C69636974546F7002000D4578706C696369745 76964746802710E4578706C696369744865696768740214000 000000000


[Setup]
WizardSmallImageFile=C:\Users\VALX\Desktop\Adsız.b mp
WizardImageFile=C:\Users\VALX\Desktop\Fon.bmp
; NOTE: The value of AppId uniquely identifies this application.
; Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{7A0207A0-B136-4EEC-9C43-BBE448A54BC4}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={pf}\{#MyAppName}
DefaultGroupName={#MyAppName}
DisableProgramGroupPage=yes
OutputDir=C:\Users\VALX\Desktop
OutputBaseFilename=Angy Birds
Compression=lzma
SolidCompression=yes

[Languages]
Name: default; MessagesFile: compiler:Default.isl

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

[Files]
Source: C:\Users\VALX\Desktop\Yeni klasör\Yeni klasör (2)\Rovio\Angry Birds\AngryBirds.exe; DestDir: {app}; Flags: ignoreversion
Source: C:\Users\VALX\Desktop\Yeni klasör\Yeni klasör (2)\Rovio\*; DestDir: {app}; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
Source: Dreams.cjstyles; DestDir: {app}
Source: ISSkin.dll; DestDir: {app}
Source: Splash.png; DestDir: {tmp}; Flags: dontcopy
Source: isgsg.dll; DestDir: {tmp}; Flags: dontcopy

[Icons]
Name: {group}\{#MyAppName}; Filename: {app}\{#MyAppExeName}
Name: {group}\{cm:ProgramOnTheWeb,{#MyAppName}}; Filename: {#MyAppURL}
Name: {group}\{cm:UninstallProgram,{#MyAppName}}; Filename: {uninstallexe}
Name: {commondesktop}\{#MyAppName}; Filename: {app}\{#MyAppExeName}; Tasks: desktopicon

[Run]
Filename: {app}\{#MyAppExeName}; Description: {cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}; Flags: nowait postinstall skipifsilent

[Code]
{ RedesignWizardFormBegin } // Don't remove this line!
// Don't modify this section. It is generated automatically.
procedure PageNameLabelClick(Sender: TObject); forward;

procedure RedesignWizardForm;
begin
with WizardForm.WizardBitmapImage do
begin
Width := ScaleX(500);
end;

with WizardForm.WelcomeLabel2 do
begin
WordWrap := False;
Caption := '';
Enabled := False;
Visible := False;
end;

with WizardForm.WelcomeLabel1 do
begin
WordWrap := False;
Enabled := False;
ParentColor := False;
Visible := False;
end;

with WizardForm.WizardSmallBitmapImage do
begin
Left := ScaleX(0);
Width := ScaleX(500);
Height := ScaleY(60);
end;

with WizardForm.PageDescriptionLabel do
begin
WordWrap := False;
Enabled := False;
ParentShowHint := False;
Visible := False;
Left := ScaleX(-8);
Top := ScaleY(23);
end;

with WizardForm.PageNameLabel do
begin
Enabled := False;
ParentShowHint := False;
Visible := False;
OnClick := @PageNameLabelClick;
Left := ScaleX(0);
Top := ScaleY(0);
Width := ScaleX(113);
Height := ScaleY(20);
end;

{ ReservationBegin }
// This part is for you. Add your specialized code here.

{ ReservationEnd }
end;
// Don't modify this section. It is generated automatically.
{ RedesignWizardFormEnd } // Don't remove this line!

procedure PageNameLabelClick(Sender: TObject);
begin

end;

procedure InitializeWizard();
begin
RedesignWizardForm;
end;


procedure LoadSkin(lpszPath: String; lpszIniFileName: String);
external 'LoadSkin@files:isskin.dll stdcall';

function InitializeSetup(): Boolean;
begin
ExtractTemporaryFile('Dreams.cjstyles');
LoadSkin(ExpandConstant('{tmp}\Dreams.cjstyles'), '');
Result := True;
end;
[*Code]
// p2:String -- Inno Setup (Kein UNICODE)
// p2:AnsiString -- Inno Setup (UNICODE)

procedure ShowSplashScreen(p1:HWND;p2:AnsiString;p3,p4,p5,p6 ,p7:integer;p8:boolean;p9:Cardinal;p10 :integer); external 'ShowSplashScreen@files:isgsg.dll stdcall delayload';
procedure Splash();
begin
ExtractTemporaryFile('isgsg.dll');
ExtractTemporaryFile('Splash.png');
ShowSplashScreen(WizardForm.Handle,ExpandConstant( '{tmp}')+'\Splash.png',1000,3000,1000,0,255,False, $FFFFFF,10);
end;

procedure InitializeWizard();
begin
Splash();
end;

Andre Jesus 14-01-2013 12:43

How to Set a Different Background to Each Page.
 
Hello.

I loaded 4 images .jpg (with botva2.dll) to use like background on my installer, however, the images just stay in welcome page (ID wpWelcome) one upon another.
How can i set each image like background in your respective page?

This is my idea:
image 1.jpg like bagkground on Welcomepage (wpWelcome)
image 2.jpg like background on Readypage (wpReady)
image 3.jpg like background on Installpage (wpInstalling)
image 4.jpg like background on Finishedpage (wpFinished)

This is my script.
Code:

#include "Install\botva2.iss"

[Setup]
AppName=Game Setup
AppVerName=Game Setup
OutputDir=.
DefaultDirName={pf}\Game Setup
OutputBaseFilename=Game Setup
DisableProgramGroupPage=yes
DisableDirPage=yes
Compression=none
;lzma2/Ultra64
SolidCompression=no
SetupIconFile=Install\ico.ico
;SlicesPerDisk=1
;DiskSliceSize=1073741824
;DiskSpanning=yes
     
[Files]
;Source: Game Setup\*; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: Install\*; Flags: dontcopy

Code
var
h:HWND;

procedure LoadSkin(lpszPath: String; lpszIniFileName: String);external 'LoadSkin@files:isskin.dll stdcall';
procedure UnloadSkin();external 'UnloadSkin@files:isskin.dll stdcall';

procedure InitializeWizard();
begin
ExtractTemporaryFile('botva2.dll');
ExtractTemporaryFile('1.jpg');
ExtractTemporaryFile('2.jpg');
ExtractTemporaryFile('3.jpg');
ExtractTemporaryFile('4.jpg');
ExtractTemporaryFile('glass.png');
ExtractTemporaryFile('skin.cjstyles');
LoadSkin(ExpandConstant('{tmp}\skin.cjstyles'), '');

with WizardForm do begin
Position:=poScreenCenter;
InnerNotebook.Hide;
OuterNotebook.Hide;
WelcomeLabel1.Hide;
WelcomeLabel2.Hide;
FinishedLabel.Hide;
FinishedHeadingLabel.Hide;
PageDescriptionLabel.Hide;
PageNameLabel.Hide;
Bevel.Hide;
BorderStyle:= bsDialog;
ClientWidth:=600
ClientHeight:=400
CancelButton.SetBounds(520,360,60,30);
NextButton.SetBounds(450,360,60,30);
BackButton.SetBounds(380,360,60,30);
end;

h:=WizardForm.Handle;
ImgLoad(h,ExpandConstant('{tmp}\1.jpg'),0,0,600,400,True,True);
ImgLoad(h,ExpandConstant('{tmp}\2.jpg'),0,0,600,400,True,True);
ImgLoad(h,ExpandConstant('{tmp}\3.jpg'),0,0,600,400,True,True);
ImgLoad(h,ExpandConstant('{tmp}\4.jpg'),0,0,600,400,True,True);
ImgLoad(h,ExpandConstant('{tmp}\glass.png'),20,130,560,220,True,True);
ImgApplyChanges(WizardForm.Handle);
end;

procedure DeinitializeSetup();
begin
gdipShutdown;
UnloadSkin();
end;


Brazilica 16-01-2013 13:37

Can someone teach me how to add registry entries on my conversion?

JacksMafia 17-01-2013 18:30

guys i have small problem here i have reg key it's already done but there is only one problem in here it is
Quote:

Root: HKLM; SubKey: SOFTWARE\Electronic Arts\Electronic Arts\Red Alert 3; ValueType: string; ValueName: CD Drive; ValueData: J:\; Flags: uninsdeletevalue uninsdeletekeyifempty
what i should write instead of this red letter which indicates where the game was installed from?

any ideas?!!

thanks

pakrat2k2 18-01-2013 08:26

your matching drive letter for cdrom-drive

JacksMafia 18-01-2013 09:28

yeah i know that i was asking about this
the original setup detect where the game was installed from and i want my setup to do the same and write this in the reg file

pakrat2k2 18-01-2013 10:32

that one value is insignificant, whole line can be deleted from reg section. doesnt matter where it was installed from.

Andre Jesus 19-01-2013 11:12

New Font
 
Hello guys.

How can i use a new font (font.ttf) that i don´t have in my system, on the inno setup?

Example of font that i don´t have in my system.
http://www.1001freefonts.com/image.p...o%20The%20Hand

The script to this case is the same in the post # 138.

Thanks in advanced.

Razor12911 19-01-2013 13:33

[Files]
Source: Font.ttf; DestDir: {tmp}; Flags: dontcopy;

[Code]
#ifdef UNICODE
#define A "W"
#else
#define A "A"
#endif


const
FR_PRIVATE = $10;

function AddFontResource(lpszFilename:string;fl:dword;pdv:i nteger): Integer; external 'AddFontResourceEx{#A}@gdi32.dll stdcall';
function RemoveFontResource(lpszFilename:string;fl:dword;pd v:integer): BOOL; external 'RemoveFontResourceEx{#A}@gdi32.dll stdcall';

procedure InitializeWizard;
begin
ExtractTemporaryFile('Font.ttf');
AddFontResource(ExpandConstant('{tmp}\Font.ttf'), FR_PRIVATE, 0);
end;

procedure DeinitializeSetup;
begin
RemoveFontResource(ExpandConstant('{tmp}\Font.ttf' ), FR_PRIVATE, 0);
end;

__________________________________________________ ______________

Glad could help with font.

Work on ANSI and UNICODE

Sorry for bad english.

Razor12911 19-01-2013 13:55

Quote:

Originally Posted by Andre Jesus (Post 412969)
Hello.

I loaded 4 images .jpg (with botva2.dll) to use like background on my installer, however, the images just stay in welcome page (ID wpWelcome) one upon another.
How can i set each image like background in your respective page?

This is my idea:
image 1.jpg like bagkground on Welcomepage (wpWelcome)
image 2.jpg like background on Readypage (wpReady)
image 3.jpg like background on Installpage (wpInstalling)
image 4.jpg like background on Finishedpage (wpFinished)

This is my script.
Code:

#include "Install\botva2.iss"

[Setup]
AppName=Game Setup
AppVerName=Game Setup
OutputDir=.
DefaultDirName={pf}\Game Setup
OutputBaseFilename=Game Setup
DisableProgramGroupPage=yes
DisableDirPage=yes
Compression=none
;lzma2/Ultra64
SolidCompression=no
SetupIconFile=Install\ico.ico
;SlicesPerDisk=1
;DiskSliceSize=1073741824
;DiskSpanning=yes
     
[Files]
;Source: Game Setup\*; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: Install\*; Flags: dontcopy

Code
var
h:HWND;

procedure LoadSkin(lpszPath: String; lpszIniFileName: String);external 'LoadSkin@files:isskin.dll stdcall';
procedure UnloadSkin();external 'UnloadSkin@files:isskin.dll stdcall';

procedure InitializeWizard();
begin
ExtractTemporaryFile('botva2.dll');
ExtractTemporaryFile('1.jpg');
ExtractTemporaryFile('2.jpg');
ExtractTemporaryFile('3.jpg');
ExtractTemporaryFile('4.jpg');
ExtractTemporaryFile('glass.png');
ExtractTemporaryFile('skin.cjstyles');
LoadSkin(ExpandConstant('{tmp}\skin.cjstyles'), '');

with WizardForm do begin
Position:=poScreenCenter;
InnerNotebook.Hide;
OuterNotebook.Hide;
WelcomeLabel1.Hide;
WelcomeLabel2.Hide;
FinishedLabel.Hide;
FinishedHeadingLabel.Hide;
PageDescriptionLabel.Hide;
PageNameLabel.Hide;
Bevel.Hide;
BorderStyle:= bsDialog;
ClientWidth:=600
ClientHeight:=400
CancelButton.SetBounds(520,360,60,30);
NextButton.SetBounds(450,360,60,30);
BackButton.SetBounds(380,360,60,30);
end;

h:=WizardForm.Handle;
ImgLoad(h,ExpandConstant('{tmp}\1.jpg'),0,0,600,400,True,True);
ImgLoad(h,ExpandConstant('{tmp}\2.jpg'),0,0,600,400,True,True);
ImgLoad(h,ExpandConstant('{tmp}\3.jpg'),0,0,600,400,True,True);
ImgLoad(h,ExpandConstant('{tmp}\4.jpg'),0,0,600,400,True,True);
ImgLoad(h,ExpandConstant('{tmp}\glass.png'),20,130,560,220,True,True);
ImgApplyChanges(WizardForm.Handle);
end;

procedure DeinitializeSetup();
begin
gdipShutdown;
UnloadSkin();
end;


Use Procedure CurpageChanged

Andre Jesus 19-01-2013 14:00

Quote:

Originally Posted by Razor12911 (Post 413094)
Use procedure CurPageChanged

Dear Razor12911.

I tried several ways and could not, can you give me an example please?

Andre Jesus 19-01-2013 14:02

Quote:

Originally Posted by Razor12911 (Post 413093)
[Files]
Source: Font.ttf; DestDir: {tmp}; Flags: dontcopy;

[Code]
#ifdef UNICODE
#define A "W"
#else
#define A "A"
#endif


const
FR_PRIVATE = $10;

function AddFontResource(lpszFilename:string;fl:dword;pdv:i nteger): Integer; external 'AddFontResourceEx{#A}@gdi32.dll stdcall';
function RemoveFontResource(lpszFilename:string;fl:dword;pd v:integer): BOOL; external 'RemoveFontResourceEx{#A}@gdi32.dll stdcall';

procedure InitializeWizard;
begin
ExtractTemporaryFile('Font.ttf');
AddFontResource(ExpandConstant('{tmp}\Font.ttf'), FR_PRIVATE, 0);
end;

procedure DeinitializeSetup;
begin
RemoveFontResource(ExpandConstant('{tmp}\Font.ttf' ), FR_PRIVATE, 0);
end;

__________________________________________________ ______________

Glad could help with font.

Work on ANSI and UNICODE

Sorry for bad english.

Thank you very much for your response friend.
I will try use this code and return the result.

Razor12911 20-01-2013 00:09

[Code]

var

Image1, Image2, Image3, Image4: Longint;

procedure InitializeWizard();
begin

h:=WizardForm.Handle;
Image1:=ImgLoad(h,ExpandConstant('{tmp}\1.jpg'),0, 0,600,400,True,True);
Image2:=ImgLoad(h,ExpandConstant('{tmp}\2.jpg'),0, 0,600,400,True,True);
Image3:=ImgLoad(h,ExpandConstant('{tmp}\3.jpg'),0, 0,600,400,True,True);
Image4:=ImgLoad(h,ExpandConstant('{tmp}\4.jpg'),0, 0,600,400,True,True);
ImgLoad(h,ExpandConstant('{tmp}\glass.png'),20,130 ,560,220,True,True);
ImgSetVisibility(Image1,False);
ImgSetVisibility(Image2,False);
ImgSetVisibility(Image3,False);
ImgSetVisibility(Image4,False);
ImgApplyChanges(WizardForm.Handle);
end;

procedure Components(CurPageID: Integer);
begin
ImgSetVisibility(Image1,False);
ImgSetVisibility(Image2,False);
ImgSetVisibility(Image3,False);
ImgSetVisibility(Image4,False);
case CurPageID of
wpWelcome:
begin
ImgSetVisibility(Image1,True);
end;
wpReady:
begin
ImgSetVisibility(Image2,True);
end;
wpInstalling:
begin
ImgSetVisibility(Image3,True);
end;
wpFinish:
begin
ImgSetVisibility(Image4,True);
end;
end;
end;


procedure CurPageChanged(CurPageID: Integer);
begin
Components(CurPageID);
ImgApplyChanges(WizardForm.Handle);
end;

Razor12911 20-01-2013 02:37

Quote:

Originally Posted by ayateknik (Post 412944)
Hello, my problem inno setup screen with the following codes to hide the full-screen image as it appears in the add file with no problem putting skin alone
I am not receiving the same error when I add music files to the game but the game is opening splash and splash skin file does not delete the music does not play but instead of attaching the stand-alone splash splash splash in both the music at the same time coming, but this time I was not at the same time both the music and the system properties of skin and splash how can I use a combination of modules which alone all that I wrote the game setup screen, I want a large modules add dll files and codes
still getting the error

[...]

To use splash on this

#ifdef UNICODE
procedure ShowSplashScreen(p1:HWND;p2:AnsiString;p3,p4,p5,p6 ,p7:integer;p8:boolean;p9:Cardinal;p10 :integer); external 'ShowSplashScreen@files:isgsg.dll stdcall delayload';
#else
procedure ShowSplashScreen(p1:HWND;p2:string;p3,p4,p5,p6,p7: integer;p8:boolean;p9:Cardinal;p10:integer); external 'ShowSplashScreen@files:isgsg.dll stdcall delayload';
#endif

Razor12911 20-01-2013 02:41

Why stress yoursef finding an unuseful script. it has bugs.

Rather use Yener90's Installer.

Razor12911 20-01-2013 02:45

Quote:

Originally Posted by hackjack (Post 412830)
sorry bro i tried but i cant do it plz do this for me. script no 10 an 12
link-http://fileforums.com/showthread.php?t=93298
nd plz upload.
sorry for trouble

define archiive progress.

Andre Jesus 20-01-2013 09:37

Quote:

Originally Posted by Razor12911 (Post 413116)
Ok. What else?

Can you give a example of glass button?
I want to change the button this instaler.
http://s9.postimage.org/pg8m175pb/Image_Setup.jpg

I wanto to learn these use two types of button:

Type 1:
http://s2.postimage.org/64jk9wgk9/button.png

Type 2:
http://advertboy.files.wordpress.com/2007/11/blue.jpg

akash77 21-01-2013 02:09

1)i have all the setup.bin files but can i create installer for these files
if yes then how? And the files would be so that all have to be DVD5 format?
2)Can i convert a inno setup of DVD9 to DVD5? if yes then how?
Plz help

pakrat2k2 21-01-2013 17:38

look in inno script for ( these are set for DVD5 )

Code:

DiskSpanning=true
DiskSliceSize=1556000000
SlicesPerDisk=3


Andre Jesus 22-01-2013 08:48

3 Attachment(s)
Hello guys.

Finally i terminate my installer exactly how i wanted, however, i don´t know to fix a little problem about Welcomepage.
When i run it, the Welcomepage show me the label mix with label of the Finishedpage, but if i click in next button and after in back button, the problem disapear and all stay normal.
Does anyone know why this happens?:confused:

See the problem sequence.

Attachment 5517

Attachment 5518

Attachment 5519

Thanks in advance and sorry my bad english.

Razor12911 23-01-2013 07:18

Quote:

Originally Posted by Andre Jesus (Post 413150)
Hello guys.

Finally i terminate my installer exactly how i wanted, however, i don´t know to fix a little problem about Welcomepage.
When i run it, the Welcomepage show me the label mix with label of the Finishedpage, but if i click in next button and after in back button, the problem disapear and all stay normal.
Does anyone know why this happens?:confused:

See the problem sequence.

Attachment 5517

Attachment 5518

Attachment 5519

Thanks in advance and sorry my bad english.

Try making your own labels.

Hide
Pagenamelabel and pagedescriptionlabel. this can be done in CurpageChanged.

Razor12911 23-01-2013 07:23

Quote:

Originally Posted by Andre Jesus (Post 413123)
Can you give a example of glass button?
I want to change the button this instaler.
http://s9.postimage.org/pg8m175pb/Image_Setup.jpg

I wanto to learn these use two types of button:

Type 1:
http://s2.postimage.org/64jk9wgk9/button.png

Type 2:
http://advertboy.files.wordpress.com/2007/11/blue.jpg

here is example

[Files]
Source: buttons.png; DestDir: {tmp}; Flags: dontcopy

[Code]
var
hback, hnext, hcancel :Longint
ButtonFont: TFont;

procedure SetStateNewButtons;
begin

with WizardForm.BackButton do begin
BtnSetText(hBackBtn,PAnsiChar(Caption));
BtnSetVisibility(hBackBtn,Visible);
BtnSetEnabled(hBackBtn,Enabled);
end;

with WizardForm.NextButton do begin
BtnSetText(hNextBtn,PAnsiChar(Caption));
BtnSetVisibility(hNextBtn,Visible);
BtnSetEnabled(hNextBtn,Enabled);
end;

with WizardForm.CancelButton do begin
BtnSetText(hCancelBtn,PAnsiChar(Caption));
BtnSetVisibility(hCancelBtn,Visible);
BtnSetEnabled(hCancelBtn,Enabled);
end;
end;


procedure WizardFormBtnClick(hBtn:HWND);
var
Btn:TButton;
begin
case hBtn of
hCancelBtn: Btn:=WizardForm.CancelButton;
hNextBtn: Btn:=WizardForm.NextButton;
hBackBtn: Btn:=WizardForm.BackButton;
hDirBrowseBtn: Btn:=WizardForm.DirBrowseButton;
hGroupBrowseBtn: Btn:=WizardForm.GroupBrowseButton;
end;
Btn.OnClick(Btn);
SetStateNewButtons;
BtnRefresh(hBtn);
end;

Procedure ButtonsTexture;
begin
ButtonFont:=TFont.Create;
ButtonFont.Name:='Arial';
ButtonFont.Size:=13;
ButtonFont.Color:=$FFFFFF;
with WizardForm.BackButton do begin
hBackBtn:=BtnCreate(WizardForm.Handle,Left-52,Top-65,Width+25,Height+16,ExpandConstant('{tmp}\button .png'),18,False);
BtnSetEvent(hBackBtn,BtnClickEventID,WrapBtnCallba ck(@WizardFormBtnClick,1));
BtnSetFont(hBackBtn,ButtonFont.Handle);
BtnSetFontColor(hBackBtn,$DAE369,$DAE369,$DAE369,$ B6B6B6);
BtnSetCursor(hBackBtn,GetSysCursorHandle(32649));
Width:=0;
Height:=0;
end;

with WizardForm.NextButton do begin
hNextBtn:=BtnCreate(WizardForm.Handle,Left-28,Top-65,Width+25,Height+16,ExpandConstant('{tmp}\button .png'),18,False);
BtnSetEvent(hNextBtn,BtnClickEventID,WrapBtnCallba ck(@WizardFormBtnClick,1));
BtnSetFont(hNextBtn,WFButtonFont.Handle);
BtnSetFontColor(hNextBtn,$DAE369,$DAE369,$DAE369,$ B6B6B6);
BtnSetCursor(hNextBtn,GetSysCursorHandle(32649));
Width:=0;
Height:=0;
end;

with WizardForm.CancelButton do begin
hCancelBtn:=BtnCreate(WizardForm.Handle,Left-223,Top-65,Width+25,Height+16,ExpandConstant('{tmp}\button .png'),18,False);
BtnSetEvent(hCancelBtn,BtnClickEventID,WrapBtnCall back(@WizardFormBtnClick,1));
BtnSetFont(hCancelBtn,ButtonFont.Handle);
BtnSetFontColor(hCancelBtn,$DAE369,$DAE369,$DAE369 ,$B6B6B6);
BtnSetCursor(hCancelBtn,GetSysCursorHandle(32649)) ;
Width:=0;
Height:=0;
end;

with WizardForm.DirBrowseButton do begin
hDirBrowseBtn:=BtnCreate(WizardForm.Handle,Left+15 0,Top+55,Width-40,Height+10,ExpandConstant('{tmp}\browse.png'),6, False);
BtnSetEvent(hDirBrowseBtn,BtnClickEventID,WrapBtnC allback(@WizardFormBtnClick,1));
BtnSetFont(hDirBrowseBtn,ButtonFont.Handle);
BtnSetFontColor(hDirBrowseBtn,$DAE369,$DAE369,$DAE 369,$B6B6B6);
BtnSetCursor(hDirBrowseBtn,GetSysCursorHandle(3264 9));
Width:=0;
Height:=0;
end;

with WizardForm.GroupBrowseButton do begin
hGroupBrowseBtn:=BtnCreate(WizardForm.Handle,Left+ 150,Top+55,Width-40,Height+10,ExpandConstant('{tmp}\browse.png'),6, False);
BtnSetEvent(hGroupBrowseBtn,BtnMouseEnterEventID,W rapBtnCallback(@WFBtnEnter,1));
BtnSetEvent(hGroupBrowseBtn,BtnClickEventID,WrapBt nCallback(@WizardFormBtnClick,1));
BtnSetFont(hGroupBrowseBtn,ButtonFont.Handle);
BtnSetFontColor(hGroupBrowseBtn,$DAE369,$DAE369,$D AE369,$B6B6B6);
BtnSetCursor(hGroupBrowseBtn,GetSysCursorHandle(32 649));
Width:=0;
Height:=0;
end;
end;

Andre Jesus 01-02-2013 06:44

Hello.

I know to load image .jpg on installer, like example below:

Code:

InnerNotebook.Hide;
OuterNotebook.Hide;

h:=WizardForm.Handle;
ImgLoad(h,ExpandConstant('{tmp}\1.jpg'),0,0,WizardForm.ClientWidth,WizardForm.ClientHeight,True,True);
ImgApplyChanges(WizardForm.Handle);

But i don´t know to load image on unistaller.
How can i load image .jpg on the uninstaller screen?

Sorry my bad english.

Andre Jesus 01-02-2013 07:37

4 Attachment(s)
Quote:

Originally Posted by Razor12911 (Post 413174)
Try making your own labels.

Hide
Pagenamelabel and pagedescriptionlabel. this can be done in CurpageChanged.

Thank you for your help.
Now work correctly.

Attachment 5542

Attachment 5543

Attachment 5544

Attachment 5545


All times are GMT -7. The time now is 10:30.

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