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
  #1  
Old 29-05-2013, 16:30
nicola16's Avatar
nicola16 nicola16 is offline
Registered User
 
Join Date: Nov 2008
Location: Italia
Posts: 74
Thanks: 23
Thanked 15 Times in 12 Posts
nicola16 is on a distinguished road
I want to do something like this

Reply With Quote
Sponsored Links
  #2  
Old 29-05-2013, 17:47
nicola16's Avatar
nicola16 nicola16 is offline
Registered User
 
Join Date: Nov 2008
Location: Italia
Posts: 74
Thanks: 23
Thanked 15 Times in 12 Posts
nicola16 is on a distinguished road
I did it now and perfect.
Reply With Quote
  #3  
Old 30-05-2013, 07:54
nicola16's Avatar
nicola16 nicola16 is offline
Registered User
 
Join Date: Nov 2008
Location: Italia
Posts: 74
Thanks: 23
Thanked 15 Times in 12 Posts
nicola16 is on a distinguished road
WizardForm.InnerNotebook.Hide;
WizardForm.OuterNotebook.Hide;

these hidden

you have to create your page readme

I have the same problem.
Reply With Quote
  #4  
Old 31-05-2013, 07:07
Newbie's Avatar
Newbie Newbie is offline
Registered User
 
Join Date: Sep 2012
Location: Croatia
Posts: 81
Thanks: 112
Thanked 13 Times in 11 Posts
Newbie is on a distinguished road
Hi.

Question about this line, e.g.:

Code:
arc a -ep1 -r -ed -w.\ .\Disk1\list.bin [email protected] -msrep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8
What is the difference between "-ep" and "-ep1".

When to use ep and when ep1...

What is "-ed" and when to use it.

Also, if I want to compress folder with files how to do it....

I mean if I later want to extract it to some folder it should be e.g. Some folder - my compressed folder with files inside.

Not Some folder - files from compressed folder.

I hope you understand my question.

I apologize if these was asked already before....

Thank You

EDIT: Thank You Joe Forster/STA for coding my line.

Last edited by Newbie; 31-05-2013 at 07:47.
Reply With Quote
  #5  
Old 31-05-2013, 08:22
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,754
Thanks: 2,191
Thanked 11,222 Times in 2,312 Posts
Razor12911 is on a distinguished road
Answer
Reply With Quote
  #6  
Old 01-06-2013, 13:03
y_thelastknight's Avatar
y_thelastknight y_thelastknight is offline
Registered User
 
Join Date: Mar 2010
Location: Canada
Posts: 437
Thanks: 616
Thanked 576 Times in 213 Posts
y_thelastknight is on a distinguished road
what is the best compression script for internal
Reply With Quote
  #7  
Old 01-06-2013, 13:14
Smurf Stomper's Avatar
Smurf Stomper Smurf Stomper is offline
Registered User
 
Join Date: Feb 2007
Location: EU
Posts: 118
Thanks: 0
Thanked 10 Times in 8 Posts
Smurf Stomper is on a distinguished road
I have a question, posted in as part of a conversation w/ Peter, but if anyone has an answer they're welcome to post it

http://fileforums.com/showpost.php?p...9&postcount=56
Reply With Quote
  #8  
Old 01-06-2013, 13:33
y_thelastknight's Avatar
y_thelastknight y_thelastknight is offline
Registered User
 
Join Date: Mar 2010
Location: Canada
Posts: 437
Thanks: 616
Thanked 576 Times in 213 Posts
y_thelastknight is on a distinguished road
Quote:
Originally Posted by Smurf Stomper View Post
I have a question, posted in as part of a conversation w/ Peter, but if anyone has an answer they're welcome to post it

http://fileforums.com/showpost.php?p...9&postcount=56

Code:
[Setup]
AppName=MyApp
AppVerName=MyApp
DefaultDirname={pf}\MyApp

[files]
Source: Img2.bmp; DestDir: {tmp}; Flags: dontcopy

[ code ]
var
WelcomeLabel1, WelcomeLabel2, FinishedLabel, FinishedHeadingLabel: TLabel;

procedure InitializeWizard();
begin
ExtractTemporaryFile('img2.bmp');

WizardForm.WizardBitmapImage.Width:= ScaleX(497);
WizardForm.WizardBitmapImage2.Width:= ScaleX(497);
WizardForm.WizardBitmapImage2.Bitmap.LoadFromFile(ExpandConstant('{tmp}\img2.bmp'));

WelcomeLabel1:= TLabel.Create(WizardForm);
WelcomeLabel1.AutoSize:= False;
with WizardForm.WelcomeLabel1 do
WelcomeLabel1.SetBounds(Left, Top, Width, Height);
WelcomeLabel1.Font:= WizardForm.WelcomeLabel1.Font
WelcomeLabel1.Font.Color:= clWhite;
WelcomeLabel1.Transparent:= True;
WelcomeLabel1.WordWrap:= true;
WelcomeLabel1.Caption:= WizardForm.WelcomeLabel1.Caption;
WelcomeLabel1.Parent:= WizardForm.WelcomePage

WelcomeLabel2:= TLabel.Create(WizardForm);
WelcomeLabel2.AutoSize:= False;
with WizardForm.WelcomeLabel2 do
WelcomeLabel2.SetBounds(Left, Top, Width, Height);
WelcomeLabel2.Font:= WizardForm.WelcomeLabel2.Font
WelcomeLabel2.Font.Color:= clWhite;
WelcomeLabel2.Transparent:= True;
WelcomeLabel2.WordWrap:= true;
WelcomeLabel2.Caption:= WizardForm.WelcomeLabel2.Caption;
WelcomeLabel2.Parent:= WizardForm.WelcomePage

FinishedHeadingLabel:= TLabel.Create(WizardForm);
FinishedHeadingLabel.AutoSize:= False;
with WizardForm.FinishedHeadingLabel do
FinishedHeadingLabel.SetBounds(Left, Top, Width, Height);
FinishedHeadingLabel.Font:= WizardForm.FinishedHeadingLabel.Font
FinishedHeadingLabel.Font.Color:= clWhite;
FinishedHeadingLabel.Transparent:= True;
FinishedHeadingLabel.WordWrap:= true;
FinishedHeadingLabel.Caption:= WizardForm.FinishedHeadingLabel.Caption;
FinishedHeadingLabel.Parent:= WizardForm.FinishedPage

FinishedLabel:= TLabel.Create(WizardForm);
FinishedLabel.AutoSize:= False;
with WizardForm.FinishedLabel do
FinishedLabel.SetBounds(Left, Top, Width, Height);
FinishedLabel.Font:= WizardForm.FinishedLabel.Font
FinishedLabel.Font.Color:= clWhite;
FinishedLabel.Transparent:= True;
FinishedLabel.WordWrap:= true;
FinishedLabel.Caption:= WizardForm.FinishedLabel.Caption;
FinishedLabel.Parent:= WizardForm.FinishedPage

WizardForm.WelcomeLabel1.Hide;
WizardForm.WelcomeLabel2.Hide;
WizardForm.FinishedLabel.Hide;
WizardForm.FinishedHeadingLabel.Hide;
end;

procedure CurPageChanged(CurPageID: Integer);
begin
FinishedLabel.Caption:= WizardForm.FinishedLabel.Caption;
end;
@Smurf Stomper Try this script

@other members what is the best compression script for internal
Reply With Quote
  #9  
Old 01-06-2013, 13:39
Smurf Stomper's Avatar
Smurf Stomper Smurf Stomper is offline
Registered User
 
Join Date: Feb 2007
Location: EU
Posts: 118
Thanks: 0
Thanked 10 Times in 8 Posts
Smurf Stomper is on a distinguished road
interesting - yours displays the text on the finished page just fine.

As for compression, I think lzma2/ultra64 is the tightest that inno can offer, without having to resort to using .arc files like some scripts around the forums.

EDIT: I messed with my original script I had pasted - turns out if I change this

Code:
procedure CurPageChanged(CurPageID: Integer);
var
FinishedLbl2: TLabel; 
begin
  if (CurPageID = wpFinished) then FinishedLbl2.Caption:= WizardForm.FinishedLabel.Caption; 
end;
to this:

Code:
procedure CurPageChanged(CurPageID: Integer);
var
FinishedLbl2: TLabel; 
begin
  FinishedLbl2.Caption:= WizardForm.FinishedLabel.Caption; 
end;
mine works just fine. ::sigh::

Last edited by Smurf Stomper; 01-06-2013 at 13:46.
Reply With Quote
The Following User Says Thank You to Smurf Stomper For This Useful Post:
y_thelastknight (01-06-2013)
  #10  
Old 01-06-2013, 14:01
y_thelastknight's Avatar
y_thelastknight y_thelastknight is offline
Registered User
 
Join Date: Mar 2010
Location: Canada
Posts: 437
Thanks: 616
Thanked 576 Times in 213 Posts
y_thelastknight is on a distinguished road
Quote:
Originally Posted by Smurf Stomper View Post
EDIT: I messed with my original script I had pasted - turns out if I change this

Code:
procedure CurPageChanged(CurPageID: Integer);
var
FinishedLbl2: TLabel; 
begin
  if (CurPageID = wpFinished) then FinishedLbl2.Caption:= WizardForm.FinishedLabel.Caption; 
end;
to this:

Code:
procedure CurPageChanged(CurPageID: Integer);
var
FinishedLbl2: TLabel; 
begin
  FinishedLbl2.Caption:= WizardForm.FinishedLabel.Caption; 
end;
mine works just fine. ::sigh::
i think it wont works..try it..i just tried it and it didn't works
Reply With Quote
  #11  
Old 01-06-2013, 14:29
Smurf Stomper's Avatar
Smurf Stomper Smurf Stomper is offline
Registered User
 
Join Date: Feb 2007
Location: EU
Posts: 118
Thanks: 0
Thanked 10 Times in 8 Posts
Smurf Stomper is on a distinguished road
Full code section:

Code:
var
  bgImage : TBitmapImage;
  WelcomeLbl1,WelcomeLbl2,FinishedLbl1,FinishedLbl2: TLabel; 
  WelcomeLabel1,WelcomeLabel2,FinishedHeadingLabel,FinishedLabel: TLabel;

procedure InitializeWizard();  
begin
with wizardform do begin

  bgImage:= TBitmapImage.Create(MainForm);
  bgImage.Align:= alClient;
  bgImage.Stretch:= False;
  bgImage.Parent:= MainForm;
  bgImage.Center:= True;
  bgImage.BackColor:= $000000;

  WelcomeLabel1.Visible:= False
  WelcomeLabel2.Visible:= False
  FinishedLabel.Visible:= False
  FinishedHeadingLabel.Visible:= False

  WizardBitmapImage.Parent := WelcomePage;
  // the wizard.bmp images' dimensions specified here
  WizardBitmapImage.Width:= 497;
  WizardBitmapImage.height:= 313;
  WizardBitmapImage2.Width:= 497;
  WizardBitmapImage2.Height:= 313;
  
  WizardSmallBitmapImage.visible:=true;
  WizardSmallBitmapImage.Width:=220;
  WizardSmallBitmapImage.Height:=58;
  //use value of 0 for leftmost alignment
  WizardSmallBitmapImage.Left:=+0;
  
  //manipulate the small unbolded top text on wizard pages. 495 is the total width 
  //(subtract out the smallbitmapimage's width for the max text box width)
  
  PageDescriptionLabel.Visible:=true;
  PageDescriptionLabel.Width:=250;
  PageDescriptionLabel.Left:=+240;
  
  //manipulate the bold description text position
  PageNameLabel.Width:=275;
  PageNameLabel.Left:=+230;


//Manipulate text on welcome page - this is the top bold "Welcome..." text
  
WelcomeLbl1 := TLabel.Create(WizardForm);
  with WelcomeLbl1 do
  begin
    Parent := WizardForm.WelcomePage;
    WordWrap := True;
    AutoSize := False;
    Caption := WizardForm.WelcomeLabel1.Caption;
    Transparent:= True;
    Left := WelcomeLabel1.Left+50;
    Top := WelcomeLabel1.Top-10;
    Width:= 350;   
    Height := WelcomeLabel1.Height;
    Font.Color := ClBlack;
    Font.Size := 12;
    Font.Style := [fsBold];
  end;

WelcomeLbl2 := TLabel.Create(WizardForm);
  with WelcomeLbl2 do
  begin
    Parent := WizardForm.WelcomePage;
    WordWrap:= True;
    AutoSize:=False;
    Caption := WizardForm.WelcomeLabel2.Caption;
    Left := WelcomeLabel2.Left+90;
    Top := WelcomeLabel2.Top-10;
    Width := 230;    //this is the width of the text 'box'
    Height := WelcomeLabel2.Height;
    Transparent:= True;
    Font.Color:= ClBlack;

  end;

  //Manipulate text on finished page - this is the top bold "Completing..." text

FinishedLbl1 := TLabel.Create(WizardForm);
  with FinishedLbl1 do
  begin
    Parent := WizardForm.FinishedPage;
    WordWrap := True;
    AutoSize:=False;
    Caption := WizardForm.FinishedHeadingLabel.Caption;
    Transparent:=True;
    Left := WelcomeLbl1.Left;
    Top := WelcomeLbl1.Top;
    Width := WelcomeLbl1.Width;
    Height := WelcomeLbl1.Height;
    Transparent := True;
    Font.Color := ClBlack;
    Font.Size := 12;
    Font.Style := [fsBold];

  end;

FinishedLbl2 := TLabel.Create(WizardForm);
  with FinishedLbl2 do
  begin
    Parent := WizardForm.FinishedPage;
    WordWrap := True;
    AutoSize:=False;
    Caption := WizardForm.FinishedLabel.Caption ;
    Transparent := True;
    Left := WelcomeLbl2.Left;
    Top := WelcomeLbl2.Top;
    Width := WelcomeLbl2.Width ;
    Height := WelcomeLbl2.Height;
    Transparent := True;
    Font.Color := ClBlack;
  end;
  end;
end;

procedure CurPageChanged(CurPageID: Integer);
begin
  FinishedLbl2.Caption:= WizardForm.FinishedLabel.Caption; 
end;
Reply With Quote
The Following User Says Thank You to Smurf Stomper For This Useful Post:
y_thelastknight (01-06-2013)
  #12  
Old 01-06-2013, 15:49
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
depends on they types of files trying to compress. some compress better then others. look at any of the scripts posted that use peter's method ( bat file ).
Reply With Quote
The Following User Says Thank You to pakrat2k2 For This Useful Post:
y_thelastknight (02-06-2013)
  #13  
Old 03-06-2013, 08:15
Compiler Compiler is offline
Registered User
 
Join Date: Aug 2012
Location: A Planet called Earth.
Posts: 38
Thanks: 10
Thanked 7 Times in 7 Posts
Compiler is on a distinguished road
If I compress few parts of a game with Srep only and rest with Srep and Precomp,then how to use ISDONE[i.e; srep for one files and srep+precomp for other] ?

Last edited by Compiler; 03-06-2013 at 08:29.
Reply With Quote
  #14  
Old 03-06-2013, 11:27
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,754
Thanks: 2,191
Thanked 11,222 Times in 2,312 Posts
Razor12911 is on a distinguished road
@compiler
leave it as is, the arc.ini will solve your little problem.
Reply With Quote
  #15  
Old 04-06-2013, 06:04
danswano danswano is offline
Registered User
 
Join Date: Feb 2013
Location: Luxm
Posts: 314
Thanks: 218
Thanked 27 Times in 22 Posts
danswano is on a distinguished road
Hello,
I have an issue with ISDone, let's say i have 2 arc archives
one to unpack to {app}\ and the second to {userdocs}\
When i uninstall the game it will remove the {app}\ data and leaves the docs.

Is there a solution so the files that copied to docs folder gets removed too?
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
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 16:17.


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