FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   yener90's Inno Project Source Codes (https://fileforums.com/showthread.php?t=91563)

lupetto77 25-04-2012 15:47

Help!
 
Can you tell me why I get this error Setup couldnt find necessary files.
I got these files once completed:

__Installer
autorun.inf
Setup.exe
Setup-1a.bin
Setup-1b.bin
Setup-1c.bin
Setup-2a.bin
Setup-2b.bin


I state that I used CI 8.2.6

pakrat2k2 25-04-2012 19:32

needs ALL the setup.* files to be complete, along with the bin files too.

yener90 26-04-2012 00:14

Quote:

Originally Posted by lupetto77 (Post 402136)
Can you tell me why I get this error Setup couldnt find necessary files.
I got these files once completed:

__Installer
autorun.inf
Setup.exe
Setup-1a.bin
Setup-1b.bin
Setup-1c.bin
Setup-2a.bin
Setup-2b.bin


I state that I used CI 8.2.6

because you need Setup.ini and Setup.cab also.

lupetto77 26-04-2012 13:22

yener90 thanks I had to add the 2 files you said to me more Setup.dll if not wrong ...

Th3Raven 26-04-2012 19:01

Quote:

Originally Posted by lupetto77 (Post 402149)
yener90 thanks I had to add the 2 files you said to me more Setup.dll if not wrong ...

Yes you have to copy the Setup.dll; setup.cab; setup.ini where you have the setup.exe file and the other files.

mehrdad 27-04-2012 03:13

hi yener ihave problem with setup.ini.when i created setup not install directx,....
and dont want silent install.

darshana 27-04-2012 04:46

@yener90

Hey bro,Awesome work with the installer.

BTW I noticed that it is possible to add "precomp" & "srep" compression to freearc directly in freearc so that freearc does all the things including the compressions of precomp and srep.peterf1999 had used it to his "syndicate" installer.Is it possible to add it to your installer. And also background video(avi) instead of slideshow in his syndicate installer also seems so cool.

pakrat2k2 27-04-2012 06:02

darshana its already there ( precomp/srep) look here
http://fileforums.com/showthread.php?t=92805

alias-as 27-04-2012 06:42

hi :)
i wnna know how to write this reg information in inno

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Codemasters]

[HKEY_LOCAL_MACHINE\SOFTWARE\Codemasters\F1 2011]
"PATH_APPLICATION"="C:\\Program Files\\Codemasters\\F1 2011\\"
"LANGUAGE"="1036"
"locale"="1036"

and i want to change "PATH_APPLICATION"="C:\\Program Files\\Codemasters\\F1 2011\\" by the game path whitch i chose in installation.
please

AND
what shall i put here in LaunchArg to (silent) install OpenAL and Rapture3D (OpenALwEAX.exe + rapture3d_2.4.9game.exe)

LaunchCom3=redist\OpenAL\OpenALwEAX.exe + redist\Rapture3D\rapture3d_2.4.9game.exe
LaunchArg3=???

pakrat2k2 27-04-2012 16:23

look up 1 post all the information needed is written in tutorial post

for each additional program to install look at end of setup.ini Launch settings

directx = launch1
openal = launch2
rapture3d = launch3
etc up to 8 programs if needed, again all this is listed in link i posted above your post.

alias-as 28-04-2012 00:58

thnx so much pakarat2k2 you are always here helping people :) but:

1- I Tried using yener's tutorial (regestry part) but i faild i dont know where exactly so if you can give the right reg in inno to compare with mine, here is it:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Codemasters]
[HKEY_LOCAL_MACHINE\SOFTWARE\Codemasters\F1 2011]
"PATH_APPLICATION"="C:\\Program Files\\Codemasters\\F1 2011\\"
"LANGUAGE"="1036"
"locale"="1036"

2- i know bro how to put additionat programs but what i don't know is their silent installation code LaunchArg3=???
thnx again

Ademarpato 28-04-2012 05:18

Hello, alias-as
To register make this section as follows;

[Registry]
Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\{code:GetAppName} "; ValueName: PATH_APPLICATION; ValueData: {app}; ValueType: string; Flags: UninsDeleteKey;

Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\{code:GetAppName} "; ValueName: LANGUAGE; ValueData: 1036; ValueType: string; Flags: UninsDeleteKey;

Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\{code:GetAppName} "; ValueName: locale; ValueData: 1036; ValueType: string; Flags: UninsDeleteKey;


Your setup.ini should look like;
[InstallOptions]
ApplicationName=F1 2011
Publisher=Codemasters


To better understand;
HKLM is the default key HKEY_LOCAL_MACHINE
ApplicationName=F1 2011 is the {code:GetAppName}
Publisher=Codemasters is the {code:GetAppPublisher}


Then you have the record;
"HKEY_LOCAL_MACHINE\SOFTWARE\Codemasters\F1 2011"

{app} is the installation location of the User selects, from what I understand PATH_APPLICATION the key is to define where the game is installed, so it can change depending on where the User to install the game.

If Win is 64 bit it will automatically add the correct key for the 64.

Language and Locale as I understand it is to set the language, 1036 = France? :D
If you do only one language is ready ... just save the script and compile it to create Setup.exe with the new settings.

alias-as 28-04-2012 05:54

Ademarpato
i don't know how to thank you brother ... really you helped me a lot thanks to now i can write regestry info in inno by my self :D
and yes 1036=France lol i'm french so i need only french language :p

Ademarpato 28-04-2012 07:27

Then you're ready to part of the record...
To make the silent OpenAL try ​​to put in;
LaunchArg3=/s

To try putting 3D Rapture so;
LaunchArg4=/silent

You need to separate the Rapture OpenAL, will be 2 launch...

pakrat2k2 28-04-2012 09:22

thanks for stepping in Ademarpato i was writing out just what you replied with, so i dont need to ;)


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

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