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

Reply
 
Thread Tools Search this Thread Display Modes
  #841  
Old 30-12-2013, 08:08
y_thelastknight's Avatar
y_thelastknight y_thelastknight is offline
Registered User
 
Join Date: Mar 2010
Location: Canada
Posts: 437
Thanks: 616
Thanked 575 Times in 213 Posts
y_thelastknight is on a distinguished road
no bro i need like this, but it not working.

procedure AboutButtonOnClick(Sender: TObject);
begin

If CurPageID=wpWelcome then
begin
MsgBox('Hello.', mbInformation, MB_OK);
end;

If CurPageID=wpSelectDir then
begin
MsgBox('Hello.', mbInformation, MB_OK);
end;

end;
Reply With Quote
Sponsored Links
  #842  
Old 30-12-2013, 09:56
altef_4's Avatar
altef_4 altef_4 is offline
Registered User
 
Join Date: Mar 2012
Location: Ukraine
Posts: 361
Thanks: 248
Thanked 1,018 Times in 239 Posts
altef_4 is on a distinguished road
Quote:
Originally Posted by y_thelastknight View Post
no bro i need like this, but it not working.

procedure AboutButtonOnClick(Sender: TObject);
begin

If CurPageID=wpWelcome then
begin
MsgBox('Hello.', mbInformation, MB_OK);
end;

If CurPageID=wpSelectDir then
begin
MsgBox('Hello.', mbInformation, MB_OK);
end;

end;
Code:
[code]
var
  PageID: integer;

procedure CurPageChanged(CurPageID: integer);
begin
  PageID:=CurPageID;
end;

procedure AboutButtonOnClick(Sender: TObject);
begin
case PageID of
  wpWelcome: MsgBox('wpWelcome', mbInformation, MB_OK);
  wpLicense: MsgBox('wpLicense', mbInformation, MB_OK);
  wpPassword: MsgBox('wpPassword', mbInformation, MB_OK);
  wpInfoBefore: MsgBox('wpInfoBefore', mbInformation, MB_OK);
  wpUserInfo: MsgBox('wpUserInfo', mbInformation, MB_OK);
  wpSelectDir: MsgBox('wpSelectDir', mbInformation, MB_OK);
  wpSelectComponents: MsgBox('wpSelectComponents', mbInformation, MB_OK);
  wpSelectProgramGroup: MsgBox('wpSelectProgramGroup', mbInformation, MB_OK);
  wpSelectTasks: MsgBox('wpSelectTasks', mbInformation, MB_OK);
  wpReady: MsgBox('wpReady', mbInformation, MB_OK);
  wpPreparing: MsgBox('wpPreparing', mbInformation, MB_OK);
  wpInstalling: MsgBox('wpInstalling', mbInformation, MB_OK);
  wpInfoAfter: MsgBox('wpInfoAfter', mbInformation, MB_OK);
  wpFinished: MsgBox('wpFinished', mbInformation, MB_OK);
end;
end;
Reply With Quote
The Following 2 Users Say Thank You to altef_4 For This Useful Post:
papas (02-09-2016), y_thelastknight (30-12-2013)
  #843  
Old 30-12-2013, 12:34
y_thelastknight's Avatar
y_thelastknight y_thelastknight is offline
Registered User
 
Join Date: Mar 2010
Location: Canada
Posts: 437
Thanks: 616
Thanked 575 Times in 213 Posts
y_thelastknight is on a distinguished road
thanks works fine.
Reply With Quote
  #844  
Old 02-01-2014, 13:30
reiji777's Avatar
reiji777 reiji777 is offline
Registered User
 
Join Date: May 2011
Location: Tokyo
Posts: 53
Thanks: 50
Thanked 3 Times in 3 Posts
reiji777 is on a distinguished road
Quote:
Originally Posted by y_thelastknight View Post
hi fellow Member

Check my Attached exe and tell me how is it?

how to make like this m8?
Reply With Quote
  #845  
Old 03-01-2014, 04:56
y_thelastknight's Avatar
y_thelastknight y_thelastknight is offline
Registered User
 
Join Date: Mar 2010
Location: Canada
Posts: 437
Thanks: 616
Thanked 575 Times in 213 Posts
y_thelastknight is on a distinguished road
Quote:
Originally Posted by reiji777 View Post
how to make like this m8?
script.
Attached Files
File Type: 7z Disk Space.7z (5.7 KB, 51 views)

Last edited by y_thelastknight; 03-01-2014 at 05:28.
Reply With Quote
The Following 2 Users Say Thank You to y_thelastknight For This Useful Post:
papas (02-09-2016), reiji777 (03-01-2014)
  #846  
Old 03-01-2014, 05:12
Vatsal Singh Vatsal Singh is offline
Registered User
 
Join Date: Jul 2013
Location: Kanpur
Posts: 5
Thanks: 26
Thanked 0 Times in 0 Posts
Vatsal Singh is on a distinguished road
How to add splash in yener90's script (CIU 1.0.0.6).Thank in advance
Reply With Quote
  #847  
Old 03-01-2014, 06:39
y_thelastknight's Avatar
y_thelastknight y_thelastknight is offline
Registered User
 
Join Date: Mar 2010
Location: Canada
Posts: 437
Thanks: 616
Thanked 575 Times in 213 Posts
y_thelastknight is on a distinguished road
Quote:
Originally Posted by Vatsal Singh View Post
How to add splash in yener90's script (CIU 1.0.0.6).Thank in advance
put the splash.png file in setup.cab file..it works.
Reply With Quote
  #848  
Old 03-01-2014, 07:16
Logrim Logrim is offline
Registered User
 
Join Date: Jun 2009
Location: Spain
Posts: 153
Thanks: 116
Thanked 72 Times in 44 Posts
Logrim is on a distinguished road
Three little question,, help me please ..

1. When unninstall, how to delete the main folder of the installer? the folder is empty but still in program files.. i try with deltree in CurUninstallStepChanged, and with [UninstallDelete] and nothing works.

2. Same problem that the fist, but when cancel the installation. This is worst.. because when cancel, the main folder AND subdirectories still there.

3. The shit png in unninstall doest show.. i think i put in the incorrect line, but i'm a little lost..

My unninstall code is this:

Quote:
procedure InitializeUninstallProgressForm;
var
img:Longint;
UnsStatusLabel, UnsGameNameLabel: Tlabel;

begin
FileCopy(ExpandConstant('{app}\Background.png'), ExpandConstant('{tmp}\Background.png'), True);
FileCopy(ExpandConstant('{app}\isskinU.dll'), ExpandConstant('{tmp}\isskinU.dll'), True);
FileCopy(ExpandConstant('{app}\{#Skin}'), ExpandConstant('{tmp}\{#Skin}'), True);
FileCopy(ExpandConstant('{app}\botva2.dll'), ExpandConstant('{tmp}\botva2.dll'), True);
FileCopy(ExpandConstant('{app}\CallbackCtrl'), ExpandConstant('{tmp}\CallbackCtrl'), True);
FileCopy(ExpandConstant('{app}\UninstData.ini'),Ex pandConstant('{tmp}\Setup.ini'),False);
LoadSkinUninst(ExpandConstant('{tmp}\{#Skin}'), '');

with UninstallProgressForm do begin
BorderStyle := bsNone;
AutoScroll := False;
ClientWidth := ScaleX(650);
ClientHeight := ScaleY(400);
Position:= poScreenCenter;
UninstallProgressForm.InnerNotebook.SetBounds(0,0, 650,400);
UninstallProgressForm.OuterNotebook.SetBounds(0,0, 650,400);

Bevel.Hide;
StatusLabel.Hide;
MainPanel.Hide;
WizardSmallBitmapImage.Hide;
CancelButton.Visible:=True;

ProgressBar.SetBounds(ScaleX(185), ScaleY(374), ScaleX(455), ScaleY(15));

UnsStatusLabel:= TLabel.Create(UninstallProgressForm.InstallingPage );
UnsStatusLabel.SetBounds(ScaleX(15), ScaleY(374), ScaleX(200), ScaleY(30));;
UnsStatusLabel.AutoSize:= False;
UnsStatusLabel.WordWrap:= True;
UnsStatusLabel.Transparent:= True;
UnsStatusLabel.Font.Color:= clSilver;
UnsStatusLabel.Font.Size:= 8
UnsStatusLabel.Font.Name := 'Verdana'
UnsStatusLabel.Caption:= 'Estado de la desinstalación:';
UnsStatusLabel.Parent:= UninstallProgressForm.InstallingPage;

UnsGameNameLabel:= TLabel.Create(UninstallProgressForm.InstallingPage );
UnsGameNameLabel.SetBounds(ScaleX(15), ScaleY(6), ScaleX(500), ScaleY(15));
UnsGameNameLabel.AutoSize:= False;
UnsGameNameLabel.WordWrap:= True;
UnsGameNameLabel.Transparent:= True;
UnsGameNameLabel.Font.Color:= clSilver;
UnsGameNameLabel.Font.Size:= 9
UnsGameNameLabel.Font.Name := 'Verdana'
UnsGameNameLabel.Caption:= 'Desinstalando archivos, por favor espere...';
UnsGameNameLabel.Parent:= UninstallProgressForm.InstallingPage;
end;
end;

procedure CurUninstallStepChanged(CurUninstallStep: TUninstallStep);
begin
if CurUninstallStep = usUninstall then
begin
DelTree('{app}', True, True, True);
RegDeleteKeyIncludingSubkeys(HKLM, ExpandConstant('Software\{code:GamePublisher}\{cod e:GameName}'));
img:=ImgLoad(UninstallProgressForm.Handle,ExpandCo nstant('{tmp}\Background.png'),10,27,630,335,True, True);
ImgApplyChanges(UninstallProgressForm.Handle);
end;
end;

Last edited by Logrim; 03-01-2014 at 07:51.
Reply With Quote
  #849  
Old 03-01-2014, 10:32
Logrim Logrim is offline
Registered User
 
Join Date: Jun 2009
Location: Spain
Posts: 153
Thanks: 116
Thanked 72 Times in 44 Posts
Logrim is on a distinguished road
Anyone knows which is the name of this window in innosetup, and if its posible modify it?

Reply With Quote
  #850  
Old 03-01-2014, 17:51
y_thelastknight's Avatar
y_thelastknight y_thelastknight is offline
Registered User
 
Join Date: Mar 2010
Location: Canada
Posts: 437
Thanks: 616
Thanked 575 Times in 213 Posts
y_thelastknight is on a distinguished road
Quote:
Originally Posted by Logrim View Post
Anyone knows which is the name of this window in innosetup, and if its posible modify it?

There is No name for this window i think
Yup you can create a form for it and call it..you can edit the form however you want it.
Reply With Quote
The Following User Says Thank You to y_thelastknight For This Useful Post:
Logrim (04-01-2014)
  #851  
Old 03-01-2014, 18:21
reiji777's Avatar
reiji777 reiji777 is offline
Registered User
 
Join Date: May 2011
Location: Tokyo
Posts: 53
Thanks: 50
Thanked 3 Times in 3 Posts
reiji777 is on a distinguished road
Quote:
Originally Posted by y_thelastknight View Post
script.
the drive letter on the left and the bar won't show up m8. please help
Attached Images
File Type: jpg bs3.jpg (58.0 KB, 115 views)

Last edited by reiji777; 04-01-2014 at 11:23.
Reply With Quote
  #852  
Old 04-01-2014, 03:16
Logrim Logrim is offline
Registered User
 
Join Date: Jun 2009
Location: Spain
Posts: 153
Thanks: 116
Thanked 72 Times in 44 Posts
Logrim is on a distinguished road
y_TheLastKnight please.. can you tell me with and example? thought i have resolved, but this morning i'm little silly .. all that i want is remove the border.. "bsNone".. and change the buttons with botva2, same that change in wizarform.
Reply With Quote
  #853  
Old 06-01-2014, 05:24
Darkangel5 Darkangel5 is offline
Registered User
 
Join Date: Oct 2013
Location: FRANCE
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Darkangel5 is on a distinguished road
sorry to use google translation to translate

I need your service.
I am trying to make an autorun and I would like to know:

how to use the roundedcorner

how to scroll a text to a point defined

thank you

Last edited by Darkangel5; 06-01-2014 at 08:54.
Reply With Quote
  #854  
Old 06-01-2014, 05:46
sentinelks sentinelks is offline
Banned
 
Join Date: May 2013
Location: hjklò
Posts: 281
Thanks: 74
Thanked 320 Times in 157 Posts
sentinelks is on a distinguished road
Quote:
Originally Posted by reiji777 View Post
the drive letter on the left and the bar won't show up m8. Please help

use inno ansi
Reply With Quote
The Following 2 Users Say Thank You to sentinelks For This Useful Post:
reiji777 (06-01-2014), y_thelastknight (06-01-2014)
  #855  
Old 06-01-2014, 07:09
y_thelastknight's Avatar
y_thelastknight y_thelastknight is offline
Registered User
 
Join Date: Mar 2010
Location: Canada
Posts: 437
Thanks: 616
Thanked 575 Times in 213 Posts
y_thelastknight is on a distinguished road
Quote:
Originally Posted by Logrim View Post
y_TheLastKnight please.. can you tell me with and example? thought i have resolved, but this morning i'm little silly .. all that i want is remove the border.. "bsNone".. and change the buttons with botva2, same that change in wizarform.
ask razor about this.. i just know that..thats all

Last edited by y_thelastknight; 06-01-2014 at 07:21.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 05:51
INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup REV0 Conversion Tutorials 51 26-03-2015 06:57
Frequently Asked Questions Joe Forster/STA PC Games - Frequently Asked Questions 0 29-11-2005 09:48



All times are GMT -7. The time now is 00:19.


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