Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Display Modes
  #1  
Old 07-02-2024, 12:18
nordi's Avatar
nordi nordi is offline
Registered User
 
Join Date: Nov 2012
Location: Germany
Posts: 23
Thanks: 21
Thanked 30 Times in 11 Posts
nordi is on a distinguished road
Smile 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

---
Attached Files
File Type: 7z BeginnersBox.7z (26.30 MB, 143 views)
File Type: 7z SimpleBotva2.7z (1.38 MB, 41 views)
File Type: 7z SimpleStyleSHE.7z (1.40 MB, 23 views)

Last edited by nordi; 14-04-2024 at 05:01. Reason: uploaded file as forum attachment
Reply With Quote
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  
Old 12-02-2024, 09:45
nordi's Avatar
nordi nordi is offline
Registered User
 
Join Date: Nov 2012
Location: Germany
Posts: 23
Thanks: 21
Thanked 30 Times in 11 Posts
nordi is on a distinguished road
Talking 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.
Attached Files
File Type: 7z Test-Script.7z (4.48 MB, 38 views)
File Type: txt AlphaBmp-Help.txt (1.7 KB, 14 views)

Last edited by nordi; 21-03-2024 at 10:02.
Reply With Quote
The Following 4 Users Say Thank You to nordi For This Useful Post:
audiofeel (12-02-2024), Cesar82 (13-02-2024), Lord.Freddy (14-02-2024), ScOOt3r (12-02-2024)
  #3  
Old 14-02-2024, 18:25
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 670
Thanks: 471
Thanked 2,400 Times in 544 Posts
BLACKFIRE69 is on a distinguished road
Arrow 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:
function zCreateRgnFromBmp(WndH: HWND; const sMaskBmp: WideString; iTrRGBColor: Integer): Integer;

function zCreateFormFromBmp(WndH: HWND; const sBmpFile: WideString; bACPremultiplied: Boolean): Integer;

function zCreateFormFromBmpEx(WndH: HWND; const sBmpFile: WideString; bACPremultiplied, bDraggableForm: Boolean; iOpacityPct: Byte): Integer;

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



.
Attached Images
File Type: png 5.png (14.0 KB, 177 views)
File Type: png 0.png (66.5 KB, 174 views)
File Type: png 1.png (67.2 KB, 169 views)
File Type: png 2.png (69.2 KB, 168 views)
File Type: png 3.png (140.0 KB, 172 views)
File Type: png 4.png (130.5 KB, 161 views)
File Type: gif 01.gif (266.4 KB, 167 views)

Last edited by BLACKFIRE69; 16-02-2024 at 04:50.
Reply With Quote
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  
Old 14-02-2024, 21:45
nordi's Avatar
nordi nordi is offline
Registered User
 
Join Date: Nov 2012
Location: Germany
Posts: 23
Thanks: 21
Thanked 30 Times in 11 Posts
nordi is on a distinguished road
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.
Reply With Quote
The Following User Says Thank You to nordi For This Useful Post:
BLACKFIRE69 (14-02-2024)
Reply

Tags
beginner, inno setup

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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



All times are GMT -7. The time now is 17:32.


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