Archive for the Category: Inno

Free Disk Space Inno

To show a label on the Inno wizard page displaying the amount of require disk space. Add the following code section to the installer script. [Code] procedure InitializeWizard; begin WizardForm.DiskSpaceLabel.Visible := True; // False to hide end; Download installer script FreeDiskSpace.iss

Leave a comment

Check DotNet Framework is installed during Inno Setup

To check that DotNet framework is installed during an Inno install. Add the following code section to the install script. ; Check if dot net is insalled [code] function FrameworkIsNotInstalled: Boolean; begin Result := not RegKeyExists(HKEY_LOCAL_MACHINE, ‘Software\Microsoft\.NETFramework\policy\v4.0’); end; // Install dot net with feedback [Code] procedure InstallFramework; var StatusText: string; ResultCode: Integer; begin StatusText := […]

Leave a comment

Mamadou Claquette hackeur ou fdp

vrm la wey c pa bien CLIQUE CONCOMBRE DES MERS

16 Comments

Check if a program exists before installing with Inno

To check if a program exists before installing with Inno add the following code section to the installer script. In this example we will be testing for the file “c:\Example\Test.exe”. If the test.exe file exist a message box showing “Program Already Exists” will be displayed and the installer will terminate. [Code] function IsMyProgramInstalled: boolean; begin […]

Leave a comment

Create empty folders using Inno

When installing a program using Inno, to create an empty directory you will need to add a dirs section to the installer script. [Dirs] Name: “{app}\Example1” Download installer script CreateEmptyDirectories.iss

Leave a comment

Automatically Get Target Exe Version in Inno

This example shows how to automattically update the version numbers for you Inno installer based on the version number of the target exe program. In this example the installer will be installing a program called notepad.exe. At the top of the script. The version number from the target exe is stored in the variable MyAppVersion […]

Tagged , , 1 Comment

Custom Inno Theme

To customise the look of your inno installer, you can modify the images displayed on the install pages. The large image on the left hand side of the instal pages is set using the parameter WizardImageFile. The small image shown on the top right of the install pages is set using the parameter WizardSmallImageFile. In […]

Leave a comment

Installing Inno Installer

Detailed below is the procedure for installing Inno. Download the setup file. I will be installing version 5.5.5 http://www.jrsoftware.org/download.php/is.exe Select your language from the combo box and then click ok Click the Next button on the welcome screen. Select Accept and then click the next button Change the install location if required and then click […]

Leave a comment