PDA

View Full Version : Inno Setup: Additional Libraries


altef_4
17-11-2013, 10:58
Hi, in this thread you can find and download some tools (libraries) created to add more abilities to your inno setup installer

Bink Video For Inno Setup (http://fileforums.com/showpost.php?p=437211&postcount=23)
Inno Setup Script Protect Project (http://fileforums.com/showpost.php?p=437212&postcount=24)
BASS Protect Plugin For Inno Setup (http://fileforums.com/showpost.php?p=437213&postcount=25)
Packer - data protection (http://fileforums.com/showpost.php?p=437214&postcount=26)
Inno Setup Media Library (http://fileforums.com/showpost.php?p=437219&postcount=27)
Inno Setup System Detection (http://fileforums.com/showpost.php?p=437220&postcount=28)
Image Animator (http://fileforums.com/showpost.php?p=456696&postcount=43)
Latest PCKR and ISSPP (https://fileforums.com/showpost.php?p=488417&postcount=49)
YouTube Direct Link and YouTube Player (https://fileforums.com/showpost.php?p=488418&postcount=50)

Razor12911
17-11-2013, 11:33
Hmm, Interesting. Will download and report back.

Report

awesome. Uhm, Yener90, Problemo Solved.

And as for you altef, I thanked and removed thanks about 5 times for this great post.

EDIT by Grumpy: You have been warned about using Inappropriate Language before!!! Use Inappropriate Language again and you wont just be getting a warning. ;)

yener90
17-11-2013, 21:31
Yes with this tool my problem is solved, but not the problem of Fabio & Revo.
Until i find a way to crypt their work, i will not release the code :p

sentinelks
18-11-2013, 09:12
This tool is recommended for script original inno setup, inno setup ee already uses protection (or am I wrong altef)

altef_4
18-11-2013, 09:46
This tool is recommended for script original inno setup, inno setup ee already uses protection (or am I wrong altef)

whan you create isspp.exe, you can upload this exe as your script, and users can compile it without source code. IS ee protecr your script only after you compile it. i hope you understand me ;)

sentinelks
18-11-2013, 11:12
o yes altef ! perfect thanks :)

jackstuff
18-11-2013, 21:27
Nothing happened i m using x64 bit

altef_4
19-11-2013, 11:46
Nothing happened i m using x64 bit

can you give more information?

jackstuff
19-11-2013, 21:11
A procedure video would be better

altef_4
20-11-2013, 01:31
tutorial was updated, just a little

yener90
20-11-2013, 13:23
nice tool :D
could you make command line features? i will integrate it to my designer :D
of course i want the tool to show itself, my target is directly starting the compile.

altef_4
21-11-2013, 01:39
nice tool :D
could you make command line features? i will integrate it to my designer :D
of course i want the tool to show itself, my target is directly starting the compile.

i can give you a full source (used script and delphi source of isspl.dll) send me PM if you agree.
and as for your first answer in this thread, i think that you can try upload some previous version of your script e.g 1.12 protected by this tool to check how this will work, and even with this tool Fabio and REVO can create external installers without loosing copyrights (of course they have source), and, maybe you will be use b2p.dll in your script, because this library protects graphics even in TEMP folder. And the last one in a few days i upload a new preview of my installer, and something in this preview will be VERY interesting, so, be ready :D

altef_4
21-01-2014, 02:22
update 1.0.0.1 uploaded, changes in first post.

altef_4
22-01-2014, 09:24
final version uploaded, changes in first post, now it's open source ;)

Razor12911
22-01-2014, 10:24
in any case, what program do you use to create dll files for inno?, I don't like shortstrings and I can't create a procedures else error pops up.

altef_4
22-01-2014, 10:34
i use delphi 2009

Razor12911
22-01-2014, 10:39
Hmm, is it>? Not event Delphi 7 works. it says I must use sharemem or somrthing like that to pass normal strings and stuff like that.

anyways. I'll try it.

altef_4
22-01-2014, 11:01
i use pchar

altef_4
27-01-2014, 15:32
i decide to upload some of my tools (or librarys), that i use for protection of data, now i upload bp.dll (bass protect), some of you sow this library and know what it do, for others this library allows to play sound from memory(uses bass.dll), info will be later
ps next tool will be pckr.dll (graphic protection)

altef_4
28-01-2014, 08:40
pckr.dll uploaded, if someone interested in this tool, or have questions -ask,
more info is uploaded
p.s. for keep forum clean, i dont create new threads, just ask moderators to change thread tittle to more informative, somethink like inno setup additional tools or inno setup protections tools, thanks ;)

Grumpy
28-01-2014, 17:04
...... ask moderators to change thread tittle to more informative

Thread title changed, I also did some minor spelling and grammar editing on the first post (the blue title) and thread is now a sticky. ;)

Nice work altef. ;)

altef_4
01-07-2014, 12:24
Inno Setup Script Protect Project (ISSPP) updated, removed callbackctrl.dll, probably this is last update.

altef_4
10-01-2015, 00:49
Here is my plugin for Binkw32.dll, that will add support of playing a .bik video in Inno Setup, example inside.

INFO:
version - 1.0.0.2
author - altef_4
COPYRIGHTS:
RAD Video Tools, CodeGear Delphi 2009

altef_4
10-01-2015, 00:56
Inno Setup Script Protect Project
Description:
this library was created for protect your inno setup script (.iss) from stealing.
Information:
for using this library you must have Inno Setup Enhanced Edition, tested on versions 5.5.1ee2(u), 5.5.1ee2(a)
you can use this library only if your script don't need changes in it for using it (if all configs takes from ini file or from ISPP #define directive)
Tutorial:

download attachment ISSPP_Final_v2{1.4.1.8}.7z
extract content of this attachment into some temporary or your custom directory
replace script.iss that located in folder that you choose by yours
replace icon.ico that located in folder that you choose by yours
replace files that located in your_folder\ISSPP\IS_Files\ by yours (this is Inno Setup nessesary files for your script)
open ISSPP.iss with IS Enhanced Edition 5.5.1ee2(ANSI or UNICODE) and compile it
copy all content of your_folder\ISSPP\ to your containing a original script folder
done, now you can use ISSPP.exe as your original script.

p.s. you can run ISSPP.exe with command line parameters:
/silent - auto starting compilation with showing status
/verysilent - auto starting compilation without showing status

Download:
download attachment ISSPP_Final_v2{1.4.1.8}.7z
Content of ISSPP_Final_v2{1.4.1.8}.7z:

folder: ISSPP - will be containe ISSPP.exe with your script inside
folder: ISSPP\IS_Files containe all nessesary files from Inno Setup installation folder (in archive is IS 5.5.4u)
file: Icon.ico - icon file for ISSPP.exe
file: script.iss - demo script
file: ISSPP.iss - main script of project
file: isspl.dll - main library of project

Library information:
autor = altef_4
version = 1.4.1.8 final v2
release date = 28.06.2014
Changelog:
v.1.0.0.0
first public release (no source code)
v.1.0.0.1
second public release (no source code)
fixed ANSI support (thanks to y_thelastknight for info)
redused size of isspl.dll (before ~500 kb, now ~16kb)
removed information about compilation progress
v.1.0.0.2 final
therd public release (source code included)
added information about compilation progress (added callbackctrl.dll)
v.1.0.0.3 final v2
removed callbackctrl.dll
Copyrights:
isspl.dll created using Inno Setup source code and Delphi 2009

Latest PCKR and ISSPP (https://fileforums.com/showpost.php?p=488417&postcount=49)

altef_4
10-01-2015, 01:00
BASS Protect Plugin For Inno Setup
Description:
this library was created for ability to play sound from memory (it's used BASS.dll from Un4seen Developments)
Information:
for using this library you must have Inno Setup Enhanced Edition, tested on versions 5.5.1ee2(u), 5.5.1ee2(a)
this library alsow works on original Inno Setup, but can't play sound from memory
Tutorial:

download attachment bp_final.7z
extract content of this attachment into some temporary or your custom directory
copy mp3 file in folder that you choose and rename it to sound.mp3
open bp.iss with IS Enhanced Edition 5.5.1ee2(ANSI or UNICODE) and compile it
done, now run setup.exe and enjoi.

p.s. bp.iss is a example script, for using this library in your script you must adapt your script using bp.iss as example

Download:
download attachment bp_final.7z
Content of bp_final.7z:

file: bp.iss - example script
file: bass.dll - library for playing sound (v.2.4.10.0)
file: bp.dll - main library of project

Library information:
autor = altef_4
version = 0.0.3.2 final
release date = 27.01.2014
Changelog:
v.0.0.3.2
first public release (stable)
redused size of library (now ~14kb)
Copyrights:
for play sound bp.dll use BASS.dll from Un4seen Developments
created using Delphi 2009

altef_4
10-01-2015, 01:05
Packer - data protection
Description:
this library was created for protect your data (graphics and other stuff) from stealing
Information:
with this library you can only extract files from archive to memory, if you want show images in installation form - you must combine pckr.dll with b2p.dll or other library what can show images
Tutorial:

download attachment pckr_1.1.9.8.7z
extract content of this attachment into some temporary or your custom directory
first of all, create archivve, using ZMkr.exe, with all nessesary files and Debug MODE
open pckr.iss and look how it works, than adapt your script
when your script is adapted - change all lines whare Debug=True to Debug=False in your script and compile it
then again create archive with the same files but without debug mode for your setup file
description of used functions and procedures is in pckr.iss


p.s. for example or some demo preview you can use my Installer, it use pckr.dll, b2p.dll, original Inno Setup 5.5.4u, and data still protected!

Download:
download attachment pckr_1.1.9.8.7z
Content of pckr_1.1.9.8.7z:

file: pckr_en.iss - example script
file: ZMkr.exe - tool for creation archive
file: pckr.dll - main library

Library information:
autor = altef_4
version = 1.1.9.8
release date = 28.01.2014
Changelog:
v.1.1.9.8
first stable public release
added Debug MODE to ZMkr.exe and pckr.dll
fixed bug with PInit
Copyrights:
pckr.dll created using Delphi 2009, Abbrevia 5.0
ZMkr.exe created using Delphi 2009, Abbrevia 5.0, AlphaControls 8.51

Latest PCKR and ISSPP (https://fileforums.com/showpost.php?p=488417&postcount=49)

altef_4
10-01-2015, 06:26
Here is my plugin for Inno Setup, that will add support of playing a avi (+some others formats) video in Inno Setup, example inside.

INFO:
version - 2.0.0.0
author - altef_4
ANSI|UNICODE support
SKINS Suport (IsSkinEx)
Size = 23 kb (without compression)
COPYRIGHTS:
Based on MediaPlayer by TLama (https://code.google.com/p/inno-media-player/), CodeGear Delphi 2009

altef_4
10-01-2015, 07:35
Here is my plugin for Inno Setup, that adds support of checking a system requirments, example inside.

INFO:
version - 1.0.1.0
author - altef_4
COPYRIGHTS:
CodeGear Delphi 2009

CHANGES:
1.0.1.0
-added ANSI Support

Razor12911
10-01-2015, 08:27
Great set of tools bro, I hope that people use 'em and give you thanks for them.

pakrat2k2
10-01-2015, 09:03
amazing work altef_4

altef_4
10-01-2015, 09:14
amazing work altef_4

what about thread name change?

pakrat2k2
10-01-2015, 09:51
what do you want it changed to ?

altef_4
10-01-2015, 09:52
what do you want it changed to ?

Inno Setup: Additional Libraries

pakrat2k2
10-01-2015, 10:12
done :)

altef_4
11-01-2015, 10:08
ISWMI updated to 1.1, added ANSI Support

Razor12911
13-02-2015, 13:11
Bink 2 videos don't work with IsBik, I got v1.0.0.2.

altef_4
14-02-2015, 00:36
Bink 2 videos don't work with IsBik, I got v1.0.0.2.

IsBik don't support bink 2 videos, only old bink format.

Razor12911
14-02-2015, 01:45
anyways, is not a problem, people will just use rad video tools to convert it back to bink 1

Razor12911
20-02-2015, 06:03
ok, altef, how about if we replace binkw32, by the one that supports bink2?

altef_4
20-02-2015, 07:17
ok, altef, how about if we replace binkw32, by the one that supports bink2?

this will don't work, because bink2 lib has different exported functions|procedures and parameters, also i can create library for bink2 only if i have sdk for bink2.

Cesar82
16-03-2015, 03:15
Good work altef_4

PS: In example script (bp.iss) of "BASS Protect Plugin For Inno Setup" could add to line to script.

DeleteFile(ExpandConstant('{tmp}\')+fil);

Add green line in this script part:
#ifdef IS_ENHANCED
size_:=ExtractTemporaryFileSize(fil);
SetLength(Buffer,size_);
ExtractTemporaryFileToBuffer(fil,Cast{#defined UNICODE ? "Ansi" : ""}StringToInteger(Buffer));
#else
if not FileExists(ExpandConstant('{tmp}\')+fil) then ExtractTemporaryFile(fil);
FileSize(fil,size_);
SetLength(Buffer,size_);
LoadStringFromFile(ExpandConstant('{tmp}\')+fil,Bu ffer);
DeleteFile(ExpandConstant('{tmp}\')+fil);
#endif

If used Inno Setup Standard (Not Enhanced) delete the audio file after reading, not keeping it in the temporary folder.
Not protect, but hinders users from gaining access to the audio file.

altef_4
16-03-2015, 10:29
Good work altef_4

PS: In example script (bp.iss) of "BASS Protect Plugin For Inno Setup" could add to line to script.

DeleteFile(ExpandConstant('{tmp}\')+fil);

Add green line in this script part:
#ifdef IS_ENHANCED
size_:=ExtractTemporaryFileSize(fil);
SetLength(Buffer,size_);
ExtractTemporaryFileToBuffer(fil,Cast{#defined UNICODE ? "Ansi" : ""}StringToInteger(Buffer));
#else
if not FileExists(ExpandConstant('{tmp}\')+fil) then ExtractTemporaryFile(fil);
FileSize(fil,size_);
SetLength(Buffer,size_);
LoadStringFromFile(ExpandConstant('{tmp}\')+fil,Bu ffer);
DeleteFile(ExpandConstant('{tmp}\')+fil);
#endif

If used Inno Setup Standard (Not Enhanced) delete the audio file after reading, not keeping it in the temporary folder.
Not protect, but hinders users from gaining access to the audio file.
yes, this method will work.

altef_4
05-03-2017, 01:47
Here is my plugin for showing animated splash in Inno Setup, example inside.

INFO:
version - 1.0.3.2
author - base version by TLama [edited by altef_4]
COPYRIGHTS:
CodeGear Delphi 2009

ZakirAhmad
05-03-2017, 03:58
How can i make records.inf with isexec to show progress in wpi...

KaktoR
13-06-2017, 15:32
Packer - data protection

I can't select a whole directoy, only single files.

Or i make something wrong?

thebig1825
19-09-2017, 04:44
I have an error when i try to compile with ISSPP.exe i but that only happends when i have custom russian messages in that section: https://i.imgur.com/dWTFsPa.png

shazzla
16-08-2018, 10:21
Hi all !

Please help me :
How can i add a "MUTE sound button" to the standard ISDone script/BASS.dll without rewrite the entire script ?
Thanks in advance !

vint56
16-08-2018, 11:16
shazzla

altef_4
21-10-2020, 03:05
After long time testing and improvements with huge help and testing made by Cesar82 (https://fileforums.com/member.php?u=178707) here is latest versions of my pckr and isspp library

altef_4
21-10-2020, 04:07
Here is my plugins for Inno Setup, which add some additional functionality into inno setup,
YTDLink - will try to get direct link for youtube video and you can use this link to playback with ismedialib.dll
YTPlayer - will try to add embedded player into inno setup
Some basic examples included, and againe big thanks for testing Cesar82 (https://fileforums.com/member.php?u=178707), he was initially request such functionality for CIU

y_thelastknight
21-10-2020, 09:59
YTPlayer - will try to add embedded player into inno setup

i don't know what was your intention to create this Dll but I'm gonna use this in different way. I always had a problem playing YouTube videos whenever I use other work(multi tasking). this will come in handy. thank you mate.

Ps - @altef_4 check your pm.