Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

Closed Thread
 
Thread Tools Search this Thread Display Modes
  #361  
Old 02-07-2013, 04:06
red01 red01 is offline
Registered User
 
Join Date: May 2013
Location: last aayam
Posts: 95
Thanks: 36
Thanked 9 Times in 8 Posts
red01 is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
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
Sponsored Links
  #362  
Old 03-07-2013, 03:06
red01 red01 is offline
Registered User
 
Join Date: May 2013
Location: last aayam
Posts: 95
Thanks: 36
Thanked 9 Times in 8 Posts
red01 is on a distinguished road
i want to make progress bar vertical at the right corner of the screen of installer..

is it possible?
  #363  
Old 03-07-2013, 03:26
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
Inno Setup uses old delphi so no. other wise you could have use RotationAngle Property but anything is possible in delphi.
  #364  
Old 04-07-2013, 04:08
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
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
  #365  
Old 04-07-2013, 04:16
red01 red01 is offline
Registered User
 
Join Date: May 2013
Location: last aayam
Posts: 95
Thanks: 36
Thanked 9 Times in 8 Posts
red01 is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
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..
  #366  
Old 04-07-2013, 06:23
red01 red01 is offline
Registered User
 
Join Date: May 2013
Location: last aayam
Posts: 95
Thanks: 36
Thanked 9 Times in 8 Posts
red01 is on a distinguished road
i follow ur instructions and now inno is giving me the following error
please have a look
Attached Images
File Type: jpg error in ciiu.JPG (45.1 KB, 139 views)
  #367  
Old 04-07-2013, 08:03
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
find

MaxWidth : integer;

change it to

MaxHeight : integer;
  #368  
Old 05-07-2013, 01:49
red01 red01 is offline
Registered User
 
Join Date: May 2013
Location: last aayam
Posts: 95
Thanks: 36
Thanked 9 Times in 8 Posts
red01 is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
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?
  #369  
Old 05-07-2013, 04:56
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
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
  #370  
Old 05-07-2013, 06:13
red01 red01 is offline
Registered User
 
Join Date: May 2013
Location: last aayam
Posts: 95
Thanks: 36
Thanked 9 Times in 8 Posts
red01 is on a distinguished road
i am sorry to bother you again and again but still error.

i attached the image.
Attached Images
File Type: jpg Error after changes.JPG (56.6 KB, 134 views)
  #371  
Old 05-07-2013, 06:16
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
find MaxWidth and Change it to MaxHeight

it's under var
  #372  
Old 05-07-2013, 06:22
red01 red01 is offline
Registered User
 
Join Date: May 2013
Location: last aayam
Posts: 95
Thanks: 36
Thanked 9 Times in 8 Posts
red01 is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
find MaxWidth and Change it to MaxHeight

it's under var
sorry i cant find it.
  #373  
Old 05-07-2013, 09:06
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 7,209
Thanks: 3,040
Thanked 9,043 Times in 3,086 Posts
pakrat2k2 is on a distinguished road
look here
Attached Images
File Type: jpg variable.jpg (242.7 KB, 137 views)
  #374  
Old 05-07-2013, 09:07
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
Here's the script with your request
Attached Files
File Type: zip InstallerScript.zip (337.9 KB, 41 views)
The Following User Says Thank You to Razor12911 For This Useful Post:
red01 (05-07-2013)
  #375  
Old 06-07-2013, 01:51
red01 red01 is offline
Registered User
 
Join Date: May 2013
Location: last aayam
Posts: 95
Thanks: 36
Thanked 9 Times in 8 Posts
red01 is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
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).
Attached Images
File Type: jpg same bar.JPG (182.8 KB, 148 views)
Closed Thread


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tutorial On How To Create Your Own Crack..! mojo8850 PC Games 17 20-03-2005 22:43
Mafia - Newbie Cracking Tutorial online cdkiller PC Games 6 14-12-2002 09:01
every game needs a special dvd rip tutorial??? billete100 PS2 Games 1 10-10-2001 01:44
Brief fast tutorial on DC copy? webcamworld DC Games 1 02-05-2001 20:27
grandia 2 SAGICE's tutorial DarCwuN DC Games 2 17-12-2000 16:43



All times are GMT -7. The time now is 11:26.


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