FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   altef_4's installer (https://fileforums.com/showthread.php?t=93899)

altef_4 12-12-2012 06:33

altef_4's installer
 
2 Attachment(s)
Hello everyone! Here you can get my Enhanced installer.

For compile it you mustn't have Inno Setup for v2.3.1.5_RC3 because, all necessary files are in archive
this is RC and BETA versions, so can be bugs, if you find it - report back, i'll fix it ;)

main information about this installer:

-installer supports many languages
-internal and external compression
-Inno Setup 5.5.4u and higher versions support (lower versions not supported, ANSI - not tested)
-all configs are in external ini file
-all code was write by me, some ideas was taken from others scripts or examples (more info next)
-installer is vary customisable, you can change size of all forms, size and position of all controls, choose visual style,
use your own fonts in installer, change all graphics, add unlimited count of tasks, choose priority of installation process, use information and license files for every language, and many others.
-standart borders (standart form + jpg image background), one or many images for every form
-transparent borders (png image + bmp mask)
-extended borders for Win7/8
-skin support
-video or/and slideshow during installation
-animated or/and simple splash
-music during installation process
-sounds for events of buttons
-three kinds of buttons (standart(one file for button with four button states), simple(four files for button with four button states), animated(temporary disabled))
-three types of progress bar (Windows standart, textured(two png images),animated(two png images))
-winvista/7/8 taskbar preview
-shadow for text

copyrights:

Inno Setup 5.5.4u....................by Jordan Russell
b2p.dll[0.3.9.2].......................by Vo1T
bp.dll[0.0.3.2].........................by altef_4
bass.dll[2.4.10.0].....................by Un4seen Developments
CallbackCtrl.dll[1.1.0.0].............by Restools
Botva2.dll[0.9.7.151]................by South.Tver
dwmEnabled.dll[1.0.0.0]............by Gnom
ImageAnimator.dll[1.0.0.1].........by Tlama (edited by altef_4 (ANSI and UNICODE support, graphic protection))
ISDone[0.6.0.0]final .................by ProFrager
ISMediaLib.dll[1.2.0.2]...............by altef_4 (based on InnoMediaPlayer 0.03 by Tlama)
isgsg.dll[0.6.0.69].....................by South.Tver
IsSkinEx.dll[3.0.0.2]..................by Codejock Software
IsUtils.dll[1.0.0.0].....................by ExpeditorR
IsWin7.dll[0.5.0.0]....................by Vo1T
pckr.dll[1.1.9.9].......................by altef_4
ReDrawText[1.5e] ...................by Shegorat edited by altef_4
WinTB.dll[1.0.0.8]....................by David.D.Rocco
ideas, that was taken from others:

-simple and animated buttons - yener90
-compact language bar - yener90
i was take only ideas, script code fully writed by me (i don't copy from his scripts)
-and some others ideas taken from internet
p.s. if i forgot somethink, please, report to me :)

light tutorial:

for create conversion of PC game based on this installer, you must:
-edit Installer.ini (set App name, versions and others)
-edit graphic that located in Graphics folder
-choose, options in Mini_Designer (visual, buttons type and others)

internal compression tutorial: PART1 (for editor)

-you must have completed installer.ini and all graphic, fons, video, license, info, sound files
-run Mini_Designer, and check if it runed in DEBUG mode (it's always run in DEBUG mode except if Installer.ini not in the same folder)
-click Create Data.db and wait
-close Mini_Designer
-now you can upload Data.db without Installer.ini, dll files, graphic, sound, videos, fonts only Data.db, Icon.ico, and license, info files (and, if you use, Registry.iss)

internal compression tutorial: PART2 (for user)

-you must have base files and folders from this installer (folders: IS_Files, Languages, Text; files: Mini_designer.exe)
-download Data.db, and other files (nessesary files in instructions for editors)
-copy this files to your folder with base files and folders
-rename or remoove Installer.ini if exists
-open Mini_Designer and if you was correct in previous steps you can click Create EI.exe
-click this button and wait, whan it will be done - you will be informed about it
p.s this part is also for editors who use External compression

supported languages:

completed:
-Albanian (Original IS translation + some part translated by tonet666 and oltjon)
-English (Original IS translation + some part translated by me)
-German (Original IS translation + some part translated by mausschieber)
-Hungarian (Original IS translation + some part translated by georg1136)
-Russian (Original IS translation + some part translated by me)
-Spanish (Original IS translation + some part translated by Logrim)
-Ukrainian (Original IS translation + some part translated by me)

not completed:
Bosnian, Bulgarian, Brazilian Portuguese, Belarusian, Chinese Traditional, Czech, Danish, Estonian, Finnish, French, Greek, Croatian, Indonesian, Icelandic, Italian, Japanese, Korean (North), Korean (South), Lithuanian, Luxemburgish, Latvian, Montenegrian, Macedonian, Mongolian, Malaysian, Norwegian, Polish, Portuguese, Romanian, Serbian Cyrillic, Swedish, Slovenian, Slovak, Thai, Turkish, Vietnamese.
all of this translation are based on original Inno Setup language files, so, thanks to all autors of this translations.
- if you want to complete some of this translations - just open language file of desired language with any text editor, and change it.

Change log: here

latest beta version uploaded (source code included)

Pack of old versions(only scripts)

amin fear 12-12-2012 17:23

@altef_4

Thanks...your source code is amazing !
very well structured & organized.

ask the admin to make this topic sticky !

altef_4 13-12-2012 01:27

ChangeLog:
 
Code:

[2.2.9.9]
- added ability to change position of backgrounds on all pages(MainFormBckGnd1.png, MainFormBckGnd2.png, MainFormBckGnd3.png).
- fixed ability to disabled some of installer languages.

[2.3.0.0]
 -added animated splash screen

[2.3.0.1]
 -progress bar was fully reworked
 -added right to left animation for progress bar
 -added ability to make conversion without FreeArc
 -fixed bug with FreeArc DestDir
 -fixed bug with 4th arc archive
 -fixed bug with shadow of the text on dir select page
 -was held small optimization

[2.3.0.2]
 -added 3 installer background types
 -added few new parameters to installer.ini
 -was held small optimization

[2.3.0.3]
 -added ability to use video to installer
 -added small installer
 -reworked Installer.ini
 -added few new parameters to installer.ini
 -reworked slideshow module
 -fixed ability to install .msi packeges
 -few small fixes

[2.3.0.4]
 -added graphic protect module (b2p.dll)
 -added skin support

[2.3.0.5]
 -all parameters are in Installer.ini
 -added transparent borders support to installer
 -added debug function (creating installer script without ISPP)
 -fixed video support
 -added new parameters to Installer.ini
 -reworked uninstaller

[2.3.0.6]
 -added full isdone support
 -added ability to extract unlimited numbers of archives
 -added transparent effect to installer (don't work with transparent borders)
 -added Enhanced Edition check
 
[2.3.0.7]
 -added animated buttons(beta)
 -now you can use 4 simple images for 1 button
 -fixed few bugs with ISDone progress bar
 -was held small optimization for glass borders
 -added another installer running check
 -added to system menu line "Credits" with information about creator, graphic autor, used libraries, translation autors
 -installer.ini now reads from memory buffer (only when installing)
 -registry section now in "Registry.iss" that located in the same path as EI_Script
 
[2.3.0.8]
 -added Inno Setup ANSI version support
 -added Persian translation (by amin fear)
 -added 4 fonts support to installer(one to main text, one to little text, one to buttons and last one to edits)
 -all custom fonts located in memory (previously font was located in system temp folder)
 -added ability to change font size to main, little, buttons and edits text
 -fixed bug with ISDone(read ini file error)
 -added autoscalling depending on windows dpi
 -fixed huge bug with animate buttons (reworked all buttons system)
 -language change temporary disabled (many bugs)
 -was held huge optimization

[2.3.0.9]
 -script code was very optimized(~5000 lines was removed without loosing abilities of installer!)
 -animated buttons was reworked again(i hope that was last time) because was found another huge bug (out of globals vars range and too many timers!!!)
 -fixed button animation
 -autorun and setup now in one script
 -callbackctrl.dll was removed from script (was found another solution)
 -Installer.ini was optimized
 -win7tbp now work correct
 -slideshow and video modules was reworked
 -ImageAnimator was changed to modified version
 -removed DXVideo.dll and MediaPlayer.dll (changed to ISMediaLib.dll, my first library)

[2.3.1.0]
 -soft section in installer.ini was changed to more compact
 -reworked language change method
 -added ability to add license and readme files to every language

[2.3.1.1]
 -fixed icons section
 -added unlimited numbers of tasks support
 -added unlimited numbers of shortcuts support
 -added 25 languages support(beta)
 -optimized languages code
 -added glow effect to animate buttons
 -added xdelta3 support(original ISDone6.f)
 -reworked ISDone section(+some fixes)
 -autorun will be always turned on
 
[2.3.1.2]
 -only 10 languages will be in this version
 -detection of languages count was fixed
 -language box is again enabled (with new animation and customizible count of visible items)
 -BASS updated to version 2.4.10.0
 -added bp.dll(BASS Protect library) by altef_4
 
[2.3.1.3]
 -added ReDrawText v.1.5e module by Shegorat (edited)
 -script code optimization
 -reworked System Req. page
 -reworked Harddrive info
 -reworked all text in installer
 -IsMediaLib.dll and bp.dll was updated
 -fixed small bugs
 -fixed ANSI support (some bugs still present)

[2.3.1.4]
 -installer script now protected with my Inno Setup Script Protect Project
 -fixed Tasks section
 -added extract info (current file, elapsed and remaining time, and current percent) (only to ISDone for now)
 -fixed Transparent Borders
 -reworked Splash module
 -updated ImageAnimator.dll
 -reworked backgrounds
 -BACKGROUNDSTYPE 2 - removed
 -added pckr.dll library
 -fixed Video support
 -sound files for button events now in mp3 format (used BASS.dll)
 
[2.3.1.5] (trying to add support of Original Inno Setup)
 -added Inno Setup 5.5.4u support
 -changed langbar animation
 -fixed simple buttons
 -fixed bug when installer delete whole HKLM\Software section in registry
 -TTimer changed to SetTimer|Killtimer
 -CallBackaddr was changed back to function wrapcallbackaddr from callbackctrl.dll
 -removed from system menu line "Credits"
 -added extract info (current file, percent) for Internal installation
 -added support to use unlimited fonts in installer
 -installer support only Inno Setup 5.5.4u
 -added ability to change font size, color, and name for any TLabel and TEdit
 -language section was reworked
 -Info Before and License File must have .txt extention
 -animated buttons temporary disabled (fix needed)
 -installer supports 5 languages (English, Hungarian, Russian, Spain, Ukrainian)
 -small fixes


[2.3.1.5_RC1-RC2]
 -installer now support 43 languages
 -German translation status -100% thanks to mausschieber
 -updated pckr.dll to 1.1.9.8 version
 -few small changes
 
[2.3.1.5_RC3](actual info on 16.02.2014)
 -Albanian translation ststus - 100% thanks to oltjon and tonet666
 -updated pckr.dll to 1.1.9.9 version
 -updated bp.dll to 0.0.3.2 version
 -fixed errors with button events sounds thanks to Inge for info
 -added AutochangeInterval for slideshow in Installer.ini
 -added few parameters for Internal compression
 -added DEBUG and RELEASE parameters to Mini_Designer

[2.3.1.6] beta, last update!

 -Italian translation status - 100% thanks to oltjon
 -added opacity to License and Info viewers
 -pckr.dll updated to 1.2.0.0 version
 -improved installer speed
 -added dynamic fon to autorun


pakrat2k2 13-12-2012 15:55

add that you NEED BOTH sets of files to TOP of first post.

altef_4 14-12-2012 03:34

Added 2nd part of tutorial.

altef_4 16-12-2012 03:04

Added 3rd part of tutorial

altef_4 17-12-2012 03:25

Installer script and tutorial updated [17.12.2012]

amin fear 19-12-2012 14:13

Quote:

Originally Posted by altef_4 (Post 412038)
Installer script and tutorial updated [17.12.2012]

you forgot to include the " isgsg.dll " library in your last update...check your dll folder ... it gives error when compiling ... i copied it from your previous upload ...

altef_4 01-02-2013 14:01

Working on new update of my installer, and now add splash screen fix to 2.2.9.9 version (i know this is too late),
this is change log for new one:

2.3.0.0

-added animated splash screen

2.3.0.1

-progress bar was fully reworked
-added right to left animation for progress bar
-added ability to make conversion without FreeArc
-fixed bug with FreeArc DestDir
-fixed bug with 4th arc archive
-fixed bug with shadow of the text on dir select page
-was held small optimization


2.3.0.2

-added 3 installer background types
-added few new parameters to installer.ini
-was held small optimization


2.3.0.3

-added ability to use video file to installer
-added small installer
-reworked Installer.ini
-added few new parameters to installer.ini
-reworked slideshow module
-fixed ability to install .msi packeges
-few small fixes


2.3.0.4

-added graphic protect module (b2p.dll)
-added skin support


test version 2.3.0.4 uploaded!

amin fear 23-03-2013 09:03

2 Attachment(s)
Thanks for update...

when I compile the 2.3.0.4 & click on "Settings/System Req" this errors appears :

pakrat2k2 23-03-2013 09:28

gonna have to take a look thru this now, somehow missed its updates

altef_4 23-03-2013 09:50

Quote:

Originally Posted by amin fear (Post 415763)
Thanks for update...

when I compile the 2.3.0.4 & click on "Settings/System Req" this errors appears :

this is test upd, and this error from skin support (i think), will be fixed :)

altef_4 16-05-2013 12:18

OK, i decide to upload latest version(beta) of my installer, many futures, many changes, and still have some bugs, some modules are working, some - no, besides, now i haven't many free time to complete it.
Change log:
[2.3.0.5]

-all parameters are in Installer.ini
-added transparent borders support to installer
-added debug function (creating installer script without ISPP)
-fixed video support
-added new parameters to Installer.ini
-reworked uninstaller


[2.3.0.6]

-added full isdone support
-added ability to extract unlimited numbers of archives
-added transparent effect to installer (don't work with transparent borders)
-added Enhanced Edition check


[2.3.0.7]

-added animated buttons(beta)
-now you can use 4 simple images for 1 button
-fixed few bugs with ISDone progress bar
-was held small optimization for glass borders
-added another installer running check
-added to system menu line "Credits" with information about creator, graphic autor, used libraries, translation autors
-installer.ini now reads from memory buffer (only when installing)
-registry section now in "Registry.iss" that located in the same path as EI_Script


[2.3.0.8]

-added Inno Setup ANSI version support
-added Persian translation (by amin fear)
-added 4 fonts support to installer(one to main text, one to little text, one to buttons and last one to edits)
-all custom fonts located in memory (previously font was located in system temp folder)
-added ability to change font size to main, little, buttons and edits text
-fixed bug with ISDone(read ini file error)
-added autoscalling depending on windows dpi
-fixed huge bug with animate buttons (reworked all buttons system)
-language change temporary disabled (many bugs)
-was held huge optimization


[2.3.0.9]

-script code was very optimized(~5000 lines was removed without loosing abilities of installer!)
-animated buttons was reworked again(i hope that was last time) because was found another huge bug (out of globals vars range and too many timers!!!)
-fixed button animation
-autorun and setup now in one script
-callbackctrl.dll was removed from script (was found another solution)
-Installer.ini was optimized
-win7tbp now work correct
-slideshow and video modules was reworked
-ImageAnimator was changed to modified version
-removed DXVideo.dll and MediaPlayer.dll (changed to ISMediaLib.dll, my first library)


[2.3.1.0]
-soft section in installer.ini was changed to more compact
-reworked language change method
-added ability to add license and readme files to every language


[Used libraries and copyrights]

ISDone[0.6.0.0]final by ProFrager
b2p.dll[0.3.9.2] by Vo1T
bass.dll[2.4.9.0] by Un4seen Developments
Botva2.dll[0.9.7.151] by South.Tver
dwmEnabled.dll[1.0.0.0] by Gnom
ImageAnimator.dll[1.0.0.0] by Tlama (fixed by altef_4 (size, ANSI and UNICODE support))
ISMediaLib.dll[1.2.0.0] by altef_4
isgsg.dll[0.6.0.69] by South.Tver
IsSkinEx.dll[3.0.0.2] by Codejock Software
IsUtils.dll[1.0.0.0] by ExpeditorR
IsWin7.dll[0.5.0.0] by Vo1T
WinTB.dll[1.0.0.8] by David.D.Rocco

English, Russian, Ukrainian translations by altef_4
Persian(Farsi) translation by amin fear , thanks :)

i decide to make installer open to all (when it will be finished)
and admin or moderators, i can hope that in future i will see this thread sticky, if no - ok :)

nicola16 16-05-2013 15:28

link for Inno Setup 5.5.1 Unicode Enhanced Edition ???

pakrat2k2 16-05-2013 16:52

Quote:

Originally Posted by nicola16 (Post 418187)
link for Inno Setup 5.5.1 Unicode Enhanced Edition ???

use google & it lists it on krinkels.org ( translated into english from russian )


Razor12911 16-05-2013 21:54

1 Attachment(s)
Inno Setup Enhanced Unicode

Here is it for people who don't have it.

amin fear 16-05-2013 23:37

Inno Setup Ultra
 
2 Attachment(s)
So , for some of you guys who want to have an All In One compilation of Inno Setup Enhanced edition + all other tools + scripts + good stuffs , I suggest downloading Inno Setup Ultra compiled by Russians...

Main homepage :

Code:

http://innoultra.ru/
use GoogleTranslate to find download link...

Important notice : do not download Inno Setup Ultra from other unknown sources as it maybe contains viruses or other bad things...:D

The real size of Inno Setup Ultra installation file is about 55 MB...

Goodluck !

altef_4 18-05-2013 07:25

I forget to say, that tutorial is only for ver. 2.2.9.9, in new versions are many changes, i will change tutorial when(if) i finish installer :d

Razor12911 13-06-2013 15:47

1 Attachment(s)
Hi altef, spotted a bug while using your script at finish page.;)

Re: admin or moderators, i can hope that in future i will see this thread sticky.

If I were a moderator, I'd make this a sticky, good job and brilliant work.(*_*)
:D

pakrat2k2 13-06-2013 19:37

it's a VERY good source, that's been hidden away for way too long.

It's another option that has excellent written information on how-to, and once altef_4 has more time to fully document this, more users will actually use it.

For now I've made it a 'sticky' topic so its easily found.

Keep up the good work :)

sentinelks 14-06-2013 04:04

very good project I will use it for gta4-san andreas and future gta5
waiting for full version
thanks

altef_4 15-06-2013 05:41

Quote:

Originally Posted by Razor12911 (Post 419534)
Hi altef, spotted a bug while using your script at finish page.;)

Re: admin or moderators, i can hope that in future i will see this thread sticky.

If I were a moderator, I'd make this a sticky, good job and brilliant work.(*_*)
:D

i know this, but it's beta!

Lothan88 19-06-2013 17:41

This is the new Link for ISU 5.1

red01 08-07-2013 22:00

sorry for my silly question

this installer support internal compression or external compression?

altef_4 09-07-2013 03:37

Quote:

Originally Posted by red01 (Post 420779)
sorry for my silly question

this installer support internal compression or external compression?

v2.3.1.0 support both(with some bugs)

red01 09-07-2013 04:09

Quote:

Originally Posted by altef_4 (Post 420785)
v2.3.1.0 support both(with some bugs)

where is the option for internal compression in script (sorry i cant find it)?


and

i use the following method for external compression

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



how to configure this installer for above method?

altef_4 09-07-2013 06:33

Quote:

Originally Posted by red01 (Post 420787)
where is the option for internal compression in script (sorry i cant find it)?

to enable internal, change this key in installer.ini InternalSetup=Game_Folder

Quote:

Originally Posted by red01 (Post 420787)
and

i use the following method for external compression

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
how to configure this installer for above method?

Archive1Input={src}\data.cab
Archive1Output={app}\
Archive1UnpackType=0
Archive1DeleteInputAfterExtract=0
Archive1DiskNumber=1

Archive2Input={app}\data.srep
Archive2Output={app}\
Archive2UnpackType=4
Archive2DeleteInputAfterExtract=1
Archive2DiskNumber=1

Archive3Input={app}\data.pcf
Archive3Output={app}\
Archive3UnpackType=5
Archive3DeleteInputAfterExtract=1
Archive3DiskNumber=1

Archive4Input={app}\data.arc
Archive4Output={app}\
Archive4UnpackType=0
Archive4DeleteInputAfterExtract=1
Archive4DiskNumber=1

and ISDone=1

i think it's must work :)

red01 09-07-2013 22:59

1 Attachment(s)
i follow ur instruction about internal compression and it works.

next i open it with iss tool and change method of compression from none to Izma and ultra 64...then i try to compile it , it gives me an error ( i attached the pic).

i again open script with iss tool and change from izma to none but again same error
please have a look...

altef_4 10-07-2013 00:00

Quote:

Originally Posted by red01 (Post 420815)
i follow ur instruction about internal compression and it works.

next i open it with iss tool and change method of compression from none to Izma and ultra 64...then i try to compile it , it gives me an error ( i attached the pic).

i again open script with iss tool and change from izma to none but again same error
please have a look...

if you want change compression level, don't need to use istool or other tools, just open script, find line Compression= and InternalCompressLevel= and change it to
Compression=
zip
bzip
lzma/fast,normal,max,ultra,ultra64
none

InternalCompressLevel=
none
fast
normal
max
ultra
ultra64

red01 10-07-2013 01:18

During installation , there is only progress bar and nothing else.

is it possible to add time (eg. 2 minutes and 35 seconds remaining ) or some line (please wait while set up finish installing the game on ur system?

sorry for being a troublesome..

i copy a new .iss script and try your instructions. It works.


But did not work on the script which i open with iss tool. (i am telling it just for information) :D

altef_4 10-07-2013 05:37

Quote:

Originally Posted by red01 (Post 420819)
During installation , there is only progress bar and nothing else.

is it possible to add time (eg. 2 minutes and 35 seconds remaining ) or some line (please wait while set up finish installing the game on ur system?

sorry for being a troublesome..

i still don't add support of this futures to installer, maybe something like this in new versions.

red01 10-07-2013 05:46

internal compression is working but i cant make the external compression work?

i use the above stated method for compression and follow add ur instrucations (about decompression of data.cab)

script compile but did not extract the data.cab and finish installation without ant error..
but did not install the game.


any suggestions..

altef_4 10-07-2013 08:56

how you compress your files, whare is your archive is located and what you write in installer.ini?

red01 10-07-2013 20:40

2 Attachment(s)



my compression method is as follows

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

pause


i put my archive in database folder (see the pic).


i also attached installer.ini


please have a look.

altef_4 11-07-2013 11:48

in instaler.ini find ISDone=0 and change it to ISDone=1

red01 11-07-2013 20:19

1 Attachment(s)
Quote:

Originally Posted by altef_4 (Post 420899)
in instaler.ini find ISDone=0 and change it to ISDone=1


when i do
Isdone=1 (in upper past of installer.ini)
script did not compile and give me following error (see the pic).

pakrat2k2 11-07-2013 20:59

For compile it you mast have Inno Setup 5.5.1 Unicode Enhanced Edition from ResTools.

red01 11-07-2013 21:32

1 Attachment(s)
Quote:

Originally Posted by pakrat2k2 (Post 420915)
For compile it you mast have Inno Setup 5.5.1 Unicode Enhanced Edition from ResTools.

I have this one

altef_4 13-07-2013 00:12

Quote:

Originally Posted by red01 (Post 420914)
when i do
Isdone=1 (in upper past of installer.ini)
script did not compile and give me following error (see the pic).

try change line with error to this
if (NoFileForm.ModalResult = mrOk) or (NoFileForm.ModalResult = mrCancel) then begin

red01 13-07-2013 02:06

2 Attachment(s)
thanks for your reply

that error solved but now comes new one. :D

error 01 came first then i remove the line with error and proceed
it shows new error. see the pics.


All times are GMT -7. The time now is 21:14.

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