Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Display Modes
  #196  
Old 12-02-2013, 18:32
Andre Jesus's Avatar
Andre Jesus Andre Jesus is offline
Registered User
 
Join Date: Jun 2012
Location: Brazil
Posts: 70
Thanks: 11
Thanked 0 Times in 0 Posts
Andre Jesus is on a distinguished road
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.
Reply With Quote
Sponsored Links
  #197  
Old 13-02-2013, 07:19
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,070 Times in 2,295 Posts
Razor12911 is on a distinguished road
Quote:
Originally Posted by Andre Jesus View Post
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.
Reply With Quote
  #198  
Old 13-02-2013, 09:12
Andre Jesus's Avatar
Andre Jesus Andre Jesus is offline
Registered User
 
Join Date: Jun 2012
Location: Brazil
Posts: 70
Thanks: 11
Thanked 0 Times in 0 Posts
Andre Jesus is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
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
Reply With Quote
  #199  
Old 19-02-2013, 21:44
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,070 Times in 2,295 Posts
Razor12911 is on a distinguished road
Quote:
Originally Posted by Andre Jesus View Post
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.
Reply With Quote
  #200  
Old 20-02-2013, 15:38
spawniectes's Avatar
spawniectes spawniectes is offline
Senior Member
 
Join Date: Sep 2010
Location: Argentina
Posts: 202
Thanks: 52
Thanked 401 Times in 76 Posts
spawniectes is on a distinguished road
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
Reply With Quote
  #201  
Old 20-02-2013, 16:31
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 7,209
Thanks: 3,040
Thanked 9,021 Times in 3,083 Posts
pakrat2k2 is on a distinguished road
[ExtractSettings]
FreeArcFile1={src}\Data1.cab;DestDir:{app};Disk:1;
Reply With Quote
  #202  
Old 20-02-2013, 16:39
spawniectes's Avatar
spawniectes spawniectes is offline
Senior Member
 
Join Date: Sep 2010
Location: Argentina
Posts: 202
Thanks: 52
Thanked 401 Times in 76 Posts
spawniectes is on a distinguished road
Quote:
Originally Posted by pakrat2k2 View Post
[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?
Reply With Quote
  #203  
Old 20-02-2013, 16:56
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 7,209
Thanks: 3,040
Thanked 9,021 Times in 3,083 Posts
pakrat2k2 is on a distinguished road
in installerscript.iss Change #define programfiles.... ;#define ProgramFiles....

remove ; from ;#define Internal

this will then use the freearc files you specify from setup.ini.
Reply With Quote
The Following User Says Thank You to pakrat2k2 For This Useful Post:
spawniectes (20-02-2013)
  #204  
Old 22-02-2013, 02:54
Andre Jesus's Avatar
Andre Jesus Andre Jesus is offline
Registered User
 
Join Date: Jun 2012
Location: Brazil
Posts: 70
Thanks: 11
Thanked 0 Times in 0 Posts
Andre Jesus is on a distinguished road
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?

Sem título.jpg

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

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.

Thanks in advance.

Last edited by Joe Forster/STA; 22-02-2013 at 04:19.
Reply With Quote
  #205  
Old 22-02-2013, 08:24
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,070 Times in 2,295 Posts
Razor12911 is on a distinguished road
Quote:
Originally Posted by Andre Jesus View Post
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.

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.

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

Last edited by Razor12911; 22-02-2013 at 09:09.
Reply With Quote
  #206  
Old 22-02-2013, 10:41
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,070 Times in 2,295 Posts
Razor12911 is on a distinguished road
Splash Example

Splash Example, Makes your source code make this.\


Credits:
Imageshack.
Attached Files
File Type: 7z Splash Example.7z (159.6 KB, 67 views)
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
Andre Jesus (24-02-2013)
  #207  
Old 22-02-2013, 16:30
Andre Jesus's Avatar
Andre Jesus Andre Jesus is offline
Registered User
 
Join Date: Jun 2012
Location: Brazil
Posts: 70
Thanks: 11
Thanked 0 Times in 0 Posts
Andre Jesus is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
Splash Example, Makes your source code make this.\


Credits:
Imageshack.
Nice!

Reply With Quote
  #208  
Old 23-02-2013, 05:59
spawniectes's Avatar
spawniectes spawniectes is offline
Senior Member
 
Join Date: Sep 2010
Location: Argentina
Posts: 202
Thanks: 52
Thanked 401 Times in 76 Posts
spawniectes is on a distinguished road
Can anyone tell me where to look to fix this, the font are crooped



It's made with CIU 1.0.0.5
Reply With Quote
  #209  
Old 23-02-2013, 06:11
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,070 Times in 2,295 Posts
Razor12911 is on a distinguished road
the font itself is translated downwards or the height is way more than width unlike other fonts.
Reply With Quote
  #210  
Old 23-02-2013, 06:18
jackstuff's Avatar
jackstuff jackstuff is offline
Registered User
 
Join Date: Oct 2011
Location: iN mEMORIES
Posts: 109
Thanks: 110
Thanked 26 Times in 17 Posts
jackstuff is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
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
Reply With Quote
Reply

Thread Tools
Display Modes

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
INNO TROUBLESHOOT - Tutorials and Answers about INNO Setup REV0 Conversion Tutorials 129 21-05-2021 06:51
INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup REV0 Conversion Tutorials 51 26-03-2015 07:57
Frequently Asked Questions Joe Forster/STA PC Games - Frequently Asked Questions 0 29-11-2005 10:48



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


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