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)

Andre Jesus 12-02-2013 17:32

Hello.

Has a any way to make the uninstall files (JPEG, DLL, PNG...) stay inside of the unins000.exe? If so, please show the code.

Razor12911 13-02-2013 06:19

Quote:

Originally Posted by Andre Jesus (Post 413888)
Hello.

Has a any way to make the uninstall files (JPEG, DLL, PNG...) stay inside of the unins000.exe? If so, please show the code.

I don't think it's possible.

Andre Jesus 13-02-2013 08:12

Quote:

Originally Posted by Razor12911 (Post 413175)
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;

Razor 12911.

Thank you man, but donīt work.
Can you please revised the script? I think that problem is in var:

Code:

var
hback, hnext, hcancel :Longint


Razor12911 19-02-2013 20:44

Quote:

Originally Posted by Andre Jesus (Post 413909)
Razor 12911.

Thank you man, but donīt work.
Can you please revised the script? I think that problem is in var:

Code:

var
hback, hnext, hcancel :Longint


Fix coming soon.

spawniectes 20-02-2013 14:38

If I use this command:
Code:

arc a -ep1 -r -w.\DVD1\Data1.cab -msrep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 [email protected] -dp"%choice1%" .\DVD1\%arc%
what should I put on setup.ini for extraction

pakrat2k2 20-02-2013 15:31

[ExtractSettings]
FreeArcFile1={src}\Data1.cab;DestDir:{app};Disk:1;

spawniectes 20-02-2013 15:39

Quote:

Originally Posted by pakrat2k2 (Post 414178)
[ExtractSettings]
FreeArcFile1={src}\Data1.cab;DestDir:{app};Disk:1;

Only I have to put that, on the installerScript.iss I must put something or not?

pakrat2k2 20-02-2013 15:56

in installerscript.iss Change #define programfiles.... ;#define ProgramFiles....

remove ; from ;#define Internal

this will then use the freearc files you specify from setup.ini.

Andre Jesus 22-02-2013 01:54

1 Attachment(s)
Hi everybody.

1. I want to avoid my installer run if the same already is running.
Something like the message "Your Setup is Already Running".
How can i make this?

2. Currently i use this option to my border.
Code:

BorderStyle:= bsDialog;
But i want remove only top border like the example picture below.
How can i make this?

Attachment 5675

P.S. Please ignore the buttons, i still canīt make it work correctly.:confused:

3. Someone can indicate a post about how can i compress my games with precomp? Something like a tutorial step-by-step.
Unfortunately i still donīt know nothing about this.:confused:

Thanks in advance.

Razor12911 22-02-2013 07:24

Quote:

Originally Posted by Andre Jesus (Post 414224)
Hi everybody.

1. I want to avoid my installer run if the same already is running.
Something like the message "Your Setup is Already Running".
How can i make this?

2. Currently i use this option to my border.
Code:

BorderStyle:= bsDialog;
But i want remove only top border like the example picture below.
How can i make this?

Attachment 5675

P.S. Please ignore the buttons, i still canīt make it work correctly.:confused:

3. Someone can indicate a post about how can i compress my games with precomp? Something like a tutorial step-by-step.
Unfortunately i still donīt know nothing about this.:confused:

Thanks in advance.

Do you want to remove border?
Use the ISDone for Precomp, srep,sevenzip and etc functions.

Razor12911 22-02-2013 09:41

Splash Example
 
1 Attachment(s)
Splash Example, Makes your source code make this.\
http://imageshack.us/a/img837/498/20130212185121.jpg

Credits:
Imageshack.

Andre Jesus 22-02-2013 15:30

Quote:

Originally Posted by Razor12911 (Post 414260)
Splash Example, Makes your source code make this.\
http://imageshack.us/a/img837/498/20130212185121.jpg

Credits:
Imageshack.

Nice!


spawniectes 23-02-2013 04:59

Can anyone tell me where to look to fix this, the font are crooped

http://img191.imageshack.us/img191/8092/19862184.jpg

It's made with CIU 1.0.0.5

Razor12911 23-02-2013 05:11

the font itself is translated downwards or the height is way more than width unlike other fonts.

jackstuff 23-02-2013 05:18

Quote:

Originally Posted by Razor12911 (Post 414299)
the font itself is translated downwards or the height is way more than width unlike other fonts.

any solution to fix it, give some examples


All times are GMT -7. The time now is 05:40.

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