FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Tutorial using CI 8.0.0 (https://fileforums.com/showthread.php?t=92805)

red01 02-07-2013 04:06

Quote:

Originally Posted by Razor12911 (Post 420292)
Set precomp version

error


arc a -m0 data.cab "c:\*"
precomp.exe data.arc
srep.exe -m3 data.pcf data.srep
arc a -m5 data.cab data.srep

for best compression

do this

srep -m3f

final arc method must be -mx


it finally works for me. :)

here is what i did..
compressions method
arc a -m0 data.arc "C:\Program Files\*"
precomp.exe -c- data.arc
srep.exe -m3f data.pcf data.srep
arc a -mx data.cab data.srep

precompver=0.42

[ExtractSettings]
FreeArcFile1=Data.cab;DestDir:{app};Disk:1;PrecSre p:1

i put the arc.ini in setup.cab (i modified arc.ini a little according to the method i used above).



no error this time.
i tried two times with full success.

Thanks for ur help Razor 12911

red01 03-07-2013 03:06

i want to make progress bar vertical at the right corner of the screen of installer..

is it possible?

Razor12911 03-07-2013 03:26

Inno Setup uses old delphi so no. other wise you could have use RotationAngle Property but anything is possible in delphi.

Razor12911 04-07-2013 04:08

not unless if you are using a custom graphic progress. PBProc

check on ImgPBSetPosition procedure

procedure ImgPBSetPosition(var PB :TImgPB; Percent :Extended);
begin
if PB.img1<>0 then begin
NewWidth:=Round(PB.MaxWidth*Percent/100);
if PB.Width<>NewWidth then begin
PB.Width:=NewWidth;
ImgSetPosition(PB.img1,PB.Left,PB.Top,PB.Width,PB. Height);
end;
end;
end;

substitute width with height

red01 04-07-2013 04:16

Quote:

Originally Posted by Razor12911 (Post 420450)
not unless if you are using a custom graphic progress. PBProc

check on ImgPBSetPosition procedure

procedure ImgPBSetPosition(var PB :TImgPB; Percent :Extended);
begin
if PB.img1<>0 then begin
NewWidth:=Round(PB.MaxWidth*Percent/100);
if PB.Width<>NewWidth then begin
PB.Width:=NewWidth;
ImgSetPosition(PB.img1,PB.Left,PB.Top,PB.Width,PB. Height);
end;
end;
end;

substitute width with height


i will try it and will inform u soon.. :D

red01 04-07-2013 06:23

1 Attachment(s)
i follow ur instructions and now inno is giving me the following error
please have a look

Razor12911 04-07-2013 08:03

find

MaxWidth : integer;

change it to

MaxHeight : integer;

red01 05-07-2013 01:49

Quote:

Originally Posted by Razor12911 (Post 420465)
find

MaxWidth : integer;

change it to

MaxHeight : integer;


its not working

after changing this
" MaxWidth : integer;

change it to

MaxHeight : integer; "



i cant follow ur first instruction..


and when i try without step one (ur first instruction) its not working.
its still same progress bar. :(

can u give me an example script with such progress bar?

Razor12911 05-07-2013 04:56

hmm, It works.

Might consider adding this to my installer

function ImgPBCreate(hParent :HWND; bk, pb :ansistring; Left, Top, Width, Height :integer):TImgPB;
begin
Result.Left:=Left+1;
Result.Top:=Top+1;
Result.Width:=Width-2;
Result.Height:=0;
Result.MaxHeight:=Height-2;
if Length(pb)>0 then Result.img1:=ImgLoad(hParent,pb,Result.Left,Result .Top,0,Result.Height,True,False) else Result.img1:=0;
if Length(bk)>0 then Result.img2:=ImgLoad(hParent,bk,Left,Top,Width,Hei ght,True,False) else Result.img2:=0;
end;

procedure ImgPBSetPosition(var PB :TImgPB; Percent :Extended);
begin
if PB.img1<>0 then begin
NewHeight:=Round(PB.MaxHeight*Percent/100);
if PB.Height<>NewHeight then begin
PB.Height:=NewHeight;
ImgSetPosition(PB.img1,PB.Left,PB.Top,PB.Width,PB. Height);
end;
end;
end;

find

NewWidth and MaxWidth

and change them to

NewHeight and MaxHeight

they are under var

red01 05-07-2013 06:13

1 Attachment(s)
i am sorry to bother you again and again but still error.

i attached the image.

Razor12911 05-07-2013 06:16

find MaxWidth and Change it to MaxHeight

it's under var

red01 05-07-2013 06:22

Quote:

Originally Posted by Razor12911 (Post 420535)
find MaxWidth and Change it to MaxHeight

it's under var

:( sorry i cant find it.

pakrat2k2 05-07-2013 09:06

1 Attachment(s)
look here

Razor12911 05-07-2013 09:07

1 Attachment(s)
Here's the script with your request

red01 06-07-2013 01:51

1 Attachment(s)
Quote:

Originally Posted by Razor12911 (Post 420544)
Here's the script with your request



i try this script and still the same progress bar (look at pic) and its not showing filling of bar with progress of installation (empty progress bar).

pcblizzard 09-07-2013 04:44

I have a problem: I use CI 8.5.7.4 and will 2 games integierd in the setup. The problem is, when users will install one game, the installer will makes shourtcuts for both games and not for one game. How can i fix the problem?


Greetings

keyvan1985 09-07-2013 11:14

hello
i have a question
how i can build own gui for game and build setup.exe and autorun.exe ???

HellRazor 09-07-2013 13:28

Quote:

Originally Posted by keyvan1985 (Post 420802)
hello
i have a question
how i can build own gui for game and build setup.exe and autorun.exe ???

You can do that with Winamp and Sound Forge...
/sarcasm off

I can see that you are new to the forums but, is it THAT hard to read First post of this topic before asking a question? Question for which you can find the answer on first page (at least most important parts)...

Second, most of the stuff is Stickied and can be found around this topic...

Pirate Ted 12-07-2013 07:07

hi, how to create a multiple or triple executable?

///////////////////// SETUP SETTINGS //////////////////////

[InstallOptions]
ApplicationName=The Sims 3 Collection
Publisher=Electronic Arts
GameSize=33000
MyExecutableIconName=The Sims 3
MyExecutableName=TS3.exe
MyExecutablePath=Game\Bin
//The Sims 3 Ambitions
MyExecutableIconName2=The Sims 3 Ambitions
MyExecutableName2=TS3EP02.exe
MyExecutablePath2=Game\Bin
//The Sims 3 Fast Lane Stuff
MyExecutableIconName3=The Sims 3 Fast Lane Stuff
MyExecutableName3=TS3SP02.exe
MyExecutablePath3=Game\Bin
//The Sims 3 Generations
MyExecutableIconName4=The Sims 3 Generations
MyExecutableName4=TS3EP04.exe
MyExecutablePath4=Game\Bin

this is right? i can't figure it out..

pakrat2k2 12-07-2013 07:09

loks right except

MyExecutableIconName3=The Sims 3 Fast Lane Stuff
MyExecutableName3=TS3SP02.exe shouldn't that be 03 ??

Pirate Ted 12-07-2013 07:19

its not 3 its TS3SP02.exe in The Sims 3 Fast Lane Stuff game directory.

i tried the command nothing happen.

pakrat2k2 12-07-2013 07:37

all exe's are in same folder Game\Bin ?

Pirate Ted 13-07-2013 22:30

yes all exe's are in The Sims 3\Game\bin\TS3.exe
The Sims 3\Ambitions\Game\bin\TS3EP02.exe
The Sims 3\Fast Lane Stuff\Game\bin\TS3SP02.exe
The Sims 3\Generations\Game\bin\TS3EP04.exe

pakrat2k2 13-07-2013 22:43

then each path has to point to the correct folder for each exe.

MyExecutableIconName=The Sims 3
MyExecutableName=TS3.exe
MyExecutablePath=The Sims 3\Game\bin
//The Sims 3 Ambitions
MyExecutableIconName2=The Sims 3 Ambitions
MyExecutableName2=TS3EP02.exe
MyExecutablePath2=The Sims 3\Ambitions\Game\bin
//The Sims 3 Fast Lane Stuff
MyExecutableIconName3=The Sims 3 Fast Lane Stuff
MyExecutableName3=TS3SP02.exe
MyExecutablePath3=The Sims 3\Fast Lane Stuff\Game\bin
//The Sims 3 Generations
MyExecutableIconName4=The Sims 3 Generations
MyExecutableName4=TS3EP04.exe
MyExecutablePath4=The Sims 3\Generations\Game\bin

hope it helps :)

skakmatch 23-07-2013 23:05

i think left behind and I do not understand though repeatedly read,, whether you have video tutorial ?

pcblizzard 06-09-2013 04:45

The problem here: http://fileforums.com/showpost.php?p...&postcount=376 is exists furthermore but i have a new problem:

I will make a autorun menu with 3 games my problem is now, i can't change the "iconname" from the first "play" button (this should stand "Homeworld" not "Spielen") the other 2 buttons let too easily rename.

http://img546.imageshack.us/img546/78/1mm5.th.jpg

Here my setup.ini
Code:

[InstallOptions]
ApplicationName=Homeworld Collection 
Publisher=Sierra
GameSize=1537
MyExecutableIconName=Homeworld
MyExecutableName=Homeworld\homeworld.exe
MyExecutablePath=Homeworld
//Homeworld Cataclysm
MyExecutableIconName2=Cataclysm
MyExecutableName2=Homeworld Cataclysm\cataclysm.exe
MyExecutablePath2=Homeworld Cataclysm
//Homeworld 2
MyExecutableIconName3=Homeworld 2
MyExecutableName3=Homeworld2.exe
MyExecutablePath3=Homeworld 2\Bin\Release
Lang=de
Editor=YENER90

[SystemRequirement]
ProcCore=1
ProcFreq=833
RAM=256
VideoRAM=32
WinVerMajor=5
WinVerMinor=0
ServicePack=4

[ExtractSettings]
FreeArcFile1={src}\H.arc;DestDir:{app};Comp:1
FreeArcFile2={src}\HC.arc;DestDir:{app};Comp:2
FreeArcFile3={src}\H2.arc;DestDir:{app};Comp:3

[ComponentsSettings]
Component1=Homeworld
Component1Size=339
Component2=Homeworld Cataclysm
Component2Size=399
Component3=Homeworld 2
Component3Size=799

[InterfaceSettings]
InstallerWidth=875
InstallerHeight=506
BackgroundWidth=1280
BackgroundHeight=720
ProgressBarHeight=12
MoveProgressBarLabel=0
SmallInstallerWidth=500
SmallInstallerHeight=200
LogoLeft=355
LogoTop=10
LogoWidth=178
LogoHeight=80
TextPositionTop=130
TextPositionLeft=280
TextPositionWidth=360
TextPositionHeight=300
MoveDirectoryInfo=0
MoveProgressBar=4
Button1Left=28
Button1Top=455
Button2Left=228
Button2Top=455
Button3Left=428
Button3Top=455
Button4Left=628
Button4Top=455
ButtonWidth=216
ButtonHeight=53
Button2Width=216
Button3Width=216
Button4Width=216
Button2Height=53
Button3Height=53
Button4Height=53
SmallButtonWidth=216
SmallButtonHeight=53
SmallButton2Width=216
SmallButton3Width=216
SmallButton2Height=53
SmallButton3Height=53
ProgressBarLabelColor=$FFFFFF
ShowBGFullscreen=1
SmallInstallerFontColor=$FFFFFF
SmallButtonFontSize=1
TextSpaceFromBorder=0
TextCenter=1
ButtonFont=MicrogrammaDBolExt
ButtonOneLiner=1
ButtonFontSize=10
ButtonFontBold=0
ButtonFontColor=$CCCCCC
ButtonFontColorOnMouse=$FFFFFF
ButtonFontColorMouseDown=$FFFFFF
ButtonFontColorDisabled=$7F7F7F
SetupFont=MicrogrammaDBolExt
SetupFontSize=1
SetupFontColor=$FFFFFF
RoundedCornerX=25
RoundedCornerY=25

[AutorunSettings]
AutorunWidth=875
AutorunHeight=506
MusicLeft=840
MusicTop=15
MusicWidth=24
MusicHeight=24
LangBoxCenter=1
LangBoxLeft=400
LangBoxTop=10
PlayLeft=70
PlayTop=345
Play2Left=70
Play2Top=400
Play3Left=70
Play3Top=455
InstallLeft=325
InstallTop=455
ExitLeft=580
ExitTop=455
ButtonWidth=216
ButtonHeight=53
Button2Width=216
Button3Width=216
Button4Width=216
Button5Width=216
Button6Width=216
Button2Height=53
Button3Height=53
Button4Height=53
Button5Height=53
Button6Height=53
ButtonFont=MicrogrammaDBolExt
ButtonFontSize=12
ButtonFontBold=0
ButtonFontColor=$CCCCCC
ButtonFontColorOnMouse=$FFFFFF
ButtonFontColorMouseDown=$FFFFFF
ButtonFontColorDisabled=$7F7F7F
RoundedCornerX=25
RoundedCornerY=25


alley_u2 06-09-2013 05:27

I am using this script to compress my files:
Code:

arc a -lc8 -ep1 -ed -r -w.\ Data\Data1.cab -mprecomp+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8
Precomp version is 0.43.

and changed the values in setup.ini to this:
Code:

[ExtractSettings2]
FreeArcFile1={src}\Data1.cab;DestDir:{app};Disk:1;PrecSrep:1

But still when I run the setup it doesn't install anything. What am I doing wrong?

I cant get the extraction to work at all. The setup just say installation finished without giving me a error. When i see the files in program files nothing has been installed.

Fabioddq 06-09-2013 05:50

@alley_u2

What version of CI you are using?

alley_u2 06-09-2013 05:56

Quote:

Originally Posted by Fabioddq (Post 422914)
@alley_u2

What version of CI you are using?

The latest one i.e 8.5.7.4

The thing is the setup is not giving me a error at all. I dont know what i am doing wrong. I previously used to work with blackbox script provided in this forum. Its like this script is not executing the extraction process at all.

Fabioddq 06-09-2013 06:42

You are using the old parameters. The current parameters are:
Add on Setup.ini in:

[InstallOptions]
PrecompVer=inside


And in:

[ExtractSettings]
FreeArcFile1=Data1.cab;DestDir:{app};Disk:1;
FreeArcFile2=Data2.cab;DestDir:{app};Disk:2;


Depends how many Data.cabs and DVDs you have.

alley_u2 06-09-2013 06:46

Quote:

Originally Posted by Fabioddq (Post 422920)
You are using the old parameters. The current parameters are:
Add on Setup.ini in:

[InstallOptions]
PrecompVer=inside


And in:

[ExtractSettings]
FreeArcFile1=Data1.cab;DestDir:{app};Disk:1;
FreeArcFile2=Data2.cab;DestDir:{app};Disk:2;


Depends how many Data.cabs and DVDs you have.

Tried that before didnt work... Did as you said.

FYI:
Code:

[InstallOptions]
ApplicationName=Rise of Nations Gold
Publisher=Microsoft Games
GameSize=2048
MyExecutableName=thrones.exe
MyExecutablePath=
Editor=Alien RePack
PrecompVer=inside
Lang=en,de,fr,it,es,tr

[SystemRequirement]
ProcCore=1
ProcFreq=500
RAM=128
VideoRAM=16
WinVerMajor=5
WinVerMinor=1
ServicePack=3

[InstallSettings]
GDFBinary=GDF.dll

[ExtractSettings2]
FreeArcFile1=Data1.cab;DestDir:{app};Disk:1;

[ComponentsSettings]
Component1=
Component1Size=

[InterfaceSettings]
InstallerWidth=875
InstallerHeight=506
ButtonWidth=216
ButtonHeight=53
Button1Left=20
Button1Top=190
Button2Left=20
Button2Top=250
Button3Left=20
Button3Top=310
Button4Left=20
Button4Top=370
BackgroundWidth=1280
BackgroundHeight=720
ProgressBarHeight=12
MoveProgressBarLabel=0
SmallInstallerWidth=500
SmallInstallerHeight=200
MoveDirectoryInfo=0
MoveProgressBar=4
SmallButtonWidth=128
SmallButtonHeight=30
ProgressBarLabelColor=$FFFFFF
SmallInstallerFontColor=$FFFFFF
SmallButtonFontSize=9
ButtonFont=Times New Roman
ButtonOneLiner=0
ButtonFontSize=9
ButtonFontUC=1
ButtonFontBold=1
ButtonFontColor=$CCCCCC
ButtonFontColorOnMouse=$FFFFFF
ButtonFontColorMouseDown=$FFFFFF
ButtonFontColorDisabled=$7F7F7F
FlashLeft=55
FlashTop=0
FlashWidth=714
FlashHeight=106
LogoLeft=355
LogoTop=10
LogoWidth=178
LogoHeight=80
SetupFont=Times New Roman
SetupFontSize=1
SetupFontColor=$FFFFFF
ShowBGFullscreen=0
TextPositionTop=130
TextPositionLeft=280
TextPositionWidth=360
TextPositionHeight=300
TextSpaceFromBorder=0
TextCenter=1

[AutorunSettings]
AutorunWidth=439
AutorunHeight=600
MusicLeft=400
MusicTop=15
MusicWidth=24
MusicHeight=24
LangBoxCenter=1
LangBoxLeft=0
LangBoxTop=10
PlayLeft=200
PlayTop=380
InstallLeft=200
InstallTop=440
ExitLeft=200
ExitTop=500
ButtonWidth=216
ButtonHeight=53
ButtonFont=Times New Roman
ButtonFontUC=1
ButtonFontColor=$CCCCCC
ButtonFontColorOnMouse=$FFFFFF
ButtonFontColorMouseDown=$FFFFFF
ButtonFontColorDisabled=$7F7F7F
ButtonFontSize=9
ButtonFontBold=1

[LauncherSettings]
InstallRedist=1

Launch1=DirectX
Launch164=0
Launch1BeforeInstall=0
LaunchCom1={src}\redist\directX\DXSETUP.exe
LaunchArg1=/silent

Launch2=Visual C++ 2010 x86
Launch564=0
Launch5BeforeInstall=0
LaunchCom5={src}\redist\vcredist_x86.exe
LaunchArg5=/silent


alley_u2 06-09-2013 06:49

Got the error [ExtractSettings2] should have been [ExtractSettings]

Fabioddq 06-09-2013 06:54

Yes, [ExtractSettings] :D

alley_u2 06-09-2013 07:02

Is this compatible with precomp 0.43 and srep 32

Fabioddq 06-09-2013 07:07

Quote:

Originally Posted by alley_u2 (Post 422927)
Is this compatible with precomp 0.43 and srep 32

Im not sure, i think not. To old version of CI.

alley_u2 06-09-2013 07:15

Quote:

Originally Posted by Fabioddq (Post 422928)
Im not sure, i think not. To old version of CI.

So which is the latest one?? Cant see in the forum to download CIU version 2

Fabioddq 06-09-2013 07:26

Quote:

Originally Posted by alley_u2 (Post 422929)
So which is the latest one?? Cant see in the forum to download CIU version 2

Yes, because is exclusive version. You need to use CIU 1.0.0.6.

Anyway, will not have support to precomp 0.43, only 0.42 but srep 3.2 should work.

pakrat2k2 06-09-2013 10:24

Quote:

Originally Posted by alley_u2 (Post 422921)
Tried that before didnt work... Did as you said.

FYI:
Code:

[InstallOptions]
ApplicationName=Rise of Nations Gold
Publisher=Microsoft Games
GameSize=2048
MyExecutableName=thrones.exe
MyExecutablePath=
Editor=Alien RePack
PrecompVer=inside
Lang=en,de,fr,it,es,tr
 
[SystemRequirement]
ProcCore=1
ProcFreq=500
RAM=128
VideoRAM=16
WinVerMajor=5
WinVerMinor=1
ServicePack=3
 
[InstallSettings]
GDFBinary=GDF.dll
 
[ExtractSettings2]
FreeArcFile1=Data1.cab;DestDir:{app};Disk:1;
 
[ComponentsSettings]
Component1=
Component1Size=
 
[InterfaceSettings]
InstallerWidth=875
InstallerHeight=506
ButtonWidth=216
ButtonHeight=53
Button1Left=20
Button1Top=190
Button2Left=20
Button2Top=250
Button3Left=20
Button3Top=310
Button4Left=20
Button4Top=370
BackgroundWidth=1280
BackgroundHeight=720
ProgressBarHeight=12
MoveProgressBarLabel=0
SmallInstallerWidth=500
SmallInstallerHeight=200
MoveDirectoryInfo=0
MoveProgressBar=4
SmallButtonWidth=128
SmallButtonHeight=30
ProgressBarLabelColor=$FFFFFF
SmallInstallerFontColor=$FFFFFF
SmallButtonFontSize=9
ButtonFont=Times New Roman
ButtonOneLiner=0
ButtonFontSize=9
ButtonFontUC=1
ButtonFontBold=1
ButtonFontColor=$CCCCCC
ButtonFontColorOnMouse=$FFFFFF
ButtonFontColorMouseDown=$FFFFFF
ButtonFontColorDisabled=$7F7F7F
FlashLeft=55
FlashTop=0
FlashWidth=714
FlashHeight=106
LogoLeft=355
LogoTop=10
LogoWidth=178
LogoHeight=80
SetupFont=Times New Roman
SetupFontSize=1
SetupFontColor=$FFFFFF
ShowBGFullscreen=0
TextPositionTop=130
TextPositionLeft=280
TextPositionWidth=360
TextPositionHeight=300
TextSpaceFromBorder=0
TextCenter=1
 
[AutorunSettings]
AutorunWidth=439
AutorunHeight=600
MusicLeft=400
MusicTop=15
MusicWidth=24
MusicHeight=24
LangBoxCenter=1
LangBoxLeft=0
LangBoxTop=10
PlayLeft=200
PlayTop=380
InstallLeft=200
InstallTop=440
ExitLeft=200
ExitTop=500
ButtonWidth=216
ButtonHeight=53
ButtonFont=Times New Roman
ButtonFontUC=1
ButtonFontColor=$CCCCCC
ButtonFontColorOnMouse=$FFFFFF
ButtonFontColorMouseDown=$FFFFFF
ButtonFontColorDisabled=$7F7F7F
ButtonFontSize=9
ButtonFontBold=1
 
[LauncherSettings]
InstallRedist=1
 
Launch1=DirectX
Launch164=0
Launch1BeforeInstall=0
LaunchCom1={src}\redist\directX\DXSETUP.exe
LaunchArg1=/silent
 
Launch2=Visual C++ 2010 x86
Launch564=0
Launch5BeforeInstall=0
LaunchCom5={src}\redist\vcredist_x86.exe
LaunchArg5=/silent


Launch 2 Corrections

Launch2=Visual C++ 2010 x86
Launch264=0
Launch2BeforeInstall=0
LaunchCom2={src}\redist\vcredist_x86.exe
LaunchArg2=/silent

red01 17-09-2013 04:18

i want to remove the text from music button in autorun and i want to show only a symbol for music button.
but i cant do it and i cant change the equalizer as well.

is there any way to do it?

ayateknik 27-10-2013 08:36

disc without compression chamber with CIU, and I want to do the installation, and which parts need to wipe innoda where you need to add this code I would like to add just the autorun and setup button on the visual and disk compression chamber, changing, etc. How do I use the CIU
I'm sorry for bad english


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

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