View Full Version : INNO TROUBLESHOOT - Questions Here
danswano
03-05-2013, 05:15
Intel must be marked as unsupported in most cases.
danswano
03-05-2013, 10:56
Darn, i just noticed that the previews iss your provided that detected the CPU cores has the same ram issue, looks like we will revert to the original version until all fixed.
Razor12911
03-05-2013, 11:11
it will be easy to fix the cpu detection but will leave ram for now.
danswano
03-05-2013, 11:24
Not sure if you got me but the old script has a ram detection issue, it's detecting one stick out of 3.
Razor12911
03-05-2013, 14:30
It was a test update, I reverted the changes, ;)
danswano
03-05-2013, 14:34
Actually i've tried the initial release of yours after the unicode fix and it has the same issue, it's either a bug of the fix you did to make it work with unicode or the script is already bugged by the original developer it self. not sure :/
Razor12911
03-05-2013, 15:05
oh, you mean that.
The RAM Detection method used only works on 2GB Ram and nothing more, I guess, the thingy will have a dll file after all.
Thanks for noticing.
danswano
03-05-2013, 15:53
I think i will forget about it meanwhile.
huavancuong098
04-05-2013, 01:42
Can you teach me how to use the CIU is not, when I created using png and bmp, when it was at fault for the button to install the repack of my
danswano
08-05-2013, 19:03
Hello,
How to compress files inside packed file? i mean let's say i have a .pak file and this file contains lots of files inside, if i unpack it then compress it i will get a higher compression ratio, if i compress the packed file i get less compression ratio.
How to tell freearc or srep to detect those files inside the pack and compress them properly with having to unpack the file?
pakrat2k2
08-05-2013, 20:23
you cant tell it to detect that file. you can either compress it as it is or compress the unpacked version of the file, cant do both.
danswano
11-05-2013, 07:24
Hello,
I have a high end PC, how do i increase the compression speed in my parameter?
Thank you.
Razor12911
11-05-2013, 13:47
i = integer
Freearc
-mti for multi cputhread compression
-lc for compression memory
-use LMZA x64
danswano
11-05-2013, 13:54
Can you give a full parameter example for arc+srep using specific lc and mt please?
Razor12911
11-05-2013, 14:06
arc -ep1 -r -ed -m3 -mt4 -lc8192mb
for precomp, just look at the cmd prompt window and it will tell you what method to use for quick compression
for srep -mem384mb I think
Razor12911
20-05-2013, 09:46
Instructions on scripts which use ISDone v0.6
Ok, First things first.
This blackbox script/installer doesn't support internal compression therefore, I will show you how to use the freearc, 7zip, srep, precomp, winrar, diskchange unpacking.
Now here is an example and a few explainations.
if not ISArcExtract (Component, Progress, ArchiveSource, Destination, '', false, Password, ExpandConstant('{tmp}\arc.ini'), True/False) then break;
if not IS7ZipExtract (Component, Progress, ArchiveSource, Destination, True/False, Password) then break;
if not ISRarExtract (Component, Progress, ArchiveSource, Destination, True/False, Password) then break;
if not ISSRepExtract (Component, Progress, ArchiveSource, Destination, True/False) then break;
if not ISPrecompExtract(Component, Progress, ArchiveSource, Destination, True/False) then break;
e.g.
if not ISArcExtract ( 0, 100, ExpandConstant('{src}\Data1.bin'), ExpandConstant('{app}\'), '', false, '1234', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), False) then break;
Component > Allows unpacking when the component is selected. Ask for more info about this.
e.g
if not ISArcExtract ( 0, 100, ExpandConstant('{src}\Data1.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), False) then break;
Progress > The progressbar taken up by the unpacking progress of archive. Take NOTE, 100 is the total, therefore is it's one archive, set 100, if two, set 50 and the other 50
if not ISArcExtract ( 0, 50, ExpandConstant('{src}\Data1.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), False) then break;
if not ISArcExtract ( 0, 50, ExpandConstant('{src}\Data2.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), False) then break;
ArchiveSource > Now as you can see, the example, ExpandConstant('{src}\Data1.bin'). The expandconstant is for the constant expansion for never mind it but you should take it for granted. {src} which means source of the setup, {pf} means the folder program files, for other constants, click here (http://jrsoftware.org/ishelp/topic_consts.htm).
e.g.
if not ISArcExtract ( 0, 100, ExpandConstant('{src}\Data1.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), False) then break;
Destination > it acts the same way as the source of files but now you are directing the files in the archive to be unpacked in a folder, take note, this can only work if you are unpacking freearc, 7z or rar archive because they can contain a lot of files in one and as for precomp and srep, specify the destination file.
e.g.
if not ISArcExtract ( 0, 100, ExpandConstant('{src}\Data1.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISPrecompExtract( 0, 0, ExpandConstant('{src}\data.pcf'), ExpandConstant('{app}\data.arc'), true) then break;
Password > The archive password set by you.
e.g.
if not ISArcExtract ( 0, 100, ExpandConstant('{src}\Data1.bin'), ExpandConstant('{app}\'), '', false, '1234', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), False) then break;
True/False > aka. notPCFonFLY {PCFonFLY} It's an option to delete file after unpacking process, True means, file must be deleted and False means file mustn't be deleted.
e.g.
if not ISArcExtract ( 0, 100, ExpandConstant('{src}\Data1.bin'), ExpandConstant('{app}\'), '', false, '1234', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), False) then break;
Now, here are a few examples.
The Password feature is only available for 7z, rar and arc.
Freearc
if not ISArcExtract ( 0, 100, ExpandConstant('{src}\Data1.bin'), ExpandConstant('{app}\'), '', false, '1234', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), False) then break;
7zip
if not IS7ZipExtract ( 0, 75, ExpandConstant('{src}\data1.7z'), ExpandConstant('{app}'), false, '1234') then break;
rar
if not ISRarExtract ( 0, 25, ExpandConstant('{src}\data.rar'), ExpandConstant('{app}'), false, '4321') then break;
srep
if not ISSRepExtract ( 0, 10, ExpandConstant('{app}\data.srep'),ExpandConstant(' {app}\data.pcf'), true) then break;
precomp
if not ISPrecompExtract( 0, 90, ExpandConstant('{app}\data.pcf'), ExpandConstant('{app}\data.arc'), true) then break;
Now comes to the diskchange
if not ShowChangeDiskWindow (Text, ExpandConstant('{src}'),Archive) then break;
Text > The text which should be written to notify the user of the setup on what to do.
Archive > The archive the setup can use for verification.
e.g.
if not ShowChangeDiskWindow ('Insert the next disk...', ExpandConstant('{src}'),'Data7.cab') then break;
nicola16
20-05-2013, 10:13
How do I create a reg key universal x64 x32???
danswano
20-05-2013, 10:27
How do I create a reg key universal x64 x32???
Use the 32bit scheme and on 64bit OS it will insert it in the right place don't worry.
Razor12911
20-05-2013, 11:12
@danswano
hmm, it will also insert Wow6432Node on 32-bit which doesn't exist
danswano
20-05-2013, 12:01
If you use this key for example:
HKEY_LOCAL_MACHINE\SOFTWARE\Electronic Arts\
on 32 bit it will be
HKEY_LOCAL_MACHINE\SOFTWARE\Electronic Arts\
and on 64bit
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Electronic Arts\
Tested many times and on multiple Windows versions.
Installshield and advanced installer do the same.
Bottom of the line, there is no need to think or worry about the Wow6432Node at all.
nicola16
20-05-2013, 12:37
to work thanks
Razor12911
21-05-2013, 04:40
yeah, That's the only program I can use at the moment, I don't know how to use the Visual Basics and Visual Studios. :D Plus, Inno Setup has some other features which can be easily controlled.
Preview for Designer 0.1preview
Preview 2
Progress:= 3%
Razor12911
24-05-2013, 03:51
Re: Designer
Guys am I a genius or what?
Finally discovered something to make the designer much easier, just by using Inno Setup and nothing else like the Visual Studio and other application programs. Check this out, I got two ways to create designer, either designer integrated inside the installer or just a separate program.
http://imageshack.us/a/img843/7036/20130524124817.jpg
http://imageshack.us/a/img194/2649/20130524124826.jpg
Here is the example below, You can move back button while in the installer and not via the script:eek:
How to check example, run setup.exe, click next then you'll see backbutton, drag it around but don't lose it, :D
Razor12911
25-05-2013, 04:08
Re: Designer,
Progress: 10%
Decided to remove all graphics first, they are a distraction.
nicola16
25-05-2013, 04:38
Good progress.
Razor12911
25-05-2013, 05:27
Thanks nicola
Progress = 12%
y_thelastknight
25-05-2013, 05:38
nice work..
Razor12911
25-05-2013, 08:11
Designer 20%
Maybe designer alpha will be released today or tomorrow
1102 Inno Setup Script Lines, got a feeling that it will be huge.
nicola16
25-05-2013, 10:52
this is designer for ciu?
nicola16
25-05-2013, 10:55
required disk space max 999 MB add another digit example 9999.
Razor12911
25-05-2013, 11:06
this is designer for ciu?
Nah, Specially designed for my source code, but yener90 CI and CIU Support can be added, can't ask him about it because he made an exception to Contacts and Moderators in Private Messaging.
And the 9999 MB can be simply converted to 10 GB :) because it's close to 1 gb but will update the limit to 4 digits
nicola16
25-05-2013, 11:54
ok peccato potrebbe semplificare il lavoro del ciu 1.0.0.6 :).
where is your code?.
Razor12911
25-05-2013, 11:57
I uploaded it sometime here but it's outdated will have to update it so it's not here, :D
y_thelastknight
25-05-2013, 12:12
ok peccato potrebbe semplificare il lavoro del ciu 1.0.0.6 :).
where is your code?.
i didn't get ur code too :( :p
Razor12911
25-05-2013, 14:08
Yeah yeah, you'll get it
Progress :40%
At least now, I've reached the stage whereby you can now load wizardimage and etc. :D
pakrat2k2
25-05-2013, 15:20
looks great will simplify things for a great many. once you've gotten it to testing phase.
Razor12911
25-05-2013, 15:44
45% complete
now, you can load jpg or bmp and png, re-arrange all you want,
create quick conversions
test attachment added :)
Requesting language translators...:rolleyes:
it's kinda funny, that all of this is been created just by using inno setup and nothing else, :D
Select Backgrounds under Autorun Interface Select tab standard configuration to load a simple file .jpg, Select tab advanced configuration to load a folder which has autorun#.jpg, Select tab expert configuration to load bmp and png image.
Razor12911
27-05-2013, 08:25
Hi Forum Users,
I got a list of Delphi(Inno Setup) Language which is used when dealing with scripts.
And Boolean and or bitwise and of two arguments
Array A data type holding indexable collections of data
As Used for casting object references
Begin Keyword that starts a statement block
Case A mechanism for acting upon different values of an Ordinal
Class Starts the declaration of a type of object class
Const Starts the definition of fixed data values
Constructor Defines the method used to create an object from a class
Destructor Defines the method used to destroy an object
Div Performs integer division, discarding the remainder
Do Defines the start of some controlled action
DownTo Prefixes an decremental for loop target value
Else Starts false section of if, case and try statements
End Keyword that terminates statement blocks
Except Starts the error trapping clause of a Try statement
File Defines a typed or untyped file
Finally Starts the unconditional code section of a Try statement
For Starts a loop that executes a finite number of times
Function Defines a subroutine that returns a value
Goto Forces a jump to a label, regardless of nesting
If Starts a conditional expression to determine what to do next
Implementation Starts the implementation (code) section of a Unit
In Used to test if a value is a member of a set
Inherited Used to call the parent class constructor or destructor method
Interface Used for Unit external definitions, and as a Class skeleton
Is Tests whether an object is a certain class or ascendant
Mod Performs integer division, returning the remainder
Not Boolean Not or bitwise not of one arguments
Object Allows a subroutine data type to refer to an object method
Of Linking keyword used in many places
On Defines exception handling in a Try Except clause
Or Boolean or or bitwise or of two arguments
Packed Compacts complex data types into minimal stor
Procedure Defines a subroutine that does not return a value
Program Defines the start of an application
Property Defines controlled access to class fields
Raise Raise an exception
Record A structured data type - holding fields of data
Repeat Repeat statements until a ternmination condition is met
Set Defines a set of up to 255 distinct values
Shl Shift an integer value left by a number of bits
Shr Shift an integer value right by a number of bits
Then Part of an if statement - starts the true clause
ThreadVar Defines variables that are given separate instances per thread
To Prefixes an incremental for loop target value
Try Starts code that has error trapping
Type Defines a new category of variable or process
Unit Defines the start of a unit file - a Delphi module
Until Ends a Repeat control loop
Uses Declares a list of Units to be imported
Var Starts the definition of a section of data variables
While Repeat statements whilst a continuation condition is met
With A means of simplifying references to structured variables
Xor Boolean Xor or bitwise Xor of two arguments
inovateqsa
28-05-2013, 05:15
I am trying to make a custom installer for my Crysis 3.
Question: Can I use innosetup to make an installer from my Disc/s - without having to install the game first?
IF not, is there any software I can use?
Thank you.
nicola16
29-05-2013, 16:15
About me a hand I want to put a bmp or logo.png down
http://i41.tinypic.com/35a22c9.png
or this old code that I lent year.
How do I change.
[Code]
procedure InheritBoundsRect(ASource, ATarget: TControl);
begin
ATarget.Left := ASource.Left;
ATarget.Top := ASource.Top;
ATarget.Width := ASource.Width;
ATarget.Height := ASource.Height;
end;
procedure InitializeWizard;
var
TopWelcomeLabel: TLabel;
BottomWelcomeLabel: TLabel;
begin
WizardForm.WizardBitmapImage.Align := alClient;
WizardForm.WizardBitmapImage.Bitmap.LoadFromFile(' F:\example.495x314.bmp');
TopWelcomeLabel := TLabel.Create(WizardForm);
TopWelcomeLabel.Parent := WizardForm.WelcomeLabel1.Parent;
TopWelcomeLabel.Font := WizardForm.WelcomeLabel1.Font;
TopWelcomeLabel.Caption := WizardForm.WelcomeLabel1.Caption;
TopWelcomeLabel.WordWrap := WizardForm.WelcomeLabel1.WordWrap;
InheritBoundsRect(WizardForm.WelcomeLabel1, TopWelcomeLabel);
WizardForm.WelcomeLabel1.Visible := False;
BottomWelcomeLabel := TLabel.Create(WizardForm);
BottomWelcomeLabel.Parent := WizardForm.WelcomeLabel2.Parent;
BottomWelcomeLabel.Font := WizardForm.WelcomeLabel2.Font;
BottomWelcomeLabel.Caption := WizardForm.WelcomeLabel2.Caption;
BottomWelcomeLabel.WordWrap := WizardForm.WelcomeLabel2.WordWrap;
InheritBoundsRect(WizardForm.WelcomeLabel2, BottomWelcomeLabel);
WizardForm.WelcomeLabel2.Visible := False;
end;
or this
[code]
function NextButtonClick(CurPageID: Integer): Boolean;
begin
Result := True;
end;
function GetCustomSetupExitCode(): Integer;
begin
Result := 1;
end;
procedure InitializeWizard();
var
WLabel1, WLabel2,
FLabel1, FLabel2: TLabel;
begin
WizardForm.WelcomeLabel1.Hide;
WizardForm.WelcomeLabel2.Hide;
WizardForm.FinishedHeadingLabel.Hide;
WizardForm.FinishedLabel.Hide;
WizardForm.WizardBitmapImage.Width := 500;
WizardForm.WizardBitmapImage.Height := 315;
WLabel1 := TLabel.Create(WizardForm);
WLabel1.Left := ScaleX(176);
WLabel1.Top := ScaleY(16);
WLabel1.Width := ScaleX(301);
WLabel1.Height := ScaleY(54);
WLabel1.AutoSize := False;
WLabel1.WordWrap := True;
WLabel1.Font.Name := 'verdana';
WLabel1.Font.Size := 12;
WLabel1.Font.Style := [fsBold];
WLabel1.Font.Color:= clBlack;
WLabel1.ShowAccelChar := False;
WLabel1.Caption := WizardForm.WelcomeLabel1.Caption;
WLabel1.Transparent := True;
WLabel1.Parent := WizardForm.WelcomePage;
WLabel2 :=TLabel.Create(WizardForm);
WLabel2.Top := ScaleY(76);
WLabel2.Left := ScaleX(176);
WLabel2.Width := ScaleX(301);
WLabel2.Height := ScaleY(234);
WLabel2.AutoSize := False;
WLabel2.WordWrap := True;
WLabel2.Font.Name := 'tahoma';
WLabel2.Font.Color:= clBlack;
WLabel2.ShowAccelChar := False;
WLabel2.Caption := WizardForm.WelcomeLabel2.Caption;
WLabel2.Transparent := True;
WLabel2.Parent := WizardForm.WelcomePage;
WizardForm.WizardBitmapImage2.Width := 500;
WizardForm.WizardBitmapImage2.Height := 315;
FLabel1 := TLabel.Create(WizardForm);
FLabel1.Left := ScaleX(176);
FLabel1.Top := ScaleY(16);
FLabel1.Width := ScaleX(301);
FLabel1.Height := ScaleY(54);
FLabel1.AutoSize := False;
FLabel1.WordWrap := True;
FLabel1.Font.Name := 'verdana';
FLabel1.Font.Size := 12;
FLabel1.Font.Style := [fsBold];
FLabel1.Font.Color:= clBlack;
FLabel1.ShowAccelChar := False;
FLabel1.Caption := WizardForm.FinishedHeadingLabel.Caption;
FLabel1.Transparent := True;
FLabel1.Parent := WizardForm.FinishedPage;
FLabel2 :=TLabel.Create(WizardForm);
FLabel2.Top := ScaleY(76);
FLabel2.Left := ScaleX(176);
FLabel2.Width := ScaleX(301);
FLabel2.Height := ScaleY(53);
FLabel2.AutoSize := False;
FLabel2.WordWrap := True;
FLabel2.Font.Name := 'tahoma';
FLabel2.Font.Color:= clBlack;
FLabel2.ShowAccelChar := False;
FLabel2.Caption := WizardForm.FinishedLabel.Caption;
FLabel2.Transparent := True;
FLabel2.Parent := WizardForm.FinishedPage;
end;
pakrat2k2
29-05-2013, 16:18
its listed in the first section ?
WizardForm.WizardBitmapImage.Bitmap.LoadFromFile(' F:\InstallShield2_495x314.bmp');
nicola16
29-05-2013, 16:20
its listed in the first section ?
WizardForm.WizardBitmapImage.Bitmap.LoadFromFile(' F:\InstallShield2_495x314.bmp');
Is example name.
example.495x314
pakrat2k2
29-05-2013, 16:22
that just lists its size for reference, doesn't need to be there.
nicola16
29-05-2013, 16:27
Yes, but how do I put a logo at the bottom of it red mark?
who can help me complete the code.
http://i41.tinypic.com/35a22c9.png
pakrat2k2
29-05-2013, 16:29
so change the 'F:\InstallShield2_495x314.bmp' to file of your choice & test it to see where it shows up.
nicola16
29-05-2013, 16:30
I want to do something like this
http://i33.tinypic.com/2rrusdw.jpg
nicola16
29-05-2013, 16:36
so change the 'F:\InstallShield2_495x314.bmp' to file of your choice & test it to see where it shows up.
always the same.
http://i41.tinypic.com/bijsic.png
nicola16
29-05-2013, 17:47
I did it now and perfect.
I have 2 probrem with my code
1. I can't show license page before welcome page & ready page before installing page
2. I using StatusLabel.SetBounds but i don't see status in installing page
Please help myyyyy. Sr for my english bad @@
nicola16
30-05-2013, 07:54
WizardForm.InnerNotebook.Hide;
WizardForm.OuterNotebook.Hide;
these hidden
you have to create your page readme
I have the same problem.
y_thelastknight
30-05-2013, 09:45
I have 2 probrem with my code
1. I can't show license page before welcome page & ready page before installing page
2. I using StatusLabel.SetBounds but i don't see status in installing page
Please help myyyyy. Sr for my english bad @@
1. its disabled..i dont know how to do that..
2. chk attachment..
Hi.
Question about this line, e.g.:
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.
Razor12911
31-05-2013, 08:22
Answer (http://freearc.org/FreeArc040-eng.htm)
y_thelastknight
01-06-2013, 13:03
what is the best compression script for internal
Smurf Stomper
01-06-2013, 13:14
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=418989&postcount=56
y_thelastknight
01-06-2013, 13:33
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=418989&postcount=56
[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
Smurf Stomper
01-06-2013, 13:39
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
procedure CurPageChanged(CurPageID: Integer);
var
FinishedLbl2: TLabel;
begin
if (CurPageID = wpFinished) then FinishedLbl2.Caption:= WizardForm.FinishedLabel.Caption;
end;
to this:
procedure CurPageChanged(CurPageID: Integer);
var
FinishedLbl2: TLabel;
begin
FinishedLbl2.Caption:= WizardForm.FinishedLabel.Caption;
end;
mine works just fine. ::sigh::
y_thelastknight
01-06-2013, 14:01
EDIT: I messed with my original script I had pasted - turns out if I change this
procedure CurPageChanged(CurPageID: Integer);
var
FinishedLbl2: TLabel;
begin
if (CurPageID = wpFinished) then FinishedLbl2.Caption:= WizardForm.FinishedLabel.Caption;
end;
to this:
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 :confused:
Smurf Stomper
01-06-2013, 14:29
Full code section:
var
bgImage : TBitmapImage;
WelcomeLbl1,WelcomeLbl2,FinishedLbl1,FinishedLbl2: TLabel;
WelcomeLabel1,WelcomeLabel2,FinishedHeadingLabel,F inishedLabel: 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;
pakrat2k2
01-06-2013, 15:49
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 ).
Compiler
03-06-2013, 08:15
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] ?
Razor12911
03-06-2013, 11:27
@compiler
leave it as is, the arc.ini will solve your little problem.
danswano
04-06-2013, 06:04
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?
Razor12911
04-06-2013, 12:03
hmm, try deltree, but it's doesn't make sense.
danswano
04-06-2013, 12:11
all files that are not copied to {pf} folder are not registered in the uninstall script, how to register them?
Razor12911
04-06-2013, 13:53
ask altef_4, he knows this. he did it with a filelist thingy.
but this is how you set it up.
DelTree(ExpandConstant('{userdocs}\Criterion Games'), True, True, True);
or something like this, now listen, I have a feeling that it's not a good idea of using deltree, so best to ask him.
danswano
04-06-2013, 14:33
hehe, will wait a little bit before PMing him, he might see it and reply.
3rabGamers
04-06-2013, 23:01
Hi,
I have some points please :
1- what is the dif. between CI_Converted_To_CIU and CI 8.5.7.4 and CIU 1.0.0.6
in source projects ?
................
2-what is the best best command in Free arc for the highest compression ratio ?
................
3-How to compress videos and audio of games ?
................
4- What is the GDFBinary=GDF.dll
good tool for making custom binary/GDF dlls for games.
GDFMaker.7z
What is that ?
................
5 -
[LauncherSettings]
InstallRedist=1
Launch1=DirectX
Launch164=0
Launch1BeforeInstall=1
LaunchCom1={src}\Support\directX9c\DXSETUP.exe
LaunchArg1=/silent
Launch2=Nvidia PhysX
Launch264=0
Launch2BeforeInstall=1
LaunchCom2={sys}\msiexec.exe
LaunchArg2=/qn /i "{src}\Support\PhysX-9.12.0613-SystemSoftware.msi"
This is means when the setup finished these programs will launched right ?
How to attach these programs ? + How to add more programs like that ?
I mean especially in these lines :
Launch264=0
Launch2BeforeInstall=1
LaunchCom2={sys}\msiexec.exe
LaunchArg2=/qn /i "{src}\Support\PhysX-9.12.0613-SystemSoftware.msi"
................
6-How to less the files In the result
it make this :
http://img515.imageshack.us/img515/8392/04062013102831.png
------>
http://img6.imageshack.us/img6/7154/04062013102325.png
I mean when I get finished from all setting and compressing..etc
What should I do ?
Razor12911
05-06-2013, 05:20
1 - CI is a custom installer created by yener90, CIU is the advanced custom installer created by yener90, CI Conv CIU is CI Converted to CIU
2 - it depends on the files you are compressing.
3 - rather use srep compression or resample them
4 - gdf is the game binary, it shows and adds details of a the game in the registries and game explorer, gdf maker makes gmae binaries.
5 - it's the tasks the installer/setup should do.
6 - final files are autorun/setup.dll, setup.ini, setup.exe and setup.cab but you can use internal to make it autorun/setup.dll and setup.exe
3rabGamers
05-06-2013, 05:57
THANK YOU VERY MUCH :D
2 - it depends on the files you are compressing.U
How ? Can you explain more with examples of games sizes and types please ?
4 - gdf is the game binary, it shows and adds details of a the game in the registries and game explorer, gdf maker makes gmae binaries.
Is this important to use it when I repack a game ?
6 - final files are autorun/setup.dll, setup.ini, setup.exe and setup.cab but you can use internal to make it autorun/setup.dll and setup.exe
Yeeeeees HOW ? compile using innoscript ? or ?
huavancuong098
05-06-2013, 18:19
I am having problems using the CIU, I do not understand why when I switch from CI to CIU do not have the command line as Instal or play. Can you help me?
http://nx2.upanh.com/b3.s38.d4/04abb687e036a7f24c81ea523bb08d40_56116262.loi.png (http://upanh.com/view/?id=arrbbz6habl)
Razor12911
06-06-2013, 02:46
@3rabGamers
2 -Repack teams and conversion makers use various softwares to bring down the game file sizes, the delete unwanted languages to make the game even smaller and they resample sounds and video.
To compress files, you need the best compressor, nanozip is the best but kinda difficult to use therefore use the second best, freearc.
Freearc involves a variety of external compressors like precomp, srep, tak and etc just find out what they do and how the work.
Now to compress a game, you need to check first what you are compressing. else it will be waste of time and resources, if you are compressing videos, sounds and already compressed files like fifa files (.big files), you'll hardly notice the difference therefore, if you are compressing something that can easily deflate, the results will be outstanding.
5 - hmm, It is and it's not, your choice.
6 - Read the tutorials in yener90 thread.
@huavancuong098
be specific, I don't get it.
huavancuong098
06-06-2013, 02:53
the problem is not with the button as play or instal or exit. When I used to perform CI desgin autorun file but the button is there, but when it comes to CIU, it is no longer the button anymore. Can you help me?
Razor12911
06-06-2013, 02:56
that has happened to my installer when I down clocked my processor to 933mhz and rams to 300mhz, else if your pc is faster than that check the setup.ini because I think they are not the same compared from CI to CIU
huavancuong098
06-06-2013, 03:07
So can you help me how to create one setup file is not the same as you. I am having problems in creating one piece setup like yener90 not. Because I saw the set of his very beautiful!
Razor12911
06-06-2013, 03:11
like create a script from scratch?
huavancuong098
06-06-2013, 03:16
Yes, I want to make one like him installer, how do I get the button out of him as being like that?
3rabGamers
06-06-2013, 08:00
2 -Repack teams and conversion makers use various softwares to bring down the game file sizes, the delete unwanted languages to make the game even smaller and they resample sounds and video.
yeeees
Do you have any idea what these softwares and how they are working ?
all I Know is bink ?
Razor12911
06-06-2013, 08:19
hmm, me too, some use scarface explorer.
3rabGamers
06-06-2013, 10:37
niiiiiiiiiice Know I have deleted none english lang. in audio
It reduces about 500 MB that is nice
I'm working now with bink ?
1- Have you any more ideas ? :D
2- With ARC I have used this command :
-s; -ma- -m=rep:2048mb+mm+delta+dispack+lzma:ultra:170mb
This is good or you have better?
Thank you very very much...+ if you can provide me with your facebook acc that will faster..I will not waste your time ^^
Kurutucu
06-06-2013, 14:49
How use precomp 0.4.3 and what is the precomp+srep+lzma method?
Razor12911
06-06-2013, 15:08
it's the same as 042 just change the arc.ini "-c-" to "-cn"
Kurutucu
06-06-2013, 15:25
What version unarc.dll for precomp 0.43?
huavancuong098
06-06-2013, 17:15
Can you teach me how to use the CIU is not installed. When I use only CI jpg use only. When converting to CIU is not used!
is there any way to create portable version of games or applications by using innosetup?
Razor12911
07-06-2013, 00:17
@red01
anything is possible in inno setup.
@red01
anything is possible in inno setup.
Good to hear that.
Can you please tell me how to make any application or game portable by using innosetup..?
I will be thankful to you.
danswano
08-06-2013, 04:58
Hello,
I have a single 10 G.B file that i want to split to 3XDVD5 via arc+inno
How to split it?
y_thelastknight
08-06-2013, 06:41
Hello,
I have a single 10 G.B file that i want to split to 3XDVD5 via arc+inno
How to split it?
i think freearc doesn't support file split function..
danswano
08-06-2013, 06:51
Yes it does not, it looks i will end up using some command line split/merge tool but how :/
HellRazor
08-06-2013, 07:15
He can do it just with Inno...
danswano
08-06-2013, 07:18
Sure, that's why i mentioned arc+inno.
HellRazor
08-06-2013, 07:29
Sure, that's why i mentioned arc+inno.
Yeah but you can't do it with arc+inno... You can do it with only with inno because arc does not support splitting the archives.
If you don't have anything specific, use Inno's wizzard.
Set DiskSpanning=true and set SlicesPerDisk as you see it fit.
danswano
08-06-2013, 07:42
I need the srep+arc compression ratio, lzma alone is not enough.
Razor12911
08-06-2013, 08:06
Good to hear that.
Can you please tell me how to make any application or game portable by using innosetup..?
I will be thankful to you.
Portable in what way?
Hello,
I have a single 10 G.B file that i want to split to 3XDVD5 via arc+inno
How to split it?
It's not possible with freearc but I can show you a way to do it.
So if you are planning on fitting the 10gb file, this is what you should do. I will implement this on my source.
First, take the 10GB File, use 7zip/winrar to split files to maybe 4gb(if you want to put it in DVD5) then use freearc no compression on each split. maybe Data1.cab, Data2.cab and etc.
to extract do this
Use ISDone to extract the files
Extract Data1.cab, Data2cab and etc to app folder
Use Normal 7zip unpacking for the splits, isdone doesn't supported splitted files.
then back to isdone to extract the 10gb file,
Don't forget to delete them :D
[QUOTE=Razor12911;419306]Portable in what way?
i mean to say..I DONT HAVE TO INSTALL THE PROGRAM OR GAME IN PROGRAM FILES.......Just extract it and we are done to use software/game.
danswano
08-06-2013, 10:09
@Razor, this is so complicated.
I'm thinking of 2 processes max to get the file extracted.
Razor12911
08-06-2013, 10:15
i mean to say..I DONT HAVE TO INSTALL THE PROGRAM OR GAME IN PROGRAM FILES.......Just extract it and we are done to use software/game.
I think you can certify Inno Setup as Portable, I mean, all it does is extracts Files.
@Razor, this is so complicated.
I'm thinking of 2 processes max to get the file extracted.
It's quite easy.
y_thelastknight
09-06-2013, 14:09
FWRadioButton1 := TNewRadioButton.Create(WizardForm);
with FWRadioButton1 do
begin
Parent := WizardForm;
Tag := 1;
Left := ScaleX(400);
Top := ScaleY(130);
Width := ScaleX(300);
Height := ScaleY(25);
Caption := ExpandConstant('run..');
Checked := True;
Font.Style := [fsBold];
Font.transparent:=true
OnClick := @RadioButtonsOnClick;
end;
how do i transparent the captions? :confused:
Edit
never mind solved another way :p
buttignol
13-06-2013, 08:23
Inno setup help disk space
Friends disk size and space available to install is the same when you switch to install on another HD how to fix it
If possible also how to put the point size ex: 149 Gb to 149.50 Gb
Ex: script my script is in two parts.
[Code]
Function NumToStr(Float: Extended): String;
Begin
Result:= Format('%.2n', [Float]); StringChange(Result, ',', '.');
while ((Result[Length(Result)] = '0') or (Result[Length(Result)] = '.')) and (Pos('.', Result) > 0) do
SetLength(Result, Length(Result)-1);
End;
Function MbOrTb(Byte: Extended): String;
begin
if Byte < 1024 then Result:= NumToStr(Byte) + ' Mb' else
if Byte/1024 < 1024 then Result:= NumToStr(round(Byte/1024*100)/100) + ' Gb' else
Result:= NumToStr(round((Byte/(1024*1024))*100)/100) + ' Tb'
end;
procedure InitializeWizard3();
var
Page: TWizardPage;
lbl: TLabel;
Path: String;
FreeMB, TotalMB: Cardinal;
begin
Path := ExpandConstant('{pf}');
GetSpaceOnDisk(Path, True, FreeMB, TotalMB);
Page := PageFromID(wpSelectDir);
lbl := TLabel.Create(Page);
lbl.Width := ScaleX(105);
lbl.Height := ScaleY(43);
lbl.Caption := ExpandConstant('Espaço total do disco : ') + MbOrTb(TotalMB);
lbl.Left := 0;
lbl.Top := 155;
lbl.Parent := Page.Surface;
lbl := TLabel.Create(Page);
lbl.Width := ScaleX(75);
lbl.Height := ScaleY(23);
lbl.Caption := ExpandConstant('Espaço em disco disponível: ') + MbOrTb(FreeMB) + ' (' + IntToStr((FreeMB * 100) div TotalMB) + '%)';
lbl.Left := 0;
lbl.Top := 175;
lbl.Parent := Page.Surface;
lbl := TLabel.Create(Page);
lbl.Width := ScaleX(75);
lbl.Height := ScaleY(23);
lbl.Caption := ExpandConstant('Espaço do Game : ') + MbOrTb(24000);
lbl.Left := 0;
lbl.Top := 195;
lbl.Parent := Page.Surface;
end;
procedure InitializeWizard();
begin
//InitializeWizard1();
//InitializeWizard2();
InitializeWizard3();
end;
Razor12911
13-06-2013, 09:13
Make an onchange for wizardform.diredit to update changes.
How to do one,
procedure DirEditOnChange(Sender: TObject);
begin
lbl.caption:= ExpandConstant('Espaço do Game : ') + MbOrTb(24000);
end;
WizardForm.DirEdit.OnChange:= @DirEditOnChange;
to add the two decimals use this mbortb
Function NumToStr(Float: Extended): String;
Begin
Result:= Format('%.2n', [Float]); StringChange(Result, ',', ',');
while ((Result[Length(Result)] = '0') or (Result[Length(Result)] = ',')) and (Pos(',', Result) > 0) do
SetLength(Result, Length(Result)-1);
End;
function MbOrTb(Float: Extended): String;
begin
if Float < 1024 then Result:= NumToStr(Float)+' '+ 'MB'else
if Float/1024 < 1024 then Result:= NumToStr(Float/1024)+' '+'GB' else
Result:= NumToStr(Float/(1024*1024))+' '+'TB';
end;
buttignol
13-06-2013, 09:54
Razor 12911 decimal solved but I am not getting the location to install you could put in my script how
procedure DirEditOnChange(Sender: TObject);
begin
lbl.caption:= ExpandConstant('Espaço do Game : ') + MbOrTb(24000);
end;
WizardForm.DirEdit.OnChange:= @DirEditOnChange;
Razor12911
13-06-2013, 09:56
oops, forgot something.
procedure DirEditOnChange(Sender: TObject);
var
Page: TWizardPage;
lbl: TLabel;
Path: String;
FreeMB, TotalMB: Cardinal;
begin
Path := WizardForm.DirEdit.Text;
GetSpaceOnDisk(Path, True, FreeMB, TotalMB);
Page := PageFromID(wpSelectDir);
lbl := TLabel.Create(Page);
lbl.Width := ScaleX(105);
lbl.Height := ScaleY(43);
lbl.Caption := ExpandConstant('Espaço total do disco : ') + MbOrTb(TotalMB);
lbl.Left := 0;
lbl.Top := 155;
lbl.Parent := Page.Surface;
lbl := TLabel.Create(Page);
lbl.Width := ScaleX(75);
lbl.Height := ScaleY(23);
lbl.Caption := ExpandConstant('Espaço em disco disponível: ') + MbOrTb(FreeMB) + ' (' + IntToStr((FreeMB * 100) div TotalMB) + '%)';
lbl.Left := 0;
lbl.Top := 175;
lbl.Parent := Page.Surface;
lbl := TLabel.Create(Page);
lbl.Width := ScaleX(75);
lbl.Height := ScaleY(23);
lbl.Caption := ExpandConstant('Espaço do Game : ') + MbOrTb(24000);
lbl.Left := 0;
lbl.Top := 195;
lbl.Parent := Page.Surface;
end;
WizardForm.DirEdit.OnChange:= @DirEditOnChange;
buttignol
13-06-2013, 17:54
Thanks Razor12911 I tried many ways but failed error when compiling (Line 19 Identifier expected) inno setup 5.5.2 unicode
[Code]
Function NumToStr(Float: Extended): String;
Begin
Result:= Format('%.2n', [Float]); StringChange(Result, ',', ',');
while ((Result[Length(Result)] = '0') or (Result[Length(Result)] = ',')) and (Pos(',', Result) > 0) do
SetLength(Result, Length(Result)-1);
End;
function MbOrTb(Float: Extended): String;
begin
if Float < 1024 then Result:= NumToStr(Float)+' '+ 'MB'else
if Float/1024 < 1024 then Result:= NumToStr(Float/1024)+' '+'GB' else
Result:= NumToStr(Float/(1024*1024))+' '+'TB';
end;
procedure InitializeWizard3();
begin
procedure DirEditOnChange(Sender: TObject);
var
Path: String;
Page: TWizardPage;
lbl: TLabel;
FreeMB, TotalMB: Cardinal;
begin
Path := WizardForm.DirEdit.Text;
GetSpaceOnDisk(Path, True, FreeMB, TotalMB);
Page := PageFromID(wpSelectDir);
lbl := TLabel.Create(Page);
lbl.Width := ScaleX(105);
lbl.Height := ScaleY(43);
lbl.Caption := ExpandConstant('Espaço total do disco : ') + MbOrTb(TotalMB);
lbl.Left := 0;
lbl.Top := 155;
lbl.Parent := Page.Surface;
lbl := TLabel.Create(Page);
lbl.Width := ScaleX(75);
lbl.Height := ScaleY(23);
lbl.Caption := ExpandConstant('Espaço em disco disponível: ') + MbOrTb(FreeMB) + ' (' + IntToStr((FreeMB * 100) div TotalMB) + '%)';
lbl.Left := 0;
lbl.Top := 175;
lbl.Parent := Page.Surface;
lbl := TLabel.Create(Page);
lbl.Width := ScaleX(75);
lbl.Height := ScaleY(23);
lbl.Caption := ExpandConstant('Espaço do Game : ') + MbOrTb(24000);
lbl.Left := 0;
lbl.Top := 195;
lbl.Parent := Page.Surface;
end;
WizardForm.DirEdit.OnChange:= @DirEditOnChange;
procedure InitializeWizard();
begin
InitializeWizard1();
InitializeWizard2();
InitializeWizard3();
end;
[QUOTE=Razor12911;419320]I think you can certify Inno Setup as Portable, I mean, all it does is extracts Files.
you are right about this point.
Well i was trying to find out a way where i dont have to install the game or application in pf or any other directory ( natural way of innoset up).
i want to extract the file in directory (anyone and anywhere) and play that game or run application from there.
sorry for being so troublesome..... :D
lyesbboy
14-06-2013, 06:02
hi all i neeed isdone i how to use it thnx
buttignol
14-06-2013, 06:55
To Razor12911 thanks for your help and patience is now "solved"
A hug even more.
Kurutucu
15-06-2013, 16:20
What is the problem? I used compact mode. Then finished resize installer and I see this. http://i41.tinypic.com/30lmnpv.png
http://i41.tinypic.com/30lmnpv.png
It's extraction files... caption. How I disable it in Finished page?
procedure CompactCheckBoxClick(Sender: TObject);
begin
if CompactCheckBox.Checked then
begin
with WizardForm do
begin
Status.SetBounds(150,90,125,15);
WizardSmallBitmapImage.Hide;
WizardForm.ClientWidth:=420;
WizardForm.ClientHeight:=175;
MainPanel.Hide;
Bevel.Hide;
Bevel1.top:=132
CompactCheckBox.SetBounds(326,150,90,14);
SoundCtrlButton.SetBounds(16,141,100,30);
CancelButton.SetBounds(151,141,100,30);
MyCancelButton.SetBounds(151,141,100,30);
ISDoneProgressBar1.Width:= ScaleX(388);
ISDoneProgressBar1.height:=20;
ISDoneProgressBar1.Left:= ScaleX(16);
ISDoneProgressBar1.Top:=50;
LabelTime1.Left:=ISDoneProgressBar1.Left;
LabelTime1.Top:=ISDoneProgressBar1.Top +25;;
LabelTime2.Top:= LabelTime1.Top;
LabelTime2.Left:= 227;
LabelCurrFileName.Left:= ISDoneProgressBar1.Left;
LabelCurrFileName.Top:= ISDoneProgressBar1.Top -20;
LabelPct1.Font.Height:=-24;
LabelPct1.Left:= ISDoneProgressBar1.Left -33 + ISDoneProgressBar1.Width div 2;
LabelPct1.Top:= ISDoneProgressBar1.Top + ScaleY(43);
ProgressGauge.Width:= ScaleX(388);
ProgressGauge.height:=20;
ProgressGauge.Left:= ScaleX(16);
ProgressGauge.Top:=50;
Filenamelabel.Parent:=WizardForm;
Filenamelabel.Left:=WizardForm.ProgressGauge.Left
Filenamelabel.Top:=WizardForm.ProgressGauge.Top -20
Filenamelabel.Width:=WizardForm.ProgressGauge.Widt h
StatusLabel.parent:=wizardform;
StatusLabel.Left:=WizardForm.ProgressGauge.Left
StatusLabel.Top:=WizardForm.Filenamelabel.Top -20
Top:=GetScreenHeight-ClientHeight-45
Left:=GetScreenWidth-ClientWidth-20
end;
end else begin
with WizardForm do
begin
Status.SetBounds(265,250,125,30);
WizardSmallBitmapImage.show;
WizardForm.ClientWidth:=654;
WizardForm.ClientHeight:=402;
MainPanel.Show;
Bevel.Show;
Bevel1.top:=90
CompactCheckBox.SetBounds(560,315,90,14);
SoundCtrlButton.SetBounds(250,353,60,30);
CancelButton.SetBounds(420,353,100,30);
MyCancelButton.SetBounds(420,353,100,30);
ISDoneProgressBar1.Width:= ScaleX(500);
ISDoneProgressBar1.height:=30;
ISDoneProgressBar1.Left:= ScaleX(77);
ISDoneProgressBar1.Top:=170;
LabelTime1.Left:=ISDoneProgressBar1.Left;
LabelTime1.Top:=ISDoneProgressBar1.Top +35;;
LabelTime2.Top:= LabelTime1.Top;
LabelTime2.Left:= 400;
LabelCurrFileName.Left:= ISDoneProgressBar1.Left;
LabelCurrFileName.Top:= ISDoneProgressBar1.Top -20;
LabelPct1.Font.Height:=-24;
LabelPct1.Left:= ISDoneProgressBar1.Left -33 + ISDoneProgressBar1.Width div 2;
LabelPct1.Top:= ISDoneProgressBar1.Top + ScaleY(70);
ProgressGauge.Width:= ScaleX(500);
ProgressGauge.height:=30;
ProgressGauge.Left:= ScaleX(77);
ProgressGauge.Top:=170;
top:=GetScreenHeight-ClientHeight-45
left:=GetScreenWidth-ClientWidth-20
end;
end;
end;
if CurPageID=wpFinished then begin
HideComponents;
WizardForm.ProgressGauge.Hide;
SoundCtrlButton.SetBounds(210,347,100,30);
SoundCtrlButton.Caption :=ExpandConstant('{cm:SoundCtrlButtonCaptionSoundO ff}');
WizardForm.Position:=poScreenCenter;
WizardForm.ClientWidth:=654;
WizardForm.ClientHeight:=402;
WizardForm.Visible:=True;
WizardForm.WizardBitmapImage.Show;
WelcomeLbl.Show;
WelcomeLbl.Left:=145;
WizardForm.Caption:= 'Finish «{#AppName}» Setup Wizard';
WelcomeLbl.Caption:='«{#AppName}» was successfully installed on your computer.' + #13#10#13#10 + 'Run the game from shortcut in "start" menu or Desktop shortcut.' + #13#10#13#10 + 'Click "Finish" to exit the installation program.';
end;
//--------Game Fail To Install PAGE--------\\
if (CurPageID = wpFinished) and ISDoneError then
begin
//LabelTime3.Hide;
WizardForm.Caption:= 'Error! «{#AppName}»';
WelcomeLbl.Font.Color:= clRed;
WelcomeLbl.Caption:= 'Setup encountered an error while installing «{#AppName}»' + #13#10#13#10 + 'Changes were not saved , please re-run the setup again.';
WelcomeLbl.Left:=163;
WizardForm.ProgressGauge.Hide;
WizardForm.Position:=poScreenCenter;
end;
FIXED.
I deleted all
Filenamelabel.Parent:=WizardForm;
Filenamelabel.Left:=WizardForm.ProgressGauge.Left
Filenamelabel.Top:=WizardForm.ProgressGauge.Top -20
Filenamelabel.Width:=WizardForm.ProgressGauge.Widt h
StatusLabel.parent:=wizardform;
StatusLabel.Left:=WizardForm.ProgressGauge.Left
StatusLabel.Top:=WizardForm.Filenamelabel.Top -20
buttignol
15-06-2013, 20:44
Help how do I show page is only wpSelectTasks and also add Surface
[Code]
var
avisoLabel: TLabel;
procedure InitializeWizard();
begin
avisoLabel := TLabel.Create(WizardForm);
avisoLabel.Left := ScaleX(0);
avisoLabel.Top := ScaleY(190)
avisoLabel.Width := ScaleY(185)
avisoLabel.Height := ScaleY(13)
//avisoLabel.Parent := WizardForm; //sempre desativado
avisoLabel.Parent:= WizardForm.SelectDirPage;
avisoLabel.Font.Name:='Verdana';
avisoLabel.Font.Size:= 8;
avisoLabel.Font.Color:=${#Color};
avisoLabel.Transparent:=true;
avisoLabel.Caption := 'Leia antes';
avisoLabel.Font.Style:= [fsBold];
end;
danswano
16-06-2013, 04:44
Hello,
Is it possible to set the compatibility mode of game .exe to Windows XP using inno automatically?
pakrat2k2
16-06-2013, 09:58
look in inno help> [Setup]: TerminalServicesAware
you can set that there for the games EXE
Razor12911
16-06-2013, 13:17
R.G.Catalyst Inno Setup Script
Preview
danswano
16-06-2013, 13:21
Is it the official one or it's a rip/your work?
Razor12911
16-06-2013, 13:22
the original one.
danswano
16-06-2013, 13:24
Do you have RG Mechanics script?
Razor12911
16-06-2013, 13:28
yep. I do have it.
danswano
16-06-2013, 13:30
Awesome, attach it please :D
Razor12911
16-06-2013, 13:35
Searched forum and found this
Link (http://www.fileforums.com/showthread.php?p=411599)
Razor12911
16-06-2013, 13:44
Filetest Run
Now I know this is meaningless post but helps out people dealing with scripts.
I compressed a file which is pretty much deflated.
Users can use this archive to test out their compression methods and etc and it saves time to apply precomp and etc.
the original file size is 440mb but I manage to drop it down to 318kb:eek::eek::eek:
If games were like this it would have been awesome. compress max payne 3 from 35gb to 765kb.
Try it.
danswano
16-06-2013, 14:32
I saw a Windows XP iso once compressed to 2m.b file only.
Where is RG Mechanics script?
Razor12911
16-06-2013, 15:20
Searched forum and found this
Link (http://www.fileforums.com/showthread.php?p=411599)
@danswano
There.
y_thelastknight
18-06-2013, 04:57
How do i transparent WizardForm.FilenameLabel
or how do i get WizardForm.FilenameLabel.Caption to another label?
belkacemdj
19-06-2013, 11:21
how to compress vp6 videos
or to resambled those videos
how to compress vp6 videos
or to resambled those videos
rename it to .bik
use RAD Video Tools (http://www.radgametools.com/down/Bink/RADTools.exe) to resample
Kurutucu
20-06-2013, 18:07
R.G.Catalyst Inno Setup Script
Sorry but it's old version ;)
buttignol
26-06-2013, 07:56
Friends is possible to change the image of the top of the 55x55 pages for a complete picture but leaving the letters over the image example
y_thelastknight
26-06-2013, 08:46
Friends is possible to change the image of the top of the 55x55 pages for a complete picture but leaving the letters over the image example
you can create a label and put it there with transparent
buttignol
26-06-2013, 09:08
you can create a label and put it there with transparent
Thank Y__thelastknight yes but how to change the image 55x55 for the ex: 498x60
y_thelastknight
26-06-2013, 21:33
Thank Y__thelastknight yes but how to change the image 55x55 for the ex: 498x60
Chk Attachment
buttignol
27-06-2013, 00:19
Chk Attachment
Thanks for the help Y__thelastknight solved perfect
If it is not abusing you too much to make a script to change the image of the page
finalize the installation to get image different page welcome.o same size
only to put another image on the page finish if possible thanks
y_thelastknight
27-06-2013, 03:37
Thanks for the help Y__thelastknight solved perfect
If it is not abusing you too much to make a script to change the image of the page
finalize the installation to get image different page welcome.o same size
only to put another image on the page finish if possible thanks
chk attachment..
buttignol
27-06-2013, 17:59
chk attachment..
Thank you thank you thank you "Y__thelastknight" for their patience and support
Perfect extamente I wanted this same «resolved»
buttignol
28-06-2013, 17:56
chk attachment..
y_thelastknight need your help to click install of a white spot on the top picture you can check out my script to see what is happening
has a sample image
Razor12911
04-07-2013, 08:10
Hey Flieforum users
Can someone help me with freearc and unarc.dll
It seems like unarc.dll(295kb) and unarc.dll(317kb) have different functions and unarc.dll(317kb) is the latest either than unarc.dll(320kb) therefore, I'd like to know which one to use if I'm using Freearc 0.67 Alpha December 12, 2012. because the one which works is unarc.dll(295kb) which is kinda of outdated.
Note: I use freearc.exe to compress and not arc.exe.
Thanks.
mausschieber
07-07-2013, 12:24
no one an answer for me
how can i insert hompage and browse button
in autorunscript
thanks for help me
Greetings Guys,
During installation progress , i want to add time (eg. 14 minutes and 30 seconds remaning), name of the file being extracted and some line (eg. please wait while setup install the game/app on your system)..
is it possible?
if yes...
Please tell me how?
thanks in advance
buttignol
12-07-2013, 09:40
Friends I am trying to put a warning on the page selecttasks page but I can not see the prompt script ex what is wrong
var
avisoLabel: TLabel;
procedure InitializeWizard();
var
aviso: TLabel;
begin
avisoLabel := TLabel.Create(WizardForm);
avisoLabel.Left := ScaleX(0);
avisoLabel.Top := ScaleY(190)
avisoLabel.Width := ScaleY(185)
avisoLabel.Height := ScaleY(13)
//avisoLabel.Parent := WizardForm;
avisoLabel.Parent:= WizardForm.SelectDirPage;
//avisoLabel.Font.Name:='Verdana';
//avisoLabel.Font.Size:= 8;
//avisoLabel.Font.Color:=${#Color};
avisoLabel.Transparent:=true;
avisoLabel.Caption := 'ex;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx';
//avisoLabel.Font.Style:= [fsBold];
//avisoLabel.AutoSize := True;
end;
procedure CurPageChanged(CurPageID: Integer);
begin
avisoLabel.Visible := CurPageID = wpSelectDir; //selecionar pagina de destino
end;
Razor12911
12-07-2013, 10:55
no parent maybe.
remove this //
//avisoLabel.Parent := WizardForm;
to
avisoLabel.Parent := WizardForm;
mausschieber
12-07-2013, 13:50
how can i insert hompage and browse button
in autorunscript
thanks for help me
Andre Jesus
12-07-2013, 15:13
Hello.
I still have two little problem in my installer, if anybody know how to solve, i will appreciate the help:
1) Make rounded corners.
6710
2) A scrip to make a progress bar with image PNG.
6711
Regards.
buttignol
12-07-2013, 17:37
no parent maybe.
remove this //
//avisoLabel.Parent := WizardForm;
to
avisoLabel.Parent := WizardForm;
Thank Razor12911 not work
hi everyone,
greeting
I read the tutorials about Inno by REVO and i create setup.ini, setup.cab with all the files and other stuff.
i am trying this for first time.
i am new here and i am not an inno expert.
i Dont KNOW How to make inno read values from setup.ini and setup.cab.
will somebody help me.?
Compiler
13-07-2013, 00:28
Filetest Run
Now I know this is meaningless post but helps out people dealing with scripts.
I compressed a file which is pretty much deflated.
Users can use this archive to test out their compression methods and etc and it saves time to apply precomp and etc.
the original file size is 440mb but I manage to drop it down to 318kb:eek::eek::eek:
If games were like this it would have been awesome. compress max payne 3 from 35gb to 765kb.
Try it.
I tried using this method but still it was not as good as your compression was :confused:
pakrat2k2
13-07-2013, 08:38
hi everyone,
greeting
I read the tutorials about Inno by REVO and i create setup.ini, setup.cab with all the files and other stuff.
i am trying this for first time.
i am new here and i am not an inno expert.
i Dont KNOW How to make inno read values from setup.ini and setup.cab.
will somebody help me.?
read the correct sticky topic, all info there...
http://fileforums.com/showthread.php?t=92805
read the correct sticky topic, all info there...
http://fileforums.com/showthread.php?t=92805
Thanks for your reply pakrat2k2
that converter by yener90 , i already try that and it works fine.
I want to create a new script and i want to add setup.ini in that new script.
i wanted to know how i can add that .ini files in new script.
pakrat2k2
13-07-2013, 21:10
look in CIU 1.0.0.6 & see just how many lines of code there is. !!!!!!! Way too much work & too many months in perfecting that script, took yener90 MONTHS to get it where it is. And to just think its easy to use that ini file in another script, needs someone who is VERY good with INNO to understand how it all works. NOT for someone fairly new to inno scripts.
look in CIU 1.0.0.6 & see just how many lines of code there is. !!!!!!! Way too much work & too many months in perfecting that script, took yener90 MONTHS to get it where it is. And to just think its easy to use that ini file in another script, needs someone who is VERY good with INNO to understand how it all works. NOT for someone fairly new to inno scripts.
yeah its true and its also true that i am new to inno script.
I did not expect myself to become an expert .all i want is to try.
I just want to start this.
I know it will take time and efforts to very great extent for someone like me.
pakrat2k2
16-07-2013, 12:02
having issue with ISS accepting {userdocs} in [Files] section under Source ???
Have tried with/without " & Still same error.. ( files do exist there ).
any suggestions as to what's wrong ?!? :confused::confused: se screenshot below
Razor12911
20-07-2013, 06:32
@pakrat,
Constants don't work under source directory, they only work under destination because it may vary therefore under source you must apply the direct directory without constants.
And sorry for late reply, was kinda busy.
having issue with ISS accepting {userdocs} in [Files] section under Source ???
Have tried with/without " & Still same error.. ( files do exist there ).
any suggestions as to what's wrong ?!? :confused::confused: se screenshot below
constants work with flag external
Razor12911
20-07-2013, 23:48
But pakrat you can try windows constants.
Google for them.
Here are some that I can remember
%windir%
%systemroot%
%temp%
Razor12911
21-07-2013, 11:48
Thanks for your reply pakrat2k2
that converter by yener90 , i already try that and it works fine.
I want to create a new script and i want to add setup.ini in that new script.
i wanted to know how i can add that .ini files in new script.
Thats easy.
Read the inno setup documentation.
Here, look for these.
Readini
Writeini
Getinistring
Getiniint
Getinibool
Setinistring
Setiniint
Setinistring
Google for examples.
buttignol
22-07-2013, 09:27
Friends need a help how to make transparent TasksList
as of the SelectTasksLabel
I'm using this script without success
var
SelectTasksLabel,TasksList: TLabel;
procedure InitializeWizard();
begin
WizardForm.SelectTasksLabel.Hide;
WizardForm.TasksList.Hide;
SelectTasksLabel:=TLabel.Create(WizardForm);
SelectTasksLabel.Left:=60;
SelectTasksLabel.Top:=15;
SelectTasksLabel.Width:=470;
SelectTasksLabel.Height:=35;
SelectTasksLabel.AutoSize:=False;
SelectTasksLabel.WordWrap:=True;
SelectTasksLabel.Transparent:=True;
SelectTasksLabel.Font.Size := 10;
SelectTasksLabel.Caption:=WizardForm.SelectTasksLa bel.Caption;
SelectTasksLabel.Parent:=WizardForm.SelectTasksPag e;
TasksList:=TLabel.Create(WizardForm);
TasksList.Left:=60;
TasksList.Top:=70;
TasksList.Width:=400;
TasksList.Height:=252;
TasksList.AutoSize:=False;
TasksList.Font.Size := 10;
TasksList.Parent:= WizardForm.SelectTasksPage;
end;
Razor12911
22-07-2013, 09:36
no one an answer for me
how can i insert hompage and browse button
in autorunscript
thanks for help me
will help you.
In a couple of days along with what you asked(system page fix).
Razor12911
22-07-2013, 09:38
Friends need a help how to make transparent TasksList
as of the SelectTasksLabel
I'm using this script without success
var
SelectTasksLabel,TasksList: TLabel;
procedure InitializeWizard();
begin
WizardForm.SelectTasksLabel.Hide;
WizardForm.TasksList.Hide;
SelectTasksLabel:=TLabel.Create(WizardForm);
SelectTasksLabel.Left:=60;
SelectTasksLabel.Top:=15;
SelectTasksLabel.Width:=470;
SelectTasksLabel.Height:=35;
SelectTasksLabel.AutoSize:=False;
SelectTasksLabel.WordWrap:=True;
SelectTasksLabel.Transparent:=True;
SelectTasksLabel.Font.Size := 10;
SelectTasksLabel.Caption:=WizardForm.SelectTasksLa bel.Caption;
SelectTasksLabel.Parent:=WizardForm.SelectTasksPag e;
TasksList:=TLabel.Create(WizardForm);
TasksList.Left:=60;
TasksList.Top:=70;
TasksList.Width:=400;
TasksList.Height:=252;
TasksList.AutoSize:=False;
TasksList.Font.Size := 10;
TasksList.Parent:= WizardForm.SelectTasksPage;
end;
TasksList.Transparent:=True;
but actually, it's not TasksList which makes the Grey Field.
It's a form, just find out what it is.
buttignol
22-07-2013, 09:53
Thank Razor12911 just is not showing anything that appears only
SelectTasksLabel
Razor12911
22-07-2013, 10:16
hmm, I see. Why don't you come up with a panel which will be the base for the text, or use botva2 functions and procedures.
buttignol
22-07-2013, 10:47
hmm, I see. Why don't you come up with a panel which will be the base for the text, or use botva2 functions and procedures.
You have an example script of how to use botva2
Razor12911
22-07-2013, 12:15
look around in this thread for botva2 example script. I think I posted it or instructed how it's used.
Either way, why don't you remove the image as background, you should place it on welcome page then use the wide small wizrd image on top of the wizardform, it's just a suggestion. Else you can place a text background specially designed for text so that it can be clearly seen whilst using the full image.
buttignol
22-07-2013, 17:59
look around in this thread for botva2 example script. I think I posted it or instructed how it's used.
Either way, why don't you remove the image as background, you should place it on welcome page then use the wide small wizrd image on top of the wizardform, it's just a suggestion. Else you can place a text background specially designed for text so that it can be clearly seen whilst using the full image.
Thank Razor12911'll try with the botva2 and I want to put a different image for each page
keremaster
23-07-2013, 02:27
How I can add close antivirus warning on inno setup?
Razor12911
23-07-2013, 05:56
add msgbox function under initializewizard procedure.
Msgbox example is found in inno setup documentation.
Riddle_R
28-07-2013, 07:12
I created an arc with no compression --> data.arc
I then precomped it with " -intense -v -c-"
and the file i got was -----> data.pcf
I then compressed it with free arc again "-mx -ld1600m" and got it as
data.arc......
i wanted to extract use this file in my setup which i created with Yenner90's Custom Installer...
i used this
[ExtractSettings]
FreeArcFile1={src}\Data.cab;DestDir:{app};Disk:1;P recSrep:0
but it didn't work...
so processed the pcf file with SREP 64 and got ---> data.pcf.srep
compressed it with freearc again to make it ---> data.arc
and then used the same extract settings....but i still got the same error...
can anyone plzz help me in gettin outta this ????
http://s15.postimg.org/gsuhjyorf/Untitled.jpg
Razor12911
28-07-2013, 07:24
procedure of compressing is
data.arc - freearc
data.pcf - precomp
data.srep - srep/srep64
data.cab - freearc(.cab can be changed with any extension)
PrecSrep:1; (Must be enabled if ARC-PCF-SREP-ARC method is used)
Riddle_R
28-07-2013, 07:57
I used this batch to process my files...
i change the value from 0 to 1 ..but i stll get the same error...
@echo off
precomp -intense -v -c- data.arc
del data.arc
srep64.exe -m3f data.pcf
ren data.pcf.srep data.srep
del data.pcf
arc.exe a -mx -ld1600m data.srep data.cab
exit
pakrat2k2
28-07-2013, 08:51
in setup.ini make sure that you have PrecompVer=Inside
Riddle_R
29-07-2013, 04:54
@packarat...
can u please elaborate it a little ??? i didn't get what u wanted to say...
I am using precomp 0.4.2 alpha...
I have attatched my setup.ini...
if u can please find a solution for thiss...
thnxx
pakrat2k2
29-07-2013, 05:03
example only use your setup.ini & add PrecompVer=Inside at bottom of [Installoptions] section
[InstallOptions]
ApplicationName=Two Worlds 2 Epic Edition
GameSize=5229
MyExecutableName=TwoWorlds2_DX10.exe
MyExecutablePath=Two Worlds II
MyExecutableIconName=Two Worlds II-DX10
MyExecutableName2=TwoWorlds2.exe
MyExecutablePath2=Two Worlds II
MyExecutableIconName2=Two Worlds II-DX9
MyExecutableName3=Castle Defense
MyExecutablePath3=Castle Defense\TW2 Castle Defense
MyExecutableIconName3=TW2CD.exe
Editor=pakrat/sentinelks
Lang=en
PrecompVer=Inside
Riddle_R
29-07-2013, 06:31
I made it this way now..
[InstallOptions]
ApplicationName=Hitman - Blood Money
Publisher=IO interactive
GameSize=9950
MyExecutableName=hitmanbooldmoney.exe
Editor=Riddle_R
Lang=en,
[InstallSettings]
GDFBinary=GDF.dll
[ExtractSettings]
FreeArcFile1={src}\Data.arc;DestDir:{app};Disk:1;P recSrep:1
PrecompVer=Inside
Still get the same error :(:(
mausschieber
29-07-2013, 07:44
I made it this way now..
[InstallOptions]
ApplicationName=Hitman - Blood Money
Publisher=IO interactive
GameSize=9950
MyExecutableName=hitmanbooldmoney.exe
Editor=Riddle_R
Lang=en,
[InstallSettings]
GDFBinary=GDF.dll
get it here PrecompVer=Inside
[ExtractSettings]
FreeArcFile1={src}\Data.arc;DestDir:{app};Disk:1;P recSrep:1
PrecompVer=Inside This must be over extractsettings
Still get the same error :(:(
if I read this correctly from pakrat2k2
sorry my bad english
Razor12911
29-07-2013, 08:24
and it must be
[ExtractSettings]
FreeArcFile1={src}\Data.cab;DestDir:{app};Disk:1;P recSrep:1
pakrat2k2
29-07-2013, 09:20
I made it this way now..
[InstallOptions]
ApplicationName=Hitman - Blood Money
Publisher=IO interactive
GameSize=9950
MyExecutableName=hitmanbooldmoney.exe
Editor=Riddle_R
Lang=en,
[InstallSettings]
GDFBinary=GDF.dll
[ExtractSettings]
FreeArcFile1={src}\Data.arc;DestDir:{app};Disk:1;P recSrep:1
PrecompVer=Inside
Still get the same error :(:(
add PrecompVer=Inside at bottom of [Installoptions] section,
with PrecompVer=Inside you DONT need PrecSrep:1 at end of FreeArcFile1 line...
ONLY if you made your archives old way
freearc -m0 compression data.arc
precomp data.arc > data.pcf
srep data.pcf > data.srep
freearc ( -m9x -ld192m (max compression method you want ) data.srep > data.xyz ( extension can be any name. ))
and REMOVE [InstallSettings] shouldnt be there.
MyExecutableName=hitmanbooldmoney.exe > typo ? should be hitmanbloodmoney
I need help (Advanced Users)
Using CIU in 1.0.0.6, if I put flash.swf (Page Installer) and Setup.cjstyles (Skin), is occurring error in the installer completion or cancellation. (Windows XP SP3)
http://i.imgur.com/BgHXtSy.jpg
And in the TEMP folder create a folder named WERxxxx.dir00.
Putting only Skin or Flash works normally.
What can it be? Can anyone tell me how to get around without removing any?
Fabioddq
03-08-2013, 00:01
I need help (Advanced Users)
Using CIU in 1.0.0.6, if I put flash.swf (Page Installer) and Setup.cjstyles (Skin), is occurring error in the installer completion or cancellation. (Windows XP SP3)
http://i.imgur.com/BgHXtSy.jpg
And in the TEMP folder create a folder named WERxxxx.dir00.
Putting only Skin or Flash works normally.
What can it be? Can anyone tell me how to get around without removing any?
This happens because of cjstyles. Happens sometimes on Win7 too. Simple way, remove cjstyles from the installer. :D
or you need to add a exception to the exe on Data Execution Prevention.
To add a exception on WinXP look here: http://support.microsoft.com/kb/875352/pt-br
EDIT...
Look for this part:
Se estiver conectado como um administrador, pode-se configurar manualmente a DEP para alternar entre as diretivas OptIn e OptOut, usando a guia Prevenção de execução de dados em Propriedades do sistema. O seguinte procedimento descreve como configurar manualmente a DEP no computador.
1. Clique em Iniciar, em Executar, digite sysdm.cpl e clique em OK.
2. Na guia Avançado, em Configurações, clique em Configurações.
3. Na guia Prevenção de execução de dados, use um dos seguintes procedimentos:
- Clique em Ativar a DEP só para programas e serviços essenciais do Windows para selecionar a diretiva OptIn.
- Clique em Ativar a DEP para todos os programas e serviços, exceto aqueles que selecionei para selecionar a diretiva OptOut e em Adicionar para adicionar os programas que você não quer que use o recurso DEP.
4. Clique em OK duas vezes.
buttignol
12-08-2013, 20:43
Friends removing the marker isdone hours minutes and seconds
leave only time
leave it eg
Elapsed: 00:00:12
Remaining: 00:20:00
inovateqsa
16-08-2013, 01:27
Not directly related on innosetup, more with the compression:
I want to use srep as I am unable to compress a game to the required size I need, I have downloaded freearc and the powerpack and added the
"[External compressor:srep]
packcmd = srep {options} $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = srep -d {options} - - <stdin> <stdout>"
Line to my 'Arc.ini' in my freearc bin folder.
The problem is that the GUI does not have any new options for srep or anything, so how on earth do I use Srep?
I have checked the batch file in the "INNO TROUBLESHOOT - Tutorials and Answers about INNO Setup" section but to me it simply looks like someone facerolled on their keyboard and made it a .bat file. He talks about different parameters and such, without explaining any of them, then gives an example with a whole lot of extra stuff in it that wasn't explained (eg; "arc a -ep1 -r -w.\ .\data1.cab
[email protected]" has 0 explanation and I cannot comprehend it at all).
And where would I put the Game Directory?
If explaining is too hard, Could someone give me an example of a batch use purely for Srep?
Please, i am desperate.
particularly this bit here:
arc a -ep1 -r -w.\ .\data3.cab
It seems like it has something to do with running freearc (hence the 'Arc'), with a few options (Such as a -ep1 -r -w), followed by the destination of the archive once it is made.
The problem is, I do not know what each parameter does, and I cannot see where the destination starts and parameters end (the -w.\.\ is confusing me, is the first '.' part of the parameter, or the destination? I have not seen a -w parameter on freearc so I do not know where it comes from). Also, the 'ep1' isn't explained either.
pakrat2k2
16-08-2013, 09:54
look at any one of the newest conversions by Fabioddq, REV0, others & look in the compress.bat file, you'll soon see where the game dir is entered, as well as some of the other options. Google search would have turned up a ton of pages, all that explains the commandline options. Open the link below & scroll down to see options & explanations for them. :) Don't worry its for any earlier version as option descriptions etc still apply.
http://freearc.org/FreeArc036-eng.htm
inovateqsa
18-08-2013, 00:37
Thanks.
I eventually found the page though.
Now I'm trying to make sense of the lzma command lines, I've searched but couldn't find anything explaining them. It seems as though they are on that page further down though, so guess I'll start reading.
Just a quick question though: For the Match finder BT4, it applies to normal up to ultra compression but how do yo select which one to use?
EG: -msrep64+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 (What would I need to add/change to that to use lzma Ultra, and is the "Srep64" right, I want to use srep64 instead of the normal one?)
Kurutucu
18-08-2013, 15:09
How I can change music button to
http://i43.tinypic.com/25j896p.jpg
this type?
http://i44.tinypic.com/2w6xmzb.jpg
Here script file: http://fileforums.com/showpost.php?p=416587&postcount=1
anitaylor007
19-08-2013, 00:56
:(:(:(:(:(:(:(
i m new nd novice to repacks.....i m 4m india,i cudnt find nebody to help me...can u pls make a video tut,i ll b highly obliged...though i created a installer wizard interface,that works,but my prob is i compressed d files using 7zip and wile installin,,it is showin a 7zip window xtracting dem...i didnt use srep nd precomp...also i want to add timer,(elapsed and remaining) during installation progress...can u pls help me out,...splash screen,i also tried.but failed..pls help me :confused::confused::confused
@anitaylor007
first of all welcome to the forum.
There is no need to be confuse.
There are lots of experts ready to help...
You can try yener90's source code. This code uses 7zFiles.
http://www.fileforums.com/showthread.php?t=91563
read it, may be it will help u out
anitaylor007
19-08-2013, 06:59
Thanks for replying....i m quite upset now..nd ll give it a try....
y_thelastknight
19-08-2013, 09:32
@Kurutucu
1.create 2 bitmap, 1 for on and 1 for off
2.hide off bitmap
3.create OnClick option for on bitmap (music off,hide on bitmap,show off bitmap)
4.create OnClick option for off bitmap (music on,hide off bitmap,show onnbitmap)
easy method :p
anitaylor007
19-08-2013, 12:41
i didnt get it....can u pls elaborate????
can anyone pls explain me briefly how to compress d game files using srep,precomp and winarc,nd not showing the decompression window during installation,plss....
anitaylor007
25-08-2013, 21:58
i cnt get the desktop shotrcut icon,and startmenu folder even i enables it in the setup...i also want to add timer(time elapsed,Time remaining)duing installation...can neone pls help??????????
danswano
30-08-2013, 05:16
In precomp 0.3.8 there is a slow mode but in 0.4.2 there is no slow mode, what equals the slow mode in 0.4.2?
pakrat2k2
30-08-2013, 08:37
same switches in all precomp versions
danswano
30-08-2013, 12:44
You can't use -slow in 0.4.2
pakrat2k2
30-08-2013, 13:23
then update to 043 & switch(s) are in arc.ini
[External compressor:precomp]
header = 0
mem = 10
packcmd = precomp -slow {options} -o$$arcpackedfile$$.tmp $$arcdatafile$$.tmp
[External compressor:srep]
;options = l%d (minimal match length, default=512)
header = 0
packcmd = srep {options} -a1 -m3f $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
danswano
30-08-2013, 16:24
each time i use -slow on same files i get general error.
danswano
31-08-2013, 15:56
Is it possible to extract a split 7z archives using ISDone?
Razor12911
01-09-2013, 12:29
Nope
danswano
01-09-2013, 12:33
I saw some repacks contains multiple files with same size each one is 1 G.B and some other files with various sizes, that what made me ask this question.
Razor12911
01-09-2013, 12:45
How long does the installation take an are setup files name Setup-1.bin or something like that?
danswano
01-09-2013, 12:56
I don't have the files but here is a list of the files size.
Razor12911
01-09-2013, 12:59
hmm, Those aren't splits. 7zip splits end with .001 extension
What he have is already installation files, from group which name we shouldn't say.......
@danswano
You should install the game, then create "conversion"......
danswano
01-09-2013, 13:07
hmm, Those aren't splits. 7zip splits end with .001 extension
Yes dude, but when you rename .arc files to .cab for example that does not mean it's a cab file.
Razor12911
01-09-2013, 13:12
not with 7zip. try it yourself.
danswano
01-09-2013, 13:15
What app can split files then and support extraction with ISDone? i have some repacks i want to make that way.
Razor12911
01-09-2013, 13:28
Hmm, I think there isnt.
danswano
01-09-2013, 13:31
Thank you razor. :)
danswano
04-09-2013, 16:36
How to use ISExec to unpack 7z file?
Mr. Kauss
05-09-2013, 17:50
@Kurutucu
1.create 2 bitmap, 1 for on and 1 for off
2.hide off bitmap
3.create OnClick option for on bitmap (music off,hide on bitmap,show off bitmap)
4.create OnClick option for off bitmap (music on,hide off bitmap,show onnbitmap)
easy method :p
Hi mate. Regards. As would do this. I'm a newbie. I use the Kurutucu script --> http://fileforums.com/showpost.php?p=416587&postcount=1
Thanks in advance :)
inovateqsa
08-09-2013, 00:36
Having a rather irritating problem with external compression at the moment:
Every time I try to install using external compression I get an "Unsupported compression method" error.
Full Details:
Using this .Bat for compression:
"echo Compressing files, please wait...
arc a -ep1 -w.\ .\Compressed\Data1.cab -msrep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "C:\Program Files (x86)\Electronic Arts\Red Alert 3 Uprising"
echo.All done.
pause
Exit"
This is my Setup.ini Extract settings:
"FreeArcFile1={src}\Data1.cab;DestDir:{app};Disk:1; PrecSrep:1"
The Exact Error I get:
"An Error ocurred Wile Unpacking: Unknown compression Method!
Unarc.dll returned an error code: -2
ERROR: Unsupported compression method
srep+lzma:177mb:normal:bt4:128:mc1000:lc8"
I have tried recompiling, and recompressing at least 3 times and every time it's the same error.
I am using CI 8.5.7.4
Any ideas on how I can get it to work?
I'm Desperate.
Razor12911
08-09-2013, 06:45
Codejock Quick Style Inno Setup Viewer
Place .cjstyle named as Theme next to program then launch theme.exe it.
danswano
08-09-2013, 06:54
Hello razor, how do i call 7z to unpack a file using ISExcec or even call arc to unpack an arc file using it as well.
I need to know how to use ISExcec cause it's not working for me.
for example:
if not ISExec ( 0, 0, 0, ExpandConstant('{tmp}\arc.exe'), ExpandConstant('x "{src}\data.arc" "{app}\"'), ExpandConstant('{tmp}'), '...',false) then break;
This one is not unpacking anything.
Razor12911
08-09-2013, 07:17
Try this.
if not ISExec ( 0, 0, 0, ExpandConstant('{tmp}\7z.exe'), '-o"' + ExpandConstant('{app}') + '" x -y "' + ExpandConstant('{src}\data.7z') + '" ', ExpandConstant('{tmp}'), '...',false) then break;
pakrat2k2
08-09-2013, 10:46
Having a rather irritating problem with external compression at the moment:
Every time I try to install using external compression I get an "Unsupported compression method" error.
Full Details:
Using this .Bat for compression:
"echo Compressing files, please wait...
arc a -ep1 -w.\ .\Compressed\Data1.cab -msrep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "C:\Program Files (x86)\Electronic Arts\Red Alert 3 Uprising"
echo.All done.
pause
Exit"
This is my Setup.ini Extract settings:
"FreeArcFile1={src}\Data1.cab;DestDir:{app};Disk:1; PrecSrep:1"
The Exact Error I get:
"An Error ocurred Wile Unpacking: Unknown compression Method!
Unarc.dll returned an error code: -2
ERROR: Unsupported compression method
srep+lzma:177mb:normal:bt4:128:mc1000:lc8"
I have tried recompiling, and recompressing at least 3 times and every time it's the same error.
I am using CI 8.5.7.4
Any ideas on how I can get it to work?
I'm Desperate.
remove precsrep:1 from freearcfile1 line & add PrecompVer=inside to top section in setup.ini
danswano
08-09-2013, 12:37
You are awesome Razor, i've been googling since days to find a solution and only you did it.
Thank you :)
danswano
08-09-2013, 16:35
Dear razor, is it possible to unpack a passworded 7z file?
pakrat2k2
08-09-2013, 19:24
only if password is known
danswano
08-09-2013, 20:18
only if password is known
Dude the file is mine but i want to tell IS the password.
Razor12911
08-09-2013, 20:59
if not ISExec ( 0, 0, 0, ExpandConstant('{tmp}\7z.exe'), '-o"' + ExpandConstant('{app}') + '" x -y -pPASSWORD "' + ExpandConstant('{src}\data.7z') + '" ', ExpandConstant('{tmp}'), '...',false) then break;
danswano
08-09-2013, 21:03
Razor the awesome, as always. :)
Thanks buddy.
Razor12911
08-09-2013, 21:46
You're Welcome bud. :D
danswano
09-09-2013, 13:11
Dear razor, can you explain for me what are the first 3 zeros for?
in ISArcExtract there is 2 zeros while in ISExec there is 3
or i f you don't know what they are for at least can you tell me which one stands for process percentage?
Razor12911
09-09-2013, 13:13
the second zero from the left defines progress percentage.
first is for components
third is for SpecifiedProcessTime
danswano
09-09-2013, 13:21
the second zero from the left defines progress percentage.
first is for components
third is for SpecifiedProcessTime
EDIT: Got it, thank you :)
danswano
09-09-2013, 17:42
Because the time and accurate percentage is not known properly to IS it jumps from 50% to 150% after the ISExec is done, how to avoid this?
I know that there is a feature related to records.inf but i don't know how to use or even create the right records.inf file.
Can you help me please? :)
Razor12911
09-09-2013, 18:18
total progress is 100, so just split the current process.
danswano
09-09-2013, 18:23
total progress is 100, so just split the current process.
Sure dude but it's not working for me this time.
Razor12911
09-09-2013, 19:29
I see, ISExec progress percentage don't want to work.
I also don't know how to use records.inf.
But I have a solution to this.
don't set progress for all archives, leave it to zero
add this
Var
ArcInt: integer;
begin
ArcInt:=3 //defines the number of archives involved in process.
ISDoneProgressBar1.Max:= ISDoneProgressBar1.Max * ArcInt
end;
Put these lines under procedure CurStepChanged(CurStep: TSetupStep);
danswano
09-09-2013, 19:34
Can you please explain what these codes can do to the overall progress? :)
Razor12911
09-09-2013, 20:03
post your entire CurStepChanged procedure.
danswano
09-09-2013, 21:15
post your entire CurStepChanged procedure.
procedure CurStepChanged(CurStep: TSetupStep);
var Comps1,Comps2,Comps3, TmpValue:cardinal;
FindHandle1,ColFiles1,CurIndex1,tmp:integer;
ExecError:boolean;
InFilePath,OutFilePath,OutFileName:PAnsiChar;
begin
if CurStep = ssInstall then begin
CheckTasks;
WizardForm.ProgressGauge.Hide;
WizardForm.CancelButton.Hide;
CreateControls;
WizardForm.StatusLabel.Caption:=ExpandConstant('{c m:Extracted}');
ISDoneCancel:=0;
ExtractTemporaryFile('CallbackCtrl.dll');
InitWin7TaskBar;
ExtractTemporaryFile('unarc.dll');
Razor12911
09-09-2013, 21:47
procedure CurStepChanged(CurStep: TSetupStep);
var Comps1,Comps2,Comps3, TmpValue:cardinal;
FindHandle1,ColFiles1,CurIndex1,tmp:integer;
ExecError:boolean;
InFilePath,OutFilePath,OutFileName:PAnsiChar;
ArcInt: integer;
begin
if CurStep = ssInstall then begin
CheckTasks;
WizardForm.ProgressGauge.Hide;
WizardForm.CancelButton.Hide;
CreateControls;
WizardForm.StatusLabel.Caption:=ExpandConstant('{c m:Extracted}');
ISDoneCancel:=0;
ExtractTemporaryFile('CallbackCtrl.dll');
InitWin7TaskBar;
ExtractTemporaryFile('unarc.dll');
ArcInt:=3 //defines the number of archives involved in process, You can use {#ArcNumber}.
ISDoneProgressBar1.Max:= ISDoneProgressBar1.Max * ArcInt
danswano
09-09-2013, 21:54
Got this error when installation starts:
Razor12911
09-09-2013, 22:02
fix this
ExpandConstant('{c m:Extracted}');
space of cm in between
to this
ExpandConstant('{cm:Extracted}');
danswano
09-09-2013, 22:04
Each ArcInt i set represent a full 100% bar
i mean if i set it to 3 i get 300%.
should i enable records?
Razor12911
09-09-2013, 22:06
yep. totally. will go offline. going to attend my classes. :D
danswano
09-09-2013, 22:07
yep. totally. will go offline. going to attend my classes. :D
Catch you later :D
kashifagaria
10-09-2013, 17:22
45% complete
now, you can load jpg or bmp and png, re-arrange all you want,
create quick conversions
test attachment added :)
Requesting language translators...:rolleyes:
it's kinda funny, that all of this is been created just by using inno setup and nothing else, :D
Select Backgrounds under Autorun Interface Select tab standard configuration to load a simple file .jpg, Select tab advanced configuration to load a folder which has autorun#.jpg, Select tab expert configuration to load bmp and png image.
this Designer for download
Razor12911
10-09-2013, 20:10
Not Complete yet
Link (http://fileforums.com/showthread.php?t=94605)
inovateqsa
12-09-2013, 00:22
@Pakrat:
After Removing the "Precsrep:1" and adding "Precompver=inside" to the "[InstallOptions]" section of the Setup.ini, I now get the Following error:
"Srep:
Not an Srep Compressed File"
Then,
"An error occurred while unpacking!
Unarc.dll returned an error code: -1
ERROR: archive data corrupted (decompression fails)"
The first error is weird, because you can see the batch file i used to compress clearly uses srep (I also have the srep.exe in the same folder as the .bat file while compressing).
The second error makes no sense, as I have tried compressing multiple times, the odds of all of them being corrupted are almost nil.
I should probably add that this is the first time I am using external compression in innosetup, up till now I have only used internal (The second disc for R.A Uprising is only 18mb, so It would really be a waste of a disc). Do you think I might have missed something?
pakrat2k2
12-09-2013, 05:11
make sure arc.ini is added to setup.cab, so installer knows with arc method your using.
danswano
21-09-2013, 19:01
Why i can't achieve the same size?
Hello,
I saw a file compressed using precomp+srep like this:
precomp+srep:m3f:a1+lzma:69mb:normal:bt4:128:lc8
the file contents original size is 2.3g.b and the result was 1g.b
i've tried to unpack the files then pack them using the same method above or some custom methods of my own but i always end up with a file size 2g.b
what are the factors that would make precomp detect more streams to downsize the file with such ratio?
Or in other words, what methods would have been applied on the file not appearing in archive info solid blocks tab?
Thanks. :)
Razor12911
22-09-2013, 03:02
have you tried precomp038?
danswano
22-09-2013, 04:37
Yes sure with slow mode.
mausschieber
22-09-2013, 23:16
how can i define the Button position
without a Designer
Razor12911
22-09-2013, 23:44
Set/edit the button's X and Y Positions or it might be Left or Top Positions.
mausschieber
23-09-2013, 00:02
how can i define the Button position
without a Designer
Left Top position
danswano
23-09-2013, 10:12
Anyone have the latest ISDone.dll and the other related files that supports srep3.91BETA?
pakrat2k2
23-09-2013, 16:29
Anyone have the latest ISDone.dll and the other related files that supports srep3.91BETA?
wherever you fond out about srep3.91BETA, should have the associated files needed for it there.
danswano
23-09-2013, 16:30
I got it from Freearc dev site but ISDone is refusing to extract files packed using it.
pakrat2k2
23-09-2013, 16:54
your arc.ini isn't right....
packcmd = srep {options} -m3f $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = srep -d -s $$arcpackedfile$$.tmp $$arcdatafile$$.tmp
should work for any version.
danswano
23-09-2013, 16:59
I've tried this already but i always get this error:
What should i replace in my ISDone directory /includes other than arc.ini?
have you tested this with 3.91beta arc packed file?
pakrat2k2
23-09-2013, 17:05
if using inno script, the arc.ini has to be in setup folder too. ( in setup.cab )
danswano
23-09-2013, 17:10
I've used ISDone with many many archives already and they extract fine although arc.ini is not included in files list, how this is possible?
Is it because of CLS-srep ?
EDIT: i've included arc.ini and allowed to extract into /tmp and i got the same error. :(
danswano
23-09-2013, 17:25
Looks like i've answered my question without notice, got the new cls-rep and it worked :)
Thank you for your help. :)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.