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
  #46  
Old 23-04-2013, 03:00
Pein46's Avatar
Pein46 Pein46 is offline
Registered User
 
Join Date: Feb 2013
Location: Malaysia
Posts: 27
Thanks: 12
Thanked 8 Times in 7 Posts
Pein46 is on a distinguished road
@Razor12911
This is my script (with files)..

Last edited by Pein46; 23-04-2013 at 03:22.
Reply With Quote
Sponsored Links
  #47  
Old 23-04-2013, 03:07
felix1788 felix1788 is offline
Registered User
 
Join Date: Oct 2012
Location: District 51
Posts: 12
Thanks: 14
Thanked 1 Time in 1 Post
felix1788 is on a distinguished road
@Razor12911
hmm i mean ..why always get error like this

and how to fix it ?
thx...
Reply With Quote
  #48  
Old 23-04-2013, 03:16
Pein46's Avatar
Pein46 Pein46 is offline
Registered User
 
Join Date: Feb 2013
Location: Malaysia
Posts: 27
Thanks: 12
Thanked 8 Times in 7 Posts
Pein46 is on a distinguished road
@felix1788

setup-1a.bin must be packed using freearc..
Reply With Quote
The Following User Says Thank You to Pein46 For This Useful Post:
felix1788 (23-04-2013)
  #49  
Old 23-04-2013, 03:55
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
@Pein46

Kinda busy with a script, will your update script later on.
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
Pein46 (23-04-2013)
  #50  
Old 23-04-2013, 07:52
jksengko jksengko is offline
Registered User
 
Join Date: Jun 2010
Location: dont show
Posts: 71
Thanks: 5
Thanked 5 Times in 5 Posts
jksengko is on a distinguished road
Error in this (Caption:=' Shortcut will be created in following «Start?
Reply With Quote
  #51  
Old 23-04-2013, 10:06
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 7,209
Thanks: 3,040
Thanked 9,043 Times in 3,086 Posts
pakrat2k2 is on a distinguished road
should read Start Menu
Reply With Quote
  #52  
Old 24-04-2013, 07:05
Kurutucu Kurutucu is offline
Registered User
 
Join Date: Aug 2012
Location: Somewhere in the world
Posts: 159
Thanks: 78
Thanked 209 Times in 48 Posts
Kurutucu is on a distinguished road
Updated 1.3

-Changed interface.

-Fixed text grounds.

-Added splash and logo.

-You can create images in PSD files folder with *.psd.

Last edited by Kurutucu; 09-06-2013 at 12:09.
Reply With Quote
  #53  
Old 24-04-2013, 07:19
Kurutucu Kurutucu is offline
Registered User
 
Join Date: Aug 2012
Location: Somewhere in the world
Posts: 159
Thanks: 78
Thanked 209 Times in 48 Posts
Kurutucu is on a distinguished road
Quote:
Originally Posted by felix1788 View Post
@Razor12911
hmm i mean ..why always get error like this

and how to fix it ?
thx...
Data.cab missing. Compress your game files with freearc. For no compression use freearc -m0 method. And don't use archive password.

Last edited by Kurutucu; 24-04-2013 at 08:45.
Reply With Quote
  #54  
Old 24-04-2013, 08:35
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
Here is Unicode

Tweaked the Script a bit.
Attached Files
File Type: 7z Black_Box_Script_By_Kurutucu_V1.3_Unicode.7z (3.01 MB, 798 views)
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
Kurutucu (24-04-2013)
  #55  
Old 24-04-2013, 08:57
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
@Kurutucu

Note 2:

I don't think using setup-1.bin or setup-1a.bin is a good example, Inno Setup can delete those files when you compile script because it thinks those files are created by it.
Reply With Quote
  #56  
Old 24-04-2013, 08:58
Kurutucu Kurutucu is offline
Registered User
 
Join Date: Aug 2012
Location: Somewhere in the world
Posts: 159
Thanks: 78
Thanked 209 Times in 48 Posts
Kurutucu is on a distinguished road
@Razor12911

I know. First compile script. Then create setup-1.bin
Reply With Quote
  #57  
Old 24-04-2013, 19:43
elnesr elnesr is offline
Registered User
 
Join Date: Sep 2012
Location: egypt
Posts: 1
Thanks: 5
Thanked 0 Times in 0 Posts
elnesr is on a distinguished road
i compress files with this method
-mprecomp+srep+lzma:a1:mfbt4:d200m:fb128:mc1000:lc8
what should i change in script to extract files ? , and how to extract more than 1 file ?
Thx

Last edited by elnesr; 24-04-2013 at 19:45.
Reply With Quote
  #58  
Old 24-04-2013, 21:02
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 7,209
Thanks: 3,040
Thanked 9,043 Times in 3,086 Posts
pakrat2k2 is on a distinguished road
Quote:
Originally Posted by elnesr View Post
i compress files with this method
-mprecomp+srep+lzma:a1:mfbt4:d200m:fb128:mc1000:lc8
what should i change in script to extract files ? , and how to extract more than 1 file ?
Thx
find in script

Code:
if not ISArcExtract ( 0, 0, ExpandConstant('{src}\setup-1.bin'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;
add another line for additional filenames, ALSO change ( 0, 0, ) for each additional file IE 2 files then each would be 50 ( must add up to 100 ( 0, 50,)) and so on for each additional file added.

Razor'

in script section
Code:
With GroupLbl do begin
    //Transparent:=true;
    Parent:=WizardForm;
    //Alignment:=taCenter;
    Caption:='Setup will create shortcuts in the following Start';
missing (space) Menu';
 
Caption:='Setup will create shortcuts in the following Start Menu';
Reply With Quote
The Following 3 Users Say Thank You to pakrat2k2 For This Useful Post:
elnesr (24-04-2013), Kurutucu (25-04-2013), Razor12911 (24-04-2013)
  #59  
Old 24-04-2013, 21:28
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
@Pakrat2k2

add arc.ini

if not ISArcExtract ( 0, 0, ExpandConstant('{src}\setup-1.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;

@Kurutucu

How can you have two of
#define NeedSize "6666"
#define PrecompInside
#define SrepInside
#define precomp "0.42"
#define unrar
#define XDelta
#define PackZIP
these in the same script? you are now confusing inno.

One in main.iss and one in ISDone\ISDone.iss and both are different.

Last edited by Razor12911; 24-04-2013 at 21:32.
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
elnesr (24-04-2013)
  #60  
Old 24-04-2013, 22:00
huanvip_1994 huanvip_1994 is offline
Registered User
 
Join Date: Apr 2013
Location: Viet Nam
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
huanvip_1994 is on a distinguished road
her.....
Code:
var
NewCheckBox: TCheckBox;

procedure WizardFormResizer(Sender: TObject);
begin
if NewCheckBox.Checked = True then
begin
WizardForm.Width:=NewWizardFormSizeX
WizardForm.Height:=NewWizardFormSizeY
end else begin
WizardForm.Width:=OldWizardFormSizeX
WizardForm.Height:=OldWizardFormSizeY
end;
end;

procedure InitializeWizard;
begin
NewCheckBox:= TCheckBox.Create(WizardForm);
with NewCheckBox do
begin
Parent:= WizardForm.InstallingPage;
Left:= SetPositionX;
Top:= SetPositionY;
Width:= SetSizeX;
Height:= SetSizeY;
Checked:= False;
OnClick:= @WizardFormResizer;
Caption := 'Compact View';
end;
end;
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
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
Copy file with Inno Setup Script emrahcey Software 1 02-07-2010 08:24



All times are GMT -7. The time now is 03:51.


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