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)

yener90 07-09-2012 04:12

UPDATE 8.5.6.0 BETA
- Setup.cab Cryption added
-> Put the contents of Setup.cab to the blank Setup folder
-> Launch "Setup.cab Cryptor.exe", define password and press Crypt
-> Setup.cab files will be only editable using your defined password
- Setup.cab & Setup.ini integration added
-> Put the contents of Setup.cab to the blank Setup folder
-> delete ; by #define Internal and compile (do it for Langscript.iss AND InstallerScript.iss) then you will be independend
- Sytem Requirement page added
Code:

[SystemRequirement]
ProcCore=2 <- minimum processor cores for dual 2 for quad 4 etc
ProcFreq=2600 <- minimum processor frequency
RAM=3000 <- minimum ram space in mb
VideoRAM=512 <- minimum video ram space in mb
WinVerMajor=5 <- minimum windows version
WinVerMinor=1 <- minimum windows version
ServicePack=3 <- required service pack for the minimum windows version

-> to disable it just delete the whole section

lil info about windows version:
on the german wikipedia version you can see the whole numbers
http://img694.imageshack.us/img694/4...owsversion.jpg
WinVerMajor is the first number
WinVerMinor is the number after the point

kassane 07-09-2012 06:49

Thx yener!! I'll test it.... :D

REV0 07-09-2012 07:30

Hi yener, cryption works, however;

1. Crypted files can be deleted
2. They can be overwritten

But extraction is not possible, which is enough for the moment :) Cheers

Fabioddq 07-09-2012 08:24

Hi yener, about translations in portuguese brasil use in:

System Check --> Verificação de Sistema

thanks! :D

EDIT:

yener, i have a problems with new CI:

2 - After compile (after delete ; #define Internal for creation Setup.cab & Setup.ini integrated)

and run Autorun.exe or Setup.exe i get this error: Runtime Error (at 539:2187): The file is already being used in another process

I try convert autorun to dll but the same error.

Any idea? Thanks for help!

yener90 07-09-2012 10:16

thx for the feedback will analyze it.

rev0
dont understand exactly?
does the setup not work?

added to much features....couldnt test properly :D
please use one music.mp3 otherwise problem can happen.

REV0 07-09-2012 10:50

Quote:

Originally Posted by yener90 (Post 406185)
thx for the feedback will analyze it.

rev0
dont understand exactly?
does the setup not work?

added to much features....couldnt test properly :D
please use one music.mp3 otherwise problem can happen.

It's working but, if you open setup.cab, you can delete the contents and overwrite them, including pass protected ones.

But, you cant extract pass protected files, means it's working but it lacks anti overwrite and anti delete functions

REV0 07-09-2012 16:03

BTW, music.mp3 in setup folder is not working anymore, it's not related pass protection, during autorun is working but, during splash is not

mikey26 08-09-2012 02:11

Hi yener the precomp:inside is not in the setup ini must we manually put in there or is it not neccesary anymore.in the lastest CI.

yener90 08-09-2012 03:11

i deleted for my example conversion.
just insert it again.

Fabioddq
you used Music.mp3 in two folders?
Main folder -> music will be played in Autorun AND Setup
in Setup folder -> music will be play ONLY in Setup

if you put in both paths it will make conflict.

yener90 08-09-2012 03:50

UPDATE 8.5.6.1
- fixed music bugs
- updated translations (thx to providers :D)

amin fear 08-09-2012 04:32

Dear yener90 ... Here it is ... please Update The Persian Lang

Code:

Extracting=درحال استخراج %1 ...
Elapsed=سپری شده
Remaining=باقی مانده
Hours=ساعت ها
Hour=ساعت
Minutes=دقیقه ها
Minute=دقیقه
Seconds=ثانیه ها
Second=ثانیه
SystemPageTitle=چک کردن سیستم
ReqSuccess=سیستم شما با حداقل نیازهای سخت افزاری سازگاری دارد
ReqNoSuccess=سیستم شما با حداقل نیازهای سخت افزاری سازگاری ندارد
Processor=پردازشگر
RAM=حافظه موقت - رم
VideoCard=کارت گرافیک
System=سیستم عامل

Thanks for your HARD work !

Fabioddq 08-09-2012 08:59

Quote:

Originally Posted by yener90 (Post 406215)
i deleted for my example conversion.
just insert it again.

Fabioddq
you used Music.mp3 in two folders?
Main folder -> music will be played in Autorun AND Setup
in Setup folder -> music will be play ONLY in Setup

if you put in both paths it will make conflict.

yes, i put! kkkkkkkkkkkk :eek:
Sorry, I didn't know! :p
Now works perfectly! Thanks yener! :D

kassane 08-09-2012 09:22

Quote:

Originally Posted by mikey26 (Post 406213)
Hi yener the precomp:inside is not in the setup ini must we manually put in there or is it not neccesary anymore.in the lastest CI.

Hey friend, copy my script setup.ini organized and paste on top of your setup.ini!

My Setup.ini CI 8.5.6.1 (Organized)
Code:

[InstallOptions]
MyExecutableName=ASMLauncher.exe
ApplicationName=The Amazing Spider-Man
Publisher=Activision
MyExecutablePath=
SaveGameFolder=
Lang=de,en,es,fr,it,ru,tr,prbr
LangUI=0
PrecompVer=inside
GameSize=8460
Password=39337020792232108662594104415120
Editor=yener90

[SystemRequirement]
ProcCore=2
ProcFreq=2600
RAM=3000
VideoRAM=512
WinVerMajor=5
WinVerMinor=1
ServicePack=3

[InstallSettings]
GDFBinary=Game.dll

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

[InterfaceSettings]
Button2Width=300
Button2Height=29
InstallerWidth=900
ButtonWidth=300
ButtonHeight=29
Button3Width=300
Button3Height=29
Button4Width=300
Button4Height=29
TextPositionTop=128
TextPositionLeft=10
Button1Left=560
Button1Top=230
Button2Left=595
Button2Top=270
InstallerHeight=500
BackgroundWidth=1280
BackgroundHeight=720
ProgressBarHeight=12
MoveProgressBarLabel=0
SmallInstallerWidth=500
SmallInstallerHeight=200
TextPositionWidth=550
TextPositionHeight=326
MoveDirectoryInfo=0
MoveProgressBar=4
Button3Left=595
Button3Top=310
Button4Left=560
Button4Top=350
SmallButtonWidth=100
SmallButtonHeight=29
SmallButton2Width=100
SmallButton3Width=100
SmallButton2Height=29
SmallButton3Height=29
ProgressBarLabelColor=$FFFFFF
ShowBGFullscreen=0
SmallInstallerFontColor=$FFFFFF
SmallButtonFontSize=9
TextSpaceFromBorder=35
ButtonFont=Amazing Spider Man CI
ButtonOneLiner=1
ButtonFontSize=10
ButtonFontUC=0
ButtonFontBold=0
ButtonFontColor=$D8D8D8
ButtonFontColorOnMouse=$FFFFFF
ButtonFontColorMouseDown=$000000
ButtonFontColorDisabled=$FFFFFF
LogoLeft=39
LogoTop=14
LogoWidth=500
LogoHeight=113
SetupFont=Helvetica Neue LT Std
SetupFontSize=1
SetupFontColor=$FFFFFF
TextCenter=1

//The part AutorunSettings is only required, if you enabled EnableAutorunMenu=1
[AutorunSettings]
AutorunWidth=600
AutorunHeight=500
MusicLeft=542
MusicTop=446
MusicWidth=48
MusicHeight=48
LangBoxCenter=1
LangBoxLeft=0
LangBoxTop=11
PlayLeft=300
PlayTop=240
Play2Left=0
Play2Top=0
Play3Left=0
Play3Top=0
InstallLeft=300
InstallTop=290
ExitLeft=300
ExitTop=340
ButtonWidth=300
ButtonHeight=29
Button2Width=300
Button3Width=300
Button4Width=300
Button5Width=300
Button2Height=29
Button3Height=29
Button4Height=29
Button5Height=29
ButtonFont=Amazing Spider Man CI
ButtonFontUC=0
ButtonFontColor=$F2F2F2
ButtonFontColorOnMouse=$FFFFFF
ButtonFontColorMouseDown=$000000
ButtonFontColorDisabled=$7F7F7F
ButtonFontSize=10
ButtonFontBold=0
RoundedCornerX=50
RoundedCornerY=50

[LauncherSettings]
InstallRedist=1

Launch1=.NET Framework 3.5
Launch164=0
Launch1BeforeInstall=1
LaunchCom1=redist\dotnetfx35_SP1.exe
LaunchArg1=/q:a /q /norestart

Launch2=Visual C++ 2008 x86
Launch264=0
Launch2BeforeInstall=1
LaunchCom2=redist\vcredist_x86.exe
LaunchArg2=/q:a

Launch3=DirectX
Launch364=0
Launch3BeforeInstall=1
LaunchCom3=redist\DirectX\DXSETUP.exe
LaunchArg3=/silent

To enable Precomp, change the command {PrecSrep:0 => PrecSrep:1}

Yener90: as I use that password?
Code:

Password = 39337020792232108662594104415120
And also how to use the Setup.cab Cryptor?
I drag the Setup.cab it and then appears an error and deletes my setup.cab! :(

mikey26 08-09-2012 09:54

hi kassane thx mate much appreciated.but a far as i know the new CI u dont need to add {PrecSrep:0 => PrecSrep:1} anymore

Fabioddq 08-09-2012 09:59

Quote:

Originally Posted by kassane (Post 406234)
Hey friend, copy my script setup.ini organized and paste on top of your setup.ini!

Yener90: as I use that password?
Code:

Password = 39337020792232108662594104415120
And also how to use the Setup.cab Cryptor?
I drag the Setup.cab it and then appears an error and deletes my setup.cab! :(

You must extract your Setup.cab in the Blank Setup folder. After run Setup.cab Cryptor and choose your password. ;)

Fabioddq 08-09-2012 10:40

yener, Setup.cab and Setup.ini integrated works great! :D

would be possible to accomplish this integration without extracting setup.cab in an empty folder (blank Setup folder)?
Because if the conversion is posted here in fileforums. The user will not be able to extract the contents of Setup.cab because the password so he can not accomplish this integration.

Another point:

After install the game, i go to the game installation folder and all background images were there between the game files! The installer extract the images (1.jpg, 2, 3 ...) to the game folder together with the game files.

I used CI 8.5.6.1 with internal installation (Darksiders II) and external installation (Trine Collection). Look:

https://lh3.googleusercontent.com/-g...1920/error.jpg

mikey26 08-09-2012 11:23

Hi yener when using precomp somethime it crashes and u have to add in -i and the position number it crashed at is the a easy way of doing this and sometimes it can crash like 20 time before precomp is complete and that is painfull creating a bat file and -i switch everytime there is a crash in precomp so it can skip that position.as this can take ages to do and u have to sit and watch the conversion all the time.

shanrq 08-09-2012 14:11

system requirements read my i3 3.10GHz processor as quad core 3.0 .. can you update about this one? it's a bit lost detail i think.. i3 -> quad core, 3.10 -> 3.0

yener90 09-09-2012 06:37

Quote:

Originally Posted by shanrq (Post 406242)
system requirements read my i3 3.10GHz processor as quad core 3.0 .. can you update about this one? it's a bit lost detail i think.. i3 -> quad core, 3.10 -> 3.0

it reads info that given by system ;)
AND it doesnt round up.
if you cpu runs currenty 3.09 it will show 3.0

UPDATE 8.5.6.2
- fixed copying of background images

Fabioddq
fixed your second problem
unfortunately internal + crpyting will not work.
im using inno preprocessor features for internal.
it doesnt support such features.

Fabioddq 09-09-2012 07:52

Quote:

Originally Posted by yener90 (Post 406251)
it reads info that given by system ;)
AND it doesnt round up.
if you cpu runs currenty 3.09 it will show 3.0

UPDATE 8.5.6.2
- fixed copying of background images

Fabioddq
fixed your second problem
unfortunately internal + crpyting will not work.
im using inno preprocessor features for internal.
it doesnt support such features.

Ok, thanks for the update! :D

kassane 09-09-2012 08:03

Thanks yener90, I was having the same kind of problem that fabioddq!
Now is great...

amin fear 10-09-2012 02:21

RTL Inno Form
 
1 Attachment(s)
Thanks Yener90 For Updating The Translation...

just a Suggestion :

by adding the " RightToLeft=yes " Line to " farsi.isl " Language File , the inno setup form will be Right To Left ... but because of exact location of buttons by your custom installer the RTL text will be left & your buttons will be on right ...

do you have an idea & solution for this ?

is it possible to implement a code to handle this ?

take a look at attachment

------------------------
anyway thanks for your effort...

mikey26 10-09-2012 04:50

hi yener how do i get the autorun.exe to work with the setup.ico like the setup.exe.
thx in advanced mate

yener90 10-09-2012 09:50

just compile Langscript.iss

NamelessOne 10-09-2012 10:49

1 Attachment(s)
Hey, yener, I have a problem when I try to merge setup folder and setup.ini into main exe. The background music is playing but I get this message

Attachment 3990

Any thoughts? I've compiled language and installer scripts.

yener90 10-09-2012 11:45

where was setup.ini while compiling?

NamelessOne 10-09-2012 12:01

It's in the root folder (the one where I've extracted your script). I'm not sure what's wrong because I've done conversion of I Am Alive with no problems. Setup.cab and setup.ini were integrated into the setup. Now I'm trying to do Mass Effect 3 and I keep getting this error. I even tried to change setup.ini location, to put it in Setup folder and change its location in your script but nothing. Strange :confused:

thedarkman 11-09-2012 04:55

Hi yener90's, thanks for great innosetup source code :D

i'm just report bug, in CI 8.5.6.2 when using internal installer + not using background
progress bar is running perfectly, but not the precent

screenshot = http://s9.postimage.org/er90sljcb/image.jpg

how to fix this? thanks :D
(sorry for my bad english)

yener90 11-09-2012 05:03

Quote:

Originally Posted by NamelessOne (Post 406294)
It's in the root folder (the one where I've extracted your script). I'm not sure what's wrong because I've done conversion of I Am Alive with no problems. Setup.cab and setup.ini were integrated into the setup. Now I'm trying to do Mass Effect 3 and I keep getting this error. I even tried to change setup.ini location, to put it in Setup folder and change its location in your script but nothing. Strange :confused:

could you send me all the files?
per pm :)

Quote:

Originally Posted by thedarkman (Post 406312)
Hi yener90's, thanks for great innosetup source code :D

i'm just report bug, in CI 8.5.6.2 when using internal installer + not using background
progress bar is running perfectly, but not the precent

screenshot...

how to fix this? thanks :D
(sorry for my bad english)

analyzing

next version:
- update persian
- righttoleft support
- fix next label
- fix progressbar percentage

yener90 11-09-2012 06:23

Quote:

Originally Posted by amin fear (Post 406272)
Thanks Yener90 For Updating The Translation...

just a Suggestion :

by adding the " RightToLeft=yes " Line to " farsi.isl " Language File , the inno setup form will be Right To Left ... but because of exact location of buttons by your custom installer the RTL text will be left & your buttons will be on right ...

do you have an idea & solution for this ?

is it possible to implement a code to handle this ?

anyway thanks for your effort...

http://img651.imageshack.us/img651/8903/previewecm.jpg

i hope its enough :P

Fabioddq 11-09-2012 08:17

Quote:

Originally Posted by yener90 (Post 406304)
i know what he means...
welcome page last line...didnt realize it xD

the bigger issue....why service pack 1D for your system :o
i will look exactly whats causing this problem.

Don't worry about this yener. This is a bug in my system when I used a remove WAT. Look at this picture from my system properties and you'll see that it also has "D". kkkkkkkkkkkk :eek:

https://lh3.googleusercontent.com/-5.../s1920/Bug.jpg

About welcome page last line, I also never realized! :D

yener90 11-09-2012 09:37

dont publish any work using currently 8.5.6.0 and newer....
i realized play button problem in autorun.

already solved it.
i will bring out a hotfix later.

Fabioddq 11-09-2012 10:05

Quote:

Originally Posted by yener90 (Post 406334)
dont publish any work using currently 8.5.6.0 and newer....
i realized play button problem in autorun.

already solved it.
i will bring out a hotfix later.

yes, you right! The play button not working and uninstall button not appears.
Thanks for the info anyway. :D

yener90 11-09-2012 10:33

i need new translation:
Quote:

ClickIT=Click an Installation Type to continue, or Cancel to exit Setup.
Thanks :D

RightToLeft Support is pretty long work to finish, therefore i will pause it currently and solve the problems...

REV0 11-09-2012 10:40

FR:
''Cliquez sur l'un type d'installation pour continuer, ou cliquez sur Annuler pour quitter l'installation.''

TR:
''Devam etmek için yükleme türünü seçin, ya da Setup'tan çıkmak için İptal Et'e tıklayın.

*Setup = Yükleyici de olur hangisi daha TR görünüyorsa sana :D

Fabioddq 11-09-2012 11:05

Portuguese Brasil:

Clique em um tipo de instalação para continuar, ou em Cancelar para sair da instalação.

NamelessOne 11-09-2012 11:26

Hi, yener. I need to apologize for my stupidity :o The error was on my behalf because I overlooked one little thing (version of LangScript.iss didn't match the InstallerScript.iss hence the problem with the setup.ini). Now to the translation :D

Bosnian
Code:

Klikni na Tip instalacije za nastavak ili Otkaži za izlaz iz instalacije.
You can use this translation for Serbian and Croatian as well.

P.S.
Does this mean you're gonna integrate additional installations in your script (which we can use for optional mods for example or something like that)?

REV0 11-09-2012 11:39

Quote:

Originally Posted by NamelessOne (Post 406349)
Does this mean you're gonna integrate additional installations in your script (which we can use for optional mods for example or something like that)?


I think it's for Custom and Default Installation selections.

yener90 11-09-2012 13:50

thx for the translations :D
yes revo is correct.

yener90 11-09-2012 15:27

UPDATE 8.5.6.3 Hotfix
- fixed autorun
- updated persian
- fixed next button click label
- fixed progressbar label in no background mode
- added RightToLeft for persian language support...currently finished 30%
-> RightToLeft for persian language currently not finished...please wait for next version


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

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