![]() |
Quote:
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 |
i want to make progress bar vertical at the right corner of the screen of installer..
is it possible? |
Inno Setup uses old delphi so no. other wise you could have use RotationAngle Property but anything is possible in delphi.
|
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 |
Quote:
i will try it and will inform u soon.. :D |
1 Attachment(s)
i follow ur instructions and now inno is giving me the following error
please have a look |
find
MaxWidth : integer; change it to MaxHeight : integer; |
Quote:
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? |
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 |
1 Attachment(s)
i am sorry to bother you again and again but still error.
i attached the image. |
find MaxWidth and Change it to MaxHeight
it's under var |
Quote:
|
1 Attachment(s)
look here
|
1 Attachment(s)
Here's the script with your request
|
1 Attachment(s)
Quote:
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). |
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 |
hello
i have a question how i can build own gui for game and build setup.exe and autorun.exe ??? |
Quote:
/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... |
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.. |
loks right except
MyExecutableIconName3=The Sims 3 Fast Lane Stuff MyExecutableName3=TS3SP02.exe shouldn't that be 03 ?? |
its not 3 its TS3SP02.exe in The Sims 3 Fast Lane Stuff game directory.
i tried the command nothing happen. |
all exe's are in same folder Game\Bin ?
|
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 |
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 :) |
i think left behind and I do not understand though repeatedly read,, whether you have video tutorial ?
|
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] |
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:lc8and changed the values in setup.ini to this: Code:
[ExtractSettings2]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. |
@alley_u2
What version of CI you are using? |
Quote:
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. |
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. |
Quote:
FYI: Code:
[InstallOptions] |
Got the error [ExtractSettings2] should have been [ExtractSettings]
|
Yes, [ExtractSettings] :D
|
Is this compatible with precomp 0.43 and srep 32
|
Quote:
|
Quote:
|
Quote:
Anyway, will not have support to precomp 0.43, only 0.42 but srep 3.2 should work. |
Quote:
Launch2=Visual C++ 2010 x86 Launch264=0 Launch2BeforeInstall=0 LaunchCom2={src}\redist\vcredist_x86.exe LaunchArg2=/silent |
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? |
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