PDA

View Full Version : Tutorial using CI 8.0.0


Pages : 1 [2]

kassane
23-10-2012, 12:31
The problem is that with this error the cab file is not created, so I can not test it on CI!
I did some testing here on my computer, and realized that the precomp038 functioned normally, only precomp042 that give this error ... Then I try to test the precomp043 if error or not, talk to the developer precomp!

Edit:
I tested the precomp043 and it worked, but unfortunately the CI is not adapted for this precomp...

Precomp043:
http://imageshack.us/scaled/landing/27/precomp043.jpg

Arc.ini
[External compressor:precomp]
header = 0
packcmd = precomp -intense0 -cb {options} -o$$arcpackedfile$$.tmp $$arcdatafile$$.tmp
unpackcmd = precomp -o$$arcdatafile$$.tmp -r $$arcpackedfile$$.tmp

BAMsE
23-10-2012, 14:30
If you experienced the file access problem always at the same position you can force precomp to avoid it. Just add to your compress definition
-mprecomp:v:i169529374+srep+lzma:a1:mfbt4:d256m:fb1 28:mc1000:lc8
where 169529374 is position of last found stream before the problem occurs (see your scr).

Take some JPGs and try to compress them - they're well-precomped and shouldn't cause any error. If it worked, most likely cause of the error is data type you want to compress before. As I said: not all files are eligible for precomping

BTW: use -c- parameter instead of -cb for precomp. The first leaves output file non compressed (so it can be well-srepped), second compress output with bZip2 (poorly-srepped)

Joe Forster/STA
24-10-2012, 04:02
@kassane: Oh, please, not red on black, it's completely unreadable!

kassane
24-10-2012, 04:24
I'm sorry, the next show with color red....

Note: BAMsE, I just use the code, "-cb" in precomp043 in version 042 "-c-".

Edit:
I have two news, one good and one bad:

Good News: The new code that you showed me, solved the problem of errorlevel = 2 / errorlevel = 0 ... The Data.cab is created. :)
-mprecomp:v:i169529374+srep+lzma:a1:mfbt4:d256m:fb1 28:mc1000:lc8
Bad news: The CI does not accept, and is giving error: :(
http://imageshack.us/scaled/landing/145/semttuloumx.jpg

BAMsE
24-10-2012, 12:21
kassane maybe it's silly question, because I've said it dozens of times, but... did you set PrecompVer=inside in your setup.ini?

kassane
24-10-2012, 12:48
PrecompVer=0.42

BAMsE
24-10-2012, 12:51
So, please, set it to PrecompVer=inside

kassane
24-10-2012, 13:11
PrecompVer=inside
-mprecomp:v:i169529374+srep+lzma:a1:mfbt4:d256m:fb1 28:mc1000:lc8
Thx :D Problem Solved!!
Sorry for disturbing your time...

BAMsE
24-10-2012, 13:30
Well. Let me recap:
Probably wrong version of some compressor file or absence of arc.ini. You need arc.exe (0.67), precomp.exe plus its files (0.4.2), srep.exe (3.0) and arc.ini included in yener90's setup.cab. This ini must be placed in the root of your setup.cab too

kassane

First: don't quote previous post

Second: you need to add to your setup.ini the following line
[InstallOptions]
PrecompVer=inside
Should be OK

Everything was sad 3 days earlier and 2 pages ago. Next time you'll need help please read answers carefully and follow instructions exactly.

kassane
24-10-2012, 14:21
arc a -ep1 -ed -r -w.\ Data\Data1.cab -mprecomp:v+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:l c8
Doubt: The old code stopped above gives error, after I put this code below: I tested the CI and it worked...
if ERRORLEVEL 2 goto arcfail

Did it change anything? That has nothing to do?

Brazilica
27-10-2012, 03:58
Is there a way to modify the time for the background images ?

BAMsE
27-10-2012, 04:56
kassane in my opinion if you got an error whole process can't be done properly. To avoid precomp errors look here (http://fileforums.com/showpost.php?p=408713&postcount=253) once again

REV0
27-10-2012, 05:03
Is there a way to modify the time for the background images ?

nope

REV0
30-10-2012, 00:58
Sorry for dumb question but...

'' -msrep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 '' can someone tell me what's the problem with this ?

no precomp, only srep,


[InstallOptions]
PrecompVer=inside

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

These values in setup.ini, also tried without PrecSrep value above, same:

-2, Unsupported compression method, blabla

Actually it's the same error with kassane's but tried the methods Bamse said, no go.

I'm trying to figure this out since couple of days and it started to pissing me off http://swngz.com/images/smilies/smilies%20v3/die.gif

BAMsE
30-10-2012, 12:28
I've just tested it with CI 8.5.7.4 and it works. Didn't you forget to include arc.ini in your setup.cab?

And btw not Bamse but BAMsE :p

REV0
30-10-2012, 14:29
I've just tested it with CI 8.5.7.4 and it works. Didn't you forget to include arc.ini in your setup.cab?

And btw not Bamse but BAMsE :p

ok, BAMsE :D

Tried it as well, didnt work

Did you try this code ?:

arc a -ep1 -r -w.\ .\Disk1\Data1.cab -msrep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "%choice1%"

and no precsrep value in extractsettings like you said

BAMsE
30-10-2012, 15:08
Yes, it works for me.
I'm using compressors package from here (http://fileforums.com/showpost.php?p=408554&postcount=242), also including arc.ini from this package into root of setup.cab. In setup.ini
[InstallOptions]
PrecompVer=inside

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

REV0
30-10-2012, 16:10
Yes, it works for me.
I'm using compressors package from here (http://fileforums.com/showpost.php?p=408554&postcount=242), also including arc.ini from this package into root of setup.cab. In setup.ini
[InstallOptions]
PrecompVer=inside

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

That's incredible, i even downloaded yener's sherlock holmes 2 setup directly, put ini file in the cab, added the values you gave above, and yet same error...

Your compression archive in one folder, along the bat i made, in second folder thare are setup components, ico etc. It creates the cab file, but when it comes to installation got the same

http://i.imgur.com/hoTNR.png

Compiler
31-10-2012, 01:24
Is it possible to compress a game and put it inside/include with SETUP1.bin(so that there is no need of data.cab in setup folder) ?

#define Internal is not working for me,I edited it on both the .iss files and I have "Setup" folder with all required files,but still no luck.Help.

kassane
31-10-2012, 10:28
That's incredible, i even downloaded yener's sherlock holmes 2 setup directly, put ini file in the cab, added the values you gave above, and yet same error...

Your compression archive in one folder, along the bat i made, in second folder thare are setup components, ico etc. It creates the cab file, but when it comes to installation got the same

http://i.imgur.com/hoTNR.png

Have you ever tried to fix ISDone.dll?
When I was having this problem, I also checked it and fix...
http://www.dll-files.com/dllindex/dll-files.shtml?isdone

BAMsE
31-10-2012, 10:57
REV0 I have no clue why you get this error. See attached video

REV0
31-10-2012, 13:21
REV0 I have no clue why you get this error. See attached video

Did it, finally. You'll never believe where i was copying PrecompVer value. EPIC FAIL of the year, obviously.

Thank you very much friend

Brazilica
07-11-2012, 07:51
Can i make my installer contain only the "Default Installation", "Custom Installation", "Music On/Off" and "Cancel" buttons without the text " Welcome to xxx Setup Wizard" "This will install xxx on your Computer..." ?

Gorki
07-11-2012, 09:01
Is it possible to suppress tray notification icon when launching setup? I'm still learning so please forgive my ignorance. :o

Newbie
07-11-2012, 09:18
I have the same question as Brazilica.

I would like to have "chose install path" Screen only.

Is that possible and how.

Thank You

shanrq
16-11-2012, 11:51
can some one tell me what meaning of this word: arc a -ep1 -r -w
need info for this thing "-ep1", "-r" "-w" "-ed" "m3"
or maybe you can just give me where i can get any documentation about it.

-thx

Onizuka87k
16-11-2012, 16:18
can some one tell me what meaning of this word: arc a -ep1 -r -w
need info for this thing "-ep1", "-r" "-w" "-ed" "m3"
or maybe you can just give me where i can get any documentation about it.

-thx
Arc (Arc.exe) is the compressor executable (http://freearc.org/), the other words are just the parameters for its commands and options.
Usage: Arc command [options...] archive [files... @listfiles...]
If you run arc (from command line) you can see the help file, specifically:

a: add files to archive
-ed: don't add empty dirs to archive
-epMODE: Exclude/expand path MODE
-mMETHOD: compression METHOD (-m0..-m9, -m1x..-m9x)
-r: recursively collect files
-wDIRECTORY: DIRECTORY for temporary files

shanrq
17-11-2012, 01:27
unfortunately documentation on freearc.org is in russian language... can you give me where freearc documentation manual in english..
more question :p
what best tools for registry catcher beside regshot and regmapp and tools for exporting capturing reg to inno setup
-thx again..

pakrat2k2
17-11-2012, 07:28
unfortunately documentation on freearc.org is in russian language... can you give me where freearc documentation manual in english..
more question :p
what best tools for registry catcher beside regshot and regmapp and tools for exporting capturing reg to inno setup
-thx again..


see useful programs topic for reg to inno converter
http://fileforums.com/showthread.php?t=92995

You still need to have the registry entry(s) exported into file for the converter to change them into reg entries for inno script.

GKP0888
26-11-2012, 10:44
can anybody give me a detail about system check in setup.ini file...
about it's values.. which one is for XP, Vista, 7,or even for win 8 ?
thx. still a little confuse about them....

BAMsE
26-11-2012, 14:58
GKP0888 read first post in this (http://fileforums.com/showthread.php?t=91563) thread

kassane
10-12-2012, 12:25
yener90, would you update the tutorial for version CIU?

Evil Boy
25-12-2012, 00:32
hi i download ci and when i try to compile the script usig unicode version I get this error;
http://speedcap.net/sharing/screen.php?id=files/12/22/122283664ec1c56c3d530b1afd082412.png

Razor12911
26-12-2012, 14:09
hi i download ci and when i try to compile the script usig unicode version I get this error;
http://speedcap.net/sharing/screen.php?id=files/12/22/122283664ec1c56c3d530b1afd082412.png
Maybe it's your copy of operating system/windows, some language files are missing or have been removed(System Files). This usually happens if you have a modified copy of Windows like Windows Gamer you name them.

Fabioddq
26-12-2012, 15:03
hi i download ci and when i try to compile the script usig unicode version I get this error;
http://speedcap.net/sharing/screen.php?id=files/12/22/122283664ec1c56c3d530b1afd082412.png

Check if you have Japanese.isl in Inno Setup installation folder\Languages.
If not, copy from CI\Languages and paste there.

Brazilica
03-01-2013, 12:50
I want to make a conversion based on yener's Far Cry 3 but in the autorun apears picture buttons for "install and manual installation". How can I use text buttons instead of those picture buttons ?

Fabioddq
03-01-2013, 17:22
I want to make a conversion based on yener's Far Cry 3 but in the autorun apears picture buttons for "install and manual installation". How can I use text buttons instead of those picture buttons ?

You want use only text instead of buttons?

In this case create a button with size 1x1. So only the text is displayed. But I think this is not possible if you use transparent background.

Brazilica
04-01-2013, 06:11
Not just text. Text and buttons, like the normal CI 8.0.x.x
In the yener's Far Cry 3, the install buttons look like this: http://imageshack.us/a/img802/9233/uninstall.png

Fabioddq
04-01-2013, 06:59
Not just text. Text and buttons, like the normal CI 8.0.x.x
In the yener's Far Cry 3, the install buttons look like this: http://imageshack.us/a/img802/9233/uninstall.png

Change in the buttons:

LabelX=
LabelY=

Default is 0

But will depend of your image and button size.

mikey26
29-01-2013, 07:47
okay i having a issue with eula files first time using them how to i get it to work with ci 1.0.0.4hf

pakrat2k2
29-01-2013, 08:29
look to [Language] section IE:

[Languages]
Name: eng; MessagesFile: Languages\English.isl; LicenseFile:"Readme_US.txt"
Name: ger; MessagesFile: Languages\German.isl; LicenseFile:"Readme_DE.txt"

etc

make sure the eula text files are with ISS scripts ( same folder )

61n4n74r
31-01-2013, 22:02
hy, can i just make the installation progress background not fullscreen?
if i can, how to?
thanks...

geekstar
04-02-2013, 22:50
Can anybody tell me how to use a password protected arc archive in the installaltion

geekstar
06-02-2013, 02:21
how can i change the text of any button?

Joe Forster/STA
06-02-2013, 11:08
how can i change the text of any button?

Change it in the source (for Inno Setup: the *.iss file).

inovateqsa
01-03-2013, 00:37
OK, What am I doing wrong?

I am trying to change the color of the button text in the setup.ini - to #FBB917 - But it simply becomes blank.

I am trying to get a similar color to that orange used in the fallout new vegas menu.

Nothing I try is working, any edit made causes the text to become invisible.

Please help.

-EDIT-

I even Tried using RGB codes, but when the number of digits exceeds 6 - the text disappears.
Surely it should support up to 9 digits?

Or does this use neither html, nor rgb color codes?

pakrat2k2
01-03-2013, 07:46
from setup.ini on page 1

"ButtonFontColor => set the button font color => color need to be reversed => exchange first two values with the last two values"

if the value was $FBB917 you'd enter in setup.ini on that line as $17B9FB

i use this page easy to pick color & see value
http://www.w3schools.com/tags/ref_colorpicker.asp

JacksMafia
01-03-2013, 09:02
so anyone knows which lines to modify so i can change text on play button in autorun menu? i need it to be play gamename just like play2 button

thanks guys

Razor12911
01-03-2013, 09:46
so anyone knows which lines to modify so i can change text on play button in autorun menu? i need it to be play gamename just like play2 button

thanks guys
somewhere in this procedure

procedure LanguageInfo;

the language script.

but ey, Yener90 made it like that for a reason. so appreciate its functions.

azikker
20-03-2013, 09:58
I've made an installer and get this errormessage when installation starts:
http://i.imgur.com/47GswRs.png


These are the commands I used for compressionarc a -ep1 -r -w.\ -lc- -s; -mprecomp:t-jn+srep+exe2+delta+lzma:a1:mfbt4:d158m:fb273:mc100 0:lc8

Tried different options but didn't find a solution. Installing an archive with only freearc compression (not using srep or precomp)
works without any problems.

JacksMafia
20-03-2013, 10:34
add this line to your setup.ini

PrecompVer=inside

alexmercer
27-03-2013, 10:17
Hey guy! Thanks so much! :)
Its so very cool!

And I have a question.. how can I create a desktop icon of game?!

Thanks!

Razor12911
27-03-2013, 12:49
installer automatically creates shortcuts

sakaboy
28-03-2013, 17:40
Freearc cannot splitting files for 2gb part ?. I want create like that data1.cab - data2.cab.

Precomp or Srep's have any file split commands?

Sorry for my bad english...

pakrat2k2
28-03-2013, 17:51
freearc cant at the moment its planned for update 0.70 THEN you will be able to specify filesize. Its just be trial & error to get the size you want, as you start with freearc then precomp lastly srep.

maybe one of the more experienced with commandline maybe able to input more ??

edwinkyr
30-03-2013, 21:50
how to use Setup.cab Cryptor.exe ??

Razor12911
31-03-2013, 01:10
extract setup.cab to a folder named setup then launch program, set password then done.

Pulcione86
07-04-2013, 02:46
Guys I have a problem.

I want to use FreeArc, I read that says this:

If you use FreeArc installation, just add to the line "Comp: (Number of component, for Which It Should be installed)"
Example:
code:

FreeArcFile1 = {src} \ Data1.cab; DestDir: {app}; Disk: 1; Comp: 1;

But where should I enter? use inno setup recently.

Thanks to those who answer me

Sorry for my english

Razor12911
07-04-2013, 02:55
you can only use comp if you have used components. and remove spaces if you want to set a directory or destination

therefore it will be like this.
FreeArcFile1 ={src}\Data1.cab; DestDir: {app}; Disk: 1

Pulcione86
07-04-2013, 03:02
First of all, thanks for the reply

Yes, but I do not know where it goes physically inserted.

In the script or in the setup.ini? and where exactly? because wherever I insert it gives me error.

P.S. I removed the components, just because I do not want to use the indoor installation

Razor12911
07-04-2013, 03:16
the setup.ini, under
[ExtractSettings]

Pulcione86
07-04-2013, 03:28
Done, but nothing happens, definitely something I'm wrong.

I want that when I go to install, it extracts the file.arc ...

I'll put in a script that I made, with what I can do.

If you have time and desire, you could send me the script and the setup.ini correct?

Thank you so much razor

Razor12911
07-04-2013, 03:46
this thing only works with yener90 source code/script

Pulcione86
07-04-2013, 03:52
So I guess I'll have to give it up :(

Thanks for the help razor :)

Pulcione86
07-04-2013, 04:51
There are successful :)

FreeArcFile1 = {src} \ Data1.cab; DestDir: {app}; Disk: 1

It was like you said, but I was wrong inserting into.

Last thing, if I want to extract 2 files, I do a thing like that?:

FreeArcFile1 = {src} \ Data1.cab; DestDir: {app}; Disk: 1; Comp: 1;
FreeArcFile1 = {src} \ data2.cab; DestDir: {app}; Disk: 1; Comp: 2;

huavancuong098
09-04-2013, 08:44
and i want add some text install or quit, can you help me!

Razor12911
09-04-2013, 12:55
Freearc cannot splitting files for 2gb part ?. I want create like that data1.cab - data2.cab.

Precomp or Srep's have any file split commands?

Sorry for my bad english...

i'm afraid it's not possible, isdone can't extract splitted files, try it with 7z and rar and see.

Razor12911
09-04-2013, 12:58
There are successful :)

FreeArcFile1 = {src} \ Data1.cab; DestDir: {app}; Disk: 1

It was like you said, but I was wrong inserting into.

Last thing, if I want to extract 2 files, I do a thing like that?:

FreeArcFile1 = {src} \ Data1.cab; DestDir: {app}; Disk: 1; Comp: 1;
FreeArcFile1 = {src} \ data2.cab; DestDir: {app}; Disk: 1; Comp: 2;

the second one has to be freearc file two because it's the second file you want to extract under freearc. Third, freearcfile3, fourth, freearcfile 4 and so on.

Razor12911
09-04-2013, 13:01
and i want add some text install or quit, can you help me!

you can edit messages and custom messages in the isl(inno setup language).

huavancuong098
11-04-2013, 04:00
why during the installation process, it runs my slide too fast. Is there a way to revise is not time. Thank!

Razor12911
11-04-2013, 08:38
it's because there might be too many slides or the installer doesn't contain many/large files to unpack.

huavancuong098
11-04-2013, 22:46
way to solve the problem and increase the time each image is not!

pakrat2k2
12-04-2013, 06:53
not possible

huavancuong098
12-04-2013, 07:02
is there a way to make it slower does not slide!

pakrat2k2
12-04-2013, 07:43
reduce the number of images

huavancuong098
13-04-2013, 02:20
although reduced image but the image only time increased only 1 short span. There is no way around this!

inovateqsa
16-04-2013, 01:36
Stupid Question:

If we are making an installer for a single (IE: Not collection) game,
What should I define the component as?

There aren't any extra game folders, so it's just a collection of random folders inside the main game folder.

How would I go about setting the Installer.iss for that?

I have been using the older custom installer up until this point so at the moment I am clueless.

Thanks.

pakrat2k2
16-04-2013, 05:10
dont use components. just set game directory using #define programfiles line.
using yener's source you set the game's exe in setup.ini

inovateqsa
16-04-2013, 07:04
Thanks,

I feel like an idiot - I've tried using them, tried deleting them, even simply ignored them and tried to use only the game path, yet every time I tried I always got some error about a Component not found, or undeclared component.

And now after ignoring them after you told me to - It works?

Murphy is abusing his power.

Thanks again.

inovateqsa
17-04-2013, 03:57
Ok,

Another question regarding the Custom installer ultimate:

There are 3 images labeled "Uninstall", "Exit" and "Play.
In the default far cry 3 setup you need to click the "UnInstall" button to Install, Huh?

How do I simply put in my own plain button like I used to with the regular custom installer - one that i can put text with my custom font on?

spawniectes
17-04-2013, 04:36
Ok,

Another question regarding the Custom installer ultimate:

There are 3 images labeled "Uninstall", "Exit" and "Play.
In the default far cry 3 setup you need to click the "UnInstall" button to Install, Huh?

How do I simply put in my own plain button like I used to with the regular custom installer - one that i can put text with my custom font on?
just use the button you want, and edit in setup.ini the dimension of the button under [AutorunSettings] (ie: uninstall buttons)

[UnInstallButton]
Left=459
Top=112
Width=58
Height=58
LabelY=1500

for

[UnInstallButton]
Left=459
Top=112
Width=your button eidth
Height=your button height
LabelY=1500 (delete this line if you want to show the label install/uninstall)

remember to use the same name that has the button you want replace.

inovateqsa
17-04-2013, 05:44
Thanks,

But that doesn't help me too much.

The problem is all the buttons I have made are the standard 'Button, ButtonClicked, ButtonDisabled'.png

I cannot figure out what to type to enable them.
Your post will help me adding my own extra buttons, but it doesn't help me enable the already existing ones.
-Could you please give an example to add those buttons?

I have my own font, and I do not want to have to Manually add the text to the images - I would prefer this to be done automatically, the same way as was in the plain custom installer.

-I prefer the ultimate installer as a whole, but I still need some help adjusting.
And there is almost no info in the tutorial for any of this.

-Oh, and how do you change what the buttons do once you've added them?

spawniectes
17-04-2013, 06:17
Thanks,

But that doesn't help me too much.

The problem is all the buttons I have made are the standard 'Button, ButtonClicked, ButtonDisabled'.png

I cannot figure out what to type to enable them.
Your post will help me adding my own extra buttons, but it doesn't help me enable the already existing ones.
-Could you please give an example to add those buttons?

I have my own font, and I do not want to have to Manually add the text to the images - I would prefer this to be done automatically, the same way as was in the plain custom installer.

-I prefer the ultimate installer as a whole, but I still need some help adjusting.
And there is almost no info in the tutorial for any of this.

-Oh, and how do you change what the buttons do once you've added them?

It's the same, just open button.png and save as uninstall.png, buttonselected as uninstallselected do the same with the exit.png and exitselected.png, then on setup.ini change the dimmension of that button like the example a left you before. And for the font just replace one of the two fonts that already exist for your own and change the name of the font on setup.ini for the one you use. you dont have to add the text to the image. for exit and uninstall button just delete the labelY=1500 sintax.

download any of my conversion and look how I use the buttons.

inovateqsa
17-04-2013, 12:59
Awesome, so far so good.

I am 99% done with my installer, only 1 stupid problem remains:

I cannot figure out how to change the font size of the smallInstaller - only the font size of the entire setup.
I cannot Align the Small Buttons either.

It is kind of irritating because my buttons are directly behind the progress bar.

spawniectes
18-04-2013, 20:56
Awesome, so far so good.

I am 99% done with my installer, only 1 stupid problem remains:

I cannot figure out how to change the font size of the smallInstaller - only the font size of the entire setup.
I cannot Align the Small Buttons either.

It is kind of irritating because my buttons are directly behind the progress bar.

to fix the problem (buttons are directly behind the progress bar.) just reduce the shadow on [SmallInstaller] section. If it's shadow=60 try shadow=50 or 40 and see if that fix the problem.
And the font size of small installer it cant be done. Only the entire setup like you say.

Demonn
08-05-2013, 03:57
8.5.7.4 y 1.0.0.6 Script problem with Ati Radeon 7970 graphics.
It puts the well recognized and is not supported.

I have a 6970 and no problems recognizing me.

inovateqsa
10-05-2013, 01:16
Is there a way to make animated buttons in the custom installer, or CIU?

Here is the scenario:
I am making my own installer for DMC, remember how in the 3rd game you could 'Slash' or 'Shoot' the loading symbol and add scars to it?
I want to have a slash mark appear whenever someone moves the mouse over the button, when they remove the mouse it stays, then when they move the mouse over the button another slash mark is added (So the number of slashes increase every time they move the mouse over - up to a limit).

Any Idea's?

Aside from that scenario, is it possible to have genuine animated buttons (Like gifs) as well.
And animated backgrounds?

The DMC buttons are my top concern right now, but I would appreciate it if someone could answer my other questions too.
Any help would be appreciated.

Thanks.

sentinelks
02-06-2013, 22:49
Good morning everyone and thank you for accepting me into this great forum
I need to understand the compression arc-pcf-srep-arc etc..
you have a zipped file or an excellent tutorial that explains the basic process please let and thanks

sorry mi english and I apologize if the post is not in the correct thread

pakrat2k2
04-06-2013, 19:21
Good morning everyone and thank you for accepting me into this great forum
I need to understand the compression arc-pcf-srep-arc etc..
you have a zipped file or an excellent tutorial that explains the basic process please let and thanks

sorry mi english and I apologize if the post is not in the correct thread

couple of sticky topics you can read thru, for a wealth of information.

Inno Troubleshoot - Questions here by REV0
http://fileforums.com/showthread.php?t=93193

INNO TROUBLESHOOT - Tutorials and Answers about INNO Setup (http://fileforums.com/showthread.php?t=93191) by REV0
http://fileforums.com/showthread.php?t=93191

red01
24-06-2013, 01:34
for a try i run the script on a small game without changing ur sat.cab
i make changes in setup.ini and few small changes in innoscript.


it give me an error. (i attached the files)

i also attached a pic showing my files for that test trial.


[InstallOptions]
ApplicationName=isuka
Publisher=smc
GameSize=5600
MyExecutableName=ggdx.exe
MyExecutablePath=
Editor=yener90
PrecompVer=0.42
Lang=en


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




i use following command line for creatin data.cab

arc a -m0 data.arc "c:\"

precomp.exe data.arc

srep.exe -m3 data.pcf

arc a -m0 data.cab data.pcf.srep
pause


( i dont have any arc.ini in setup.cab) ( i extract the setup.cab and found no arc.ini)

please help me.

HellRazor
25-06-2013, 06:47
OK... What am I doing wrong?

http://i41.tinypic.com/2m47s7p.jpg

Both Autorun.bmp and Autorun.png are same in size.
PNG is 32b while BMP is 2b (just like originals in CIU that was supplied).

Sizes are the same on both images 800x587 and that same size is set in Setup.ini.
[AutorunSettings]
AutorunWidth=587
AutorunHeight=800

yener90
25-06-2013, 07:06
OK... What am I doing wrong?

[AutorunSettings]
AutorunWidth=587
AutorunHeight=800

i marked the problem^^

HellRazor
25-06-2013, 08:15
i marked the problem^^

Oh, now that was idiotic from me... Not reading the lines before editing the numbers.

Thanks...

pakrat2k2
27-06-2013, 14:51
for a try i run the script on a small game without changing ur sat.cab
i make changes in setup.ini and few small changes in innoscript.


it give me an error. (i attached the files)

i also attached a pic showing my files for that test trial.


[InstallOptions]
ApplicationName=isuka
Publisher=smc
GameSize=5600
MyExecutableName=ggdx.exe
MyExecutablePath=
Editor=yener90
PrecompVer=0.42
Lang=en


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




i use following command line for creatin data.cab

arc a -m0 data.arc "c:\"

precomp.exe data.arc

srep.exe -m3 data.pcf

arc a -m0 data.cab data.pcf.srep
pause


( i dont have any arc.ini in setup.cab) ( i extract the setup.cab and found no arc.ini)

please help me.

which script are you using? ( Version # IE 8574, 1006 .... )
read first post ( section on setup.ini ) it specifically lists what you need to do when using extreme compression... arc m0 / precomp / srep / arc.

The command you used last:
arc a -m0 data.cab data.pcf.srep
pause

should be arc a -m# ( 0 = no compression, you could use 1-9 for better compression of final file.) data.cab data.srep ( you have data.pcf.srep ) once srep is finished packing the precomp output file it should end in srep extension.

red01
27-06-2013, 21:51
i am using CI script 1.0.0.6
i follow ur instructions
and modified my command lines as follows

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

PrecompVer=inside
Lang=en

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


now it gives me two errors
see the attached pics.

red01
27-06-2013, 23:53
i change the
PrecompVer=inside
into
PrecompVer=0.42


now it gives me new error

DazzleR
28-06-2013, 06:20
I want to extract some files through a .bat file

how can i do it with this ????

ashyamsundar
30-06-2013, 07:20
How to enable this ?

Razor12911
30-06-2013, 07:50
you gotta move and szie the text position then set redist in setup.ini then it will show up

ashyamsundar
30-06-2013, 10:08
DVD1
-data1.cab
-data2.cab
-data3.cab
DVD2
-data4.cab
-data5.cab
-data6.cab
-data7.cab
-data8.cab
DVD3
-data9.cab
-data10.cab
-data11.cab
-data12.cab
-data13.cab

how to set extraction line in setup.ini ?
I use
" arc a -ep1 -ed -r -w.\ Data\Data1.bin -mprecomp:v srep lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "C:\*" "
to compress

i used
freearcfile1={src}\Data1.cab;DestDir:{app};Disk:1;
not woking

Razor12911
30-06-2013, 10:11
lol, check the file extension.

Razor12911
30-06-2013, 10:14
i am using CI script 1.0.0.6
i follow ur instructions
and modified my command lines as follows

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

PrecompVer=inside
Lang=en

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


now it gives me two errors
see the attached pics.

i change the
PrecompVer=inside
into
PrecompVer=0.42


now it gives me new error


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

ashyamsundar
01-07-2013, 04:03
Following error occur during installation
1) freearc+srep+freearc
2) freearc+precomp+srep+freearc

Razor12911
01-07-2013, 04:10
add arc.ini.

ashyamsundar
01-07-2013, 04:28
add arc.ini.

to main path or in setup.cab

Razor12911
01-07-2013, 04:38
inside setup.cab

and set precomp version to inside

ashyamsundar
01-07-2013, 04:49
Thanks
working great but extraction percentage is not working correctly
first 0-50-100 and then again 50-66-100 and 70-100
how to fix it

Razor12911
01-07-2013, 05:20
there is nothing wrong with that.

ashyamsundar
01-07-2013, 23:59
Getting error ?
Precompver=inside

Razor12911
02-07-2013, 02:51
use packjpg_dll which is 9kb in size to compress files and so that the unpacking process can be successful.

red01
02-07-2013, 04:06
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
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
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
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
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
find MaxWidth and Change it to MaxHeight

it's under var

:( sorry i cant find it.

pakrat2k2
05-07-2013, 09:06
look here

Razor12911
05-07-2013, 09:07
Here's the script with your request

red01
06-07-2013, 01:51
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
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=420792&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 (http://img546.imageshack.us/i/1mm5.jpg/)

Here my setup.ini
[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:
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:
[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
@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
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:
[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
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
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
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
Tried that before didnt work... Did as you said.

FYI:
[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

reiji777
28-10-2013, 11:39
please help, how to join setup.cab + setup.exe into 1 file of setup.exe?

ayateknik
29-10-2013, 10:47
C.I.U 1.0.0.6 Version of Autorun extra button to add the style file and add the code to add on top of the table and add a shortcut to the start menu autorun new link button and manual about how to add new language file to add the opening to insert the picture

NamelessOne
23-11-2013, 05:22
Is there any way to change the following: instead of Play and Play Blabla 2 on the autorun menu, to says, in my case, Baldur's Gate and Baldur's Gate II. The conversion is finished but that's been bugging me :D I'll create custom buttons if there's no other way :)

yener90
23-11-2013, 15:35
New version its possible :)
7 days are enough i think to finish it :p

NamelessOne
24-11-2013, 01:39
@yener90

Allrighty then :D Then I guess, I'll wait your updated version to publish this conversion ;)

ayateknik
27-11-2013, 17:51
How do I put icons on the desktop and Start menu

Razor12911
29-11-2013, 02:24
last time I checked. The CI does it automatically

GloverK1911
02-12-2013, 22:00
added precompver 043 yet?

HellRazor
07-12-2013, 06:49
OK, so... I am working on something small and regardless of it's size I intend to publish it if it turns out the way I want it.

The thing I am interested in is:
Because of the size of the entire thing, is it possible to exclude autorun.exe / setup.dll component?
Basically, using only one .exe file to do all the job.
In the end, I don't even need Autorun component. Because this thing is small, only setup would suffice.

This question relates to CIU 1006.

Razor12911
07-12-2013, 06:58
I think you can add this in installerscript.iss

#define DEBUG

remove autorun.exe and try running setup.exe and if error pops up.

add a dummy autorun.exe file(text file(0kb)) then try again.

GloverK1911
07-12-2013, 07:02
How to compressing Setup.cab , autorun , Setup.ini to one file setup.exe?

GloverK1911
07-12-2013, 07:04
Dose the setup can work if i set password for setup.cab and data?

HellRazor
07-12-2013, 07:11
I think you can add this in installerscript.iss

#define DEBUG

remove autorun.exe and try running setup.exe and if error pops up.

add a dummy autorun.exe file(text file(0kb)) then try again.

It worked but I want to avoid the dummy file(s).
Just one clean setup.exe at the end.

@Glover, Learn to read. That's what I am asking.

Razor12911
07-12-2013, 07:31
It worked but I want to avoid the dummy file(s).
Just one clean setup.exe at the end.

@Glover, Learn to read. That's what I am asking.
will give you worked out script. that is if it's okay with yener90.

GloverK1911
07-12-2013, 07:51
will give you worked out script. that is if it's okay with yener90.

Thank your support but its not work :(

Razor12911
07-12-2013, 07:56
that was for HellRazor.

To insert setup.cab and setup.ini, extract setup.cab then set ISPP for Internal to true (From ;#define Internal to #define Internal) for autorun and installer script.

then compile both.

Autorun.exe inserted in setup.exe (not literally) not possible under CIU v1 only in v2

HellRazor
07-12-2013, 08:19
That's it. Only one output file and it works.

Thanks :)

HellRazor
09-12-2013, 12:35
Razor, did you change anything related to video file and/or backgrounds inside that .iss file?

I have prepared everything but backgrounds fail to display...

Razor12911
09-12-2013, 13:12
um, Nope.

HellRazor
09-12-2013, 14:03
Well, no backgrounds here (images, I don't use video).
(There is supposed to be only 1 image but, still...)

Razor12911
09-12-2013, 14:08
Slides still working here with same script

GloverK1911
11-12-2013, 02:22
How to add setup.cab and setup.ini to one file setup.exe?

HellRazor
11-12-2013, 04:30
How to add setup.cab and setup.ini to one file setup.exe?

In both .iss files, enable the line that says #define Internal by removing ; from in front of them.

Unpack Setup.cab into folder Setup and then compile the scripts.

GloverK1911
11-12-2013, 06:17
In both .iss files, enable the line that says #define Internal by removing ; from in front of them.

Unpack Setup.cab into folder Setup and then compile the scripts.

I got this err
Couldnt find setup files

pakrat2k2
21-10-2014, 09:49
Topic reopened JUST for READING info ONLY