FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   INNO TROUBLESHOOT - Questions Here (https://fileforums.com/showthread.php?t=93193)

buttignol 12-07-2013 17:37

Quote:

Originally Posted by Razor12911 (Post 420946)
no parent maybe.

remove this //

//avisoLabel.Parent := WizardForm;

to

avisoLabel.Parent := WizardForm;

Thank Razor12911 not work

red01 12-07-2013 23:46

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

Quote:

Originally Posted by Razor12911 (Post 419676)
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

Quote:

Originally Posted by red01 (Post 420950)
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

red01 13-07-2013 20:16

Quote:

Originally Posted by pakrat2k2 (Post 420962)
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.

red01 13-07-2013 22:18

Quote:

Originally Posted by pakrat2k2 (Post 420980)
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

1 Attachment(s)
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.

altef_4 20-07-2013 10:11

Quote:

Originally Posted by pakrat2k2 (Post 421059)
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

Quote:

Originally Posted by red01 (Post 420977)
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

1 Attachment(s)
Friends need a help how to make transparent TasksList
as of the SelectTasksLabel
I'm using this script without success

Code:

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.SelectTasksLabel.Caption;
  SelectTasksLabel.Parent:=WizardForm.SelectTasksPage;

  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

Quote:

Originally Posted by mausschieber (Post 420710)
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

Quote:

Originally Posted by buttignol (Post 421225)
Friends need a help how to make transparent TasksList
as of the SelectTasksLabel
I'm using this script without success

Code:

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.SelectTasksLabel.Caption;
  SelectTasksLabel.Parent:=WizardForm.SelectTasksPage;

  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

1 Attachment(s)
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

Quote:

Originally Posted by Razor12911 (Post 421232)
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

Quote:

Originally Posted by Razor12911 (Post 421235)
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
Code:

[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

Quote:

Originally Posted by Riddle_R (Post 421459)
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

Quote:

Originally Posted by Riddle_R (Post 421459)
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

Cesar82 02-08-2013 18:29

Help
 
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

Quote:

Originally Posted by LuisCésar82 (Post 421555)
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:

Quote:

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.


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


All times are GMT -7. The time now is 07:38.

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