#1
|
||||
|
||||
Script Collection for Real Beginners / Newbies
Script collection for beginners (。◕‿◕。) 2024
########################################## >> See Download attached below Hello dear forum users, today I present to you a small collection of useful scripts for real beginners to get acquainted with Inno Setup. The background for me was that I have little understanding of programming and had to search the internet again and again for every script. All this test scripts are created with InnoSetup 6.2.2 and Win11(64bit). It may be that there are newer / better versions of the attached dll files available somewhere. Or that the scripts can now be written more easily and in a more structured manner. Everyone has to find out how for themselves. For testing the compression scripts (Arc+Srep / 7zip / ... ) : - you can generate dummy files in folder "_Programs\Dummy Files" - compress with the batch files in folder "_Programs\Compressor" ########################################## ########################################## Updated with two samples : - Botva2 sample , simple with QuickInstall button / Pic Slideshow - Multi Style SHE sample, with glass effect when moving window ########################################## The BeginnersBox includes the following scripts : 1.0-Repacker (Original+Wiki) 1.1-Repacker (Inno Colors) 1.2-Repacker (Inno Pictures) 1.3-Repacker (Inno Speech) 1.4-Repacker (Prog while Install) 1.5-Repacker (Website while Install) 1.6-Repacker (Download while Install) 1.7-Repacker (Inst+Uninst Password) 1.8-Repacker (Extra Sides + Additions) 1.9-Repacker (System Values) 1.10-Repacker (Splashscreen) 1.11-Repacker (Play WinSound) 1.12-Repacker (Play ClickSound) 1.13-Repacker (Musik Mp3) 1.14-Repacker (Logo Picture) 1.15-Repacker (Logo Progress Bar) 1.16-Repacker (Logo Video) 1.17-Repacker (Header Picture) 1.18-Repacker (Header Video) 1.19-Repacker (Header Transparent Text) 1.20-Repacker (Installer Transparent Text) 1.21-Repacker (Back Picture) 1.22-Repacker (Back Slideshow) 1.23-Repacker (Back Slideshow better) 1.24-Repacker (Back Video) 1.25-Repacker (Back Video better) 1.26-Repacker (Installer Picture) 1.27-Repacker (Installer Pic transparent) 1.28-Repacker (Installer Slideshow) 1.29-Repacker (Installer Video) 1.30-Repacker (Inno animated window WinAPI) 1.31-Repacker (Style ISSkin MultiSelect) 1.32-Repacker (Style ISSkin Uninst) 1.33-Repacker (Style ISSkin LangBox) 1.34-Repacker (Style VCL MultiSelect) 1.35-Repacker (Style VCL Uninstall) 1.36-Repacker (Style VCL LangBox) 1.37-Repacker (Cutted Shapes AlphaBMP) 1.38-Repacker (CustomPages-Slim) 1.39-Repacker (CustomPages-More) 1.40-Repacker (CustomPages Uninstaller) 1.41-Repacker (Compress with InnoSetup) 1.42-Repacker (ISDone - ARC+7zip) 1.43-Repacker (ISDone - ARC+7zip INI File) 1.44-Repacker (Experimental Script ISArcEx) 1.45-Repacker (Experimental Script DiscSpanGUI) ########################################## >> Videos only work for me correctly when set (or deleted) in [Setup] : ArchitecturesAllowed = x86 x64 // ArchitecturesInstallIn64BitMode = x64 (has to be somethings with loading/installing the DLL to Windows folder) Note : This collection are basic test scripts with examples. On the subpage of example "1.0-Repacker (Original)" you can see a approximate normal structure of a script. >> From the second mainscript onwards, we work with more subpages for additional extensions. This subpages can therefore be used independently for the whole main pages. In my opinion, you can see easily, how and where which script lines of each extensions/plugin/files have to be used. Feel free to correct any spelling mistakes and script errors for yourself. And now, have fun ... Nordi Repacks --- Last edited by nordi; 14-04-2024 at 05:01. Reason: uploaded file as forum attachment |
The Following 13 Users Say Thank You to nordi For This Useful Post: | ||
ADMIRAL (13-02-2024), audiofeel (07-02-2024), BLACKFIRE69 (08-02-2024), Cesar82 (07-02-2024), crachlow (07-02-2024), ffmla (12-02-2024), Gummy Bear (07-02-2024), hitman797 (07-02-2024), kenzo34 (07-02-2024), Lord.Freddy (07-02-2024), ScOOt3r (12-02-2024), Valtus (08-02-2024), Wanterlude (08-02-2024) |
Sponsored Links |
#2
|
||||
|
||||
Example Script for VCL Style + AlphaBMP
Here is a (non completed) project as design example...
> Working AlphaBmp + VCL (> only "Next, Back, Cancel, Finish, Music" custom buttons, ...) > Working VCL Style + Custom LanguageBox (black style - music, click sounds, splashscreen too) When you have the time, you can finish the script for yourself... I found a small guide for converting BMP on the internet, attached as a TXT file. Last edited by nordi; 21-03-2024 at 10:02. |
The Following 4 Users Say Thank You to nordi For This Useful Post: | ||
#3
|
||||
|
||||
ShapeForm
i created this just for fun; it seems a little easier to use.
ShapeForm.dll: Code:
* Automatically resizes the form according to the image. * Supports mouse dragging by default. * Supports form transparency by default. * Bmp form does not overlay on the InnoSetup's components, so they will show up on the Bmp form. * Does not require extra work; everything is automated. ImageMasker.exe: Code:
* Drag and drop a PNG file onto this; it will generate mask.bmp and base.bmp. * Requires Visual C++ Redistributable 2015 or later. Functions: Quote:
Example: Code:
procedure InitializeWizard(); begin ExtractTemporaryFile('mask.bmp'); ExtractTemporaryFile('base.bmp'); { ShapeForm } zCreateRgnFromBmp(WizardForm.Handle, ExpandConstant('{tmp}\mask.bmp'), clBlack); zCreateFormFromBmpEx(WizardForm.Handle, ExpandConstant('{tmp}\base.bmp'), False, True, 100); end; Download: ShapeForm + Example.rar . Last edited by BLACKFIRE69; 16-02-2024 at 04:50. |
The Following 6 Users Say Thank You to BLACKFIRE69 For This Useful Post: | ||
audiofeel (14-02-2024), Cesar82 (15-02-2024), LinkSystem (29-10-2024), Lord.Freddy (14-02-2024), nordi (14-02-2024), ScOOt3r (14-02-2024) |
#4
|
||||
|
||||
great, that helps a lot. Especially that you can still move the window around if it's frameless... That's what I was looking for... THX
I had only to put vcomp140.dll next to ImageMasker (downloaded Dll, so i need not to install full VCRedist). Last edited by nordi; 14-02-2024 at 22:05. |
The Following User Says Thank You to nordi For This Useful Post: | ||
BLACKFIRE69 (14-02-2024) |
Tags |
beginner, inno setup |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
INDEX - CD2DVD Conversion Index **UPDATED: 17-07-2024** | Grumpy | PC Games - CD/DVD Conversions | 252 | 16-07-2024 21:35 |
Ultimate Conversion Compressor (UCC) | vollachr | Conversion Tutorials | 55 | 26-04-2021 10:27 |
Basic tutorial for beginners on blackbox install script | dead4now | Conversion Tutorials | 5 | 20-07-2015 18:31 |