FAQ Database Discussion Community


Inno Setup ask user for special locations

path,installation,inno-setup
I'm new with Inno setup. I want the user to select during installation a different path to install e.g. the database (normaly it will be installed in ProgramData..). So I want to get the installation path dialog a second time for the database or any other files. Any idea?...

data source in windows application is not working after created setup

c#,inno-setup
I am trying to make a setup of a windows application its working fine in my computer but as I am creating setup of this application its showing me an network error along with "an attemp to attach an auto named database for file "datasource query string path that I...

Is the [Run] section processed before the CurStepChanged event for the ssPostInstall step is fired?

inno-setup
In my code I'm using the [Run] section as well as the CurStepChanged event handler doing some stuff when the ssPostInstall occurs. In pseudo script something like this: [Run] Filename: "{app}\FileToRun.exe"; Parameters: "/x" [Code] procedure CurStepChanged(CurStep: TSetupStep); begin if CurStep = ssPostInstall then begin // do some stuff end; end;...

Inno Setup, Registry section, link 2 files extensions in the same entry

registry,inno-setup,file-type
This is probably a basic question, but I don't understand registry well enough. My application uses 2 kinds of files : .bmc and .mef. I want them to be displayed with 2 different icons. I did: Root: HKCR; Subkey: ".bmc"; ValueType: string; ValueName: ""; ValueData: "MyProg"; Flags: uninsdeletevalue Root: HKCR;...

Copy to clipboard in Inno Setup

inno-setup,clipboard
Is there any way to copy a string to the clipboard with Inno Setup? I need to implement a button to copy the contents of a field to clipboard....

Inno Setup Task checked only if a specific Component is selected

inno-setup
Tasks can be set to display dependent on the component selected by simply listing Components: a b c etc and can be set to not be checked by default by specifying Flags: unchecked. However, there doesn't appear to be a way run a conditional check using Code to have a...

Registry aren't fully deleting when uninstalling

registry,inno-setup
Inno Setup isn't deleting the full registry key. Here is what I have done: [Registry] Root: HKLM; SubKey: SOFTWARE\EA Games\Need for Speed Most Wanted-2012; ValueType: string; ValueName: GDFBinary; ValueData: {app}\GDFBinary_en_US.dll; Flags: uninsdeletekey Root: HKLM; SubKey: SOFTWARE\EA Games\Need for Speed Most Wanted-2012; ValueType: string; ValueName: DisplayName; ValueData: Need for Speed Most...

Inno setup error handeling (ignore) in RUN Section commands

.net,inno-setup
I have a .net dll, it can be register by RegAsm .net 3.5 and .net 4.5 I use this codes in my setup script: [Run] Filename: "{dotnet40}\RegAsm.exe"; Parameters: "my.dll"; WorkingDir: "{app}"; Flags: skipifdoesntexist; StatusMsg: "Registering Controls." Filename: "{dotnet4064}\RegAsm.exe"; Parameters: "my.dll"; WorkingDir: "{app}"; Flags: skipifdoesntexist; StatusMsg: "Registering Controls." Filename: "{dotnet20}\RegAsm.exe"; Parameters:...

How to have a checkbox for readmefile at the finished page in InnoSetup

inno-setup
I want to have a checkbox at the finishpage of InnoSetup to open or not the readme file. I try something like this (like it's explain here flag postinstall but it seems doesn't works: Name: "StartAfterInstall"; Description: Display the PDF Readme File; Languages: english Filename: "{app}\readme.pdf"; Tasks: StartAfterInstall; Flags: shellexec...

Can I put setup command line parameters in a file which is called during installation instead?

inno-setup
After creating my setup.exe I have to pack it for various software deployment tools. Therefore I can't call the setup.exe with parameters, instead I have placed my own parameters in a setup.ini file next to the setup.exe [Code] var MyIniFile: String; function InitializeSetup(): Boolean; var LoadFromIniFile: String; begin Result :=...

Create files in Inno Setup setup needed by the [Files] section

inno-setup
In my Inno Setup script, I need to execute a command that generates temp files that are to be copied in the [Files] section. I have tried the following: ; cd to the directory of the Inno Setup script and execute a python file #expr Exec('cmd /C "cd /d %cd%...

Inno Setup CreateInputDirPage but don't check for folder existence

inno-setup,pascalscript
I have an Inno Setup Pascal script that prompts the user for 4 folders. Three of the folders should already exist. The 4th being used as a placeholder where I am going to mount a VHD disk in the future. So all I use is the string value of this...

How to include a script file whose name is read from the INI file?

inno-setup,pascalscript
I would like to include a script file whose name will be read from an INI file. I've tried this: #include <subfolder\{#ReadIni(SourcePath + "File.ini", "Section", "Key", "")}.iss> but the compilation fails on this error: File not found: "subfolder\{#ReadIni(SourcePath + "File.ini", "Section", "Key", "")}.iss" How can I include a script file...

In Inno Setup: How do you use/know the values for CurPageIDs for custom pages?

inno-setup
Lets say we set up a page using the CreateInputQueryPage function and we use the NextButtonClick event to control actions taken on that page. How do we refer to the correct CurPageID within that code?

Inno setup: detect installation based on product code

inno-setup
I want to achieve something similar to Inno setup - skip installation if other program is not installed But I do have the msiexec product code (like D3AA40C4-9BFB-4640-88CE-EDC93A3703CC). So how to detect if another program is installed based on this product code?...

Is it safe to use .islu translation files in InnoSetup for all languages?

unicode,encoding,inno-setup
I'm using InnoSetup for my open source project WinSCP. So far I'm generating InnoSetup .isl translation files from our project-specific translation files (particularly to translate CustomMessages section). But the .isl's need to be converted to ANSI encoding. There's a problem with ANSI encoding for languages that does not have an...

Can you define a function prototype in InnoSetup

inno-setup,pascalscript
I would like to be able to structure my code for my InnoSetup project but I am forced to move code around because you can't call a function unless it is defined first. Is there a way to declare a prototype at the top so that I don't get the...

Inno Setup disable Installing Wizard Pages

inno-setup
Is it possible to disable the the Preparing To Install wpPreparing and the Installing wpInstalling Wizard Pages (i.e. the ones with the progress bar) so that they do not show during installation? There does not appear to be a built-in directive or method (e.g. for the Ready Wizard Page you...

how to refresh a page in inno setup

inno-setup,pascal
I am completely new to inno setup. I have an existing inno setup code which loads all the pages in the InitializeWizard(). I am trying to change the caption dynamically in the next page based on the radio button selected in the previous page. ExpandConstant('Special note for the Microsoft '...

Override the maximum size of WizardSmallImage

inno-setup
I'm trying to set a custom image for the WizardSmallImage of a installer I'm making, but, I have run onto a problem: the image I'm trying to use exceeds the max size for WizardSmallImage (55x58). Since I'm doing this for a friend, I can't cut/shrink his image. So, is there...

Why do I get “Variable Expected” compiler error?

inno-setup,pascalscript
I'm trying to get the drive letter of the install path in Inno Setup without the colon and if the drive letter is C, it will return a null string. Calling the function: {code:GetDriveLetter|{drive:{src}} Function: function GetDriveLetter(DriveLetter: string): string; var len: Integer; begin len := CompareText(UpperCase(DriveLetter), 'C'); if len =...

Best way to softly close application from inno setup during upgrade

delphi,inno-setup
I have used this code for years to close my running apps during upgrade from INNO SETUP, but now its not working well with a some versions of app. Any ideas, what is a better way to close running process (delphi app)? I need to make it work well during...

C# string to Inno Setup

c#,interop,marshalling,inno-setup
I have a C# DLL in which exposes a method which generates a string. I want to call this Method from Inno Setup and receive the string then. function GetInformationEx():String; external '[email protected]{src}\data\tools\ZipLib.dll stdcall loadwithalteredsearchpath'; procedure ShowProgress(progress:Integer); var information : String; begin WriteDebugString('ShowProgress called'); if(progress > pbStateZip.position) then begin pbStateZip.position :=...

Install windows 7 software on windows 8

windows-8,installation,inno-setup
I've tried to install my software built on Windows 7 on a PC having windows 8 and it failed. Unfortunately it was not an English Win8-Version so the error message told something like "Can't continue because the device is not identified". The message came right after starting the installer (exe-file)....

How to resize an input edit control of the TInputQueryWizardPage page item?

inno-setup
I'm creating a TInputQueryWizardPage page (by the CreateInputQueryPage function) and I would like to change the width of an input edit control of the item. How can I do that? How to resize an input edit control of the TInputQueryWizardPage page item?...

Avoiding “Failed to expand shell folder constant userdocs” errors in Inno Setup

windows,installation,inno-setup
I install some sample documents into a 'PerfectTablePlan' sub-folder of the standard 'My documents' folder on Windows. This works fine for 99%+ of users. But if a user doesn't have a 'My documents' folder I get a number of ugly error messages of the form: Internal error:Failed to expand shell...

Save Typed Text To Txt File [INNO SETUP]

inno-setup
I have to save username and password which typed by user to text file but it create textfile and save the texts before user type it. (So empty textfile is created) I think I have to do somethings with procedure but although I search the solution, I couldn't find. My...

How to pass parameters from Java FX Ant task to Inno Setup?

ant,javafx,inno-setup
I am new to JavaFX and only have some basic knowledge about Ant. At the moment I am learning how to use the FX Ant tasks to deploy an application. Edit: By using <fx:deploy nativeBundles="exe" ../> Ant automaticly uses Inno Setup to create a setup file with the .exe extension....

How to completely disable specific component in Inno Setup from code section?

inno-setup
I have an Inno-setup script with a components page with checkboxs and a combobox. I want to unchecked and disable some components from the Code section, I used this answer to do it and I have now this code : [Setup] AppName=My Program AppVersion=1.5 DefaultDirName={pf}\My Program DefaultGroupName=My Program UninstallDisplayIcon={app}\MyProg.exe OutputDir=userdocs:Inno...

How to disable OK button in “Browse For Folder” dialog in Inno Setup

inno-setup
I need to disable the OK button in "Browse For Folder" dialog if A file (doesn't) exists (preferably with FileExists) An existing reg key (doesn't) points to that directory (preferably with RegKeyExists RegValueExists) I do know how to achieve a more-or-less same result by disabling the Next button on wpSelectDir...

Inno Setup: how to use {app} in InitializeWizard?

inno-setup
I know this question was asked before with almost the same title. But the answere doesn't provides me with enough informations to solve the problem. Also my problem seams to be a little bit different. I am using the Inno Download Plugin My Source looks like [Components] Name: "dl"; Description:...

InnoSetup DLL Unload

c#,dll,callback,inno-setup
I have an InnoSetup where i Load a C# DLL. The Installer hangs up in the end of the setup. I found a thread on stackoverflow which seems to have some good informations in it, but i am to unexperienced to get the information provided... InnoSetup hangs after install due...

How to create new About button in inno setup?

inno-setup,pascalscript
I want to create a new About button at the bottom left corner of all the pages like wpwelcomepage, wpselecttaskpage, wpinstallingpage etc; that will show some message if it is clicked,message should closed if user press "OK".The button should show the full word "About" not like "Abou..." I have checked...

Inno Setup change CreateOutputMsgMemoPage font

inno-setup
Is it possible to change the font that the actual message part of the window created using CreateOutputMsgMemoPage displays in? I need to return some results from a database query to a window in Inno Setup, which I am doing by reading in from a file using: LoadStringFromFile(ExpandConstant('{app}\Output.txt'), astrResults); and...

Inno Setup Unknow Filename Prefix

installation,folder,inno-setup
I'm trying to set the output folder of the compiled installer to the desktop. This script can be runned by multiple people across multiple computers, that's why I need to use a dynamic script. OutputDir= "{#Desktop}" I'm able to use the prefix userdocs: but not userdesktop:. //Works: #define Path "userdocs:Visual...

Calling exe bootstrapper from Add/Remove Programs

wix,windows-installer,inno-setup,bootstrapper
I have 2 MSI installation packages (done using WiX) a.msi and b.msi which are bootstrapped into one exe using InnoSetup resulting in c.exe. In the Add/Remove programs only a.msi is listed. The problem is when the user removes a.msi from Add/Remove programs I have a custom action in wix which...

Get the Virtual Store path?

inno-setup
I'm installing an application and want to set values for an ini file. Unfortunately, our main application is still built on a platform that gets redirected to the virtual store. Is there a way to get Inno Setup to store the ini file in the virtual store directly?

My Inno Setup script creates two Desktop Icons

inno-setup
I am using the following lines to create icons: Name: "{group}\<PRODUCTNAME>"; Filename: "{app}\<PRODUCTEXENAME>" Name: "{group}\<PRODUCTNAME> (Log Mode)"; Filename: "{app}\<PRODUCTEXENAME>"; Parameters: "/log" Name: "{group}\{cm:ProgramOnTheWeb,<PRODUCTNAME>}"; Filename: "{app}\<PRODUCTNAME>.url" Name: "{group}\{cm:UninstallProgram,<PRODUCTNAME>}"; Filename: "{uninstallexe}" Name: "{userdesktop}\<PRODUCTNAME>"; Filename: "{app}\<PRODUCTEXENAME>"; Name:...

Converting Inno Setup WizardForm.Color to RGB

inno-setup,tcolor
If I try this: [Setup] AppName=MyApp AppVerName=MyApp DefaultDirName={pf}\MyApp DefaultGroupName=MyApp OutputDir=. [Code] function ColorToRGBstring(Color: TColor): string; var R,G,B : Integer; begin R := Color and $ff; G := (Color and $ff00) shr 8; B := (Color and $ff0000) shr 16; result := 'red:' + inttostr(r) + ' green:' + inttostr(g) +...

Is there a list of other values besides “ ”, and “-” that are invalid for components in Inno Setup?

inno-setup
In Inno Setup, within the name of a component, the '-' value is not valid is there a list of other values besides " " that are invalid.

Inno Setup: How to automatically run program after /verysilent install?

automation,inno-setup
How to automatically run my program after performing a /verysilent install? I can automatically run my program after a normal install by using "DisableFinishedPage=yes" in the [setup] section (that disables the finish page and will run the program immediately after install, without user intervention). However if i use the /verysilent...

How to test if a windows group exists from inno setup?

inno-setup
How can you test to see if a windows group is already setup? Can you somehow use the response from: Exec('net.exe', 'localgroup', '', SW_SHOW, ewWaitUntilTerminated, Result); which will list the groups to the command prompt? (I know that Result is an error code where 0 is success, just to be...

How do you find the user-selected install path in Inno Setup?

inno-setup,pascal
In this post, it tells how to get the installER path but I need to get the path that the user chose to install my application into. If I set CreateAppDir=yes and set a DefaultDirName=C:\MyApp\ the user can change it to some other directory. After they do this, I need...

How to add HEX-Data into Registry with Inno Setup?

inno-setup
I was wondering what I have to write when I want to add HEX-Data into registry?!?! I have [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\FOOBAR] "Type"=dword:00000110 "ImagePath"=hex(2):43,00,3a,00,5c,00,73,00,64,00,69,00,62,00,61,00,73,00,65,00,\ 5c,00,64,00,62,00,6e,00,74,00,35,00,73,00,76,00,2e,00,65,00,78,00,65,00,00,\ 00 and I want to add this by my Inno-Script to the registry. The first value is easy... Root: "HKLM"; Subkey: "SYSTEM\CurrentControlSet\Services\FOOBAR"; ValueType: dword; ValueName: "Type"; ValueData: "00000110"...

Force Inno Setup to store data in non-admin HKCU with PrivilegesRequired=admin

registry,inno-setup
I have a VBA add-in component that's being installed as part of an application that can only write to the HKCU area of the registry (GetSetting and SaveSetting functions are sandboxed in VBA). But, the installer also needs to place files in the Windows system folder so it therefore requires...

JavaFX Self Installer With Inno Setup 5 - Allow user to change install directory

installer,inno-setup,javafx-8
I am using Ant to build a self deploying EXE for a JavaFX application. Currently Inno Setup places the EXE here: C:\Users\username\AppData\Local\application name I would like to place this in a different location, and provide the user the option to override this. However I can't seem to find the ant...

InnoSetup - while compiling sign tool failed with exit code 0x1

windows-7,windows-8.1,inno-setup
Its failing to compile in signing. In my innosetup packaging i have to include some third party software such as VLC, Google Chrome, Putty, etc etc. The moment those third party tools are included compile/build is failing. But when i do not use them its compiling well. (unfortunately i cant...

Register Explorer COM extension only if specific task was selected

com,installation,inno-setup
I have a complicated program for working with documents. Client requirement: it should be conditionally integrated in Windows Explorer context menu during install, i.e. then user check the corresponding option. So, in my Inno Setup script [Tasks] i've created a separate task named IntegrateToExporer. And in the [Files] section -...

dynamic path in INI-File called by inno-setup

inno-setup,ini
I need to get a path name from an INI-file. I already know how to read a INI-file and asked a question here. This helped me a lot. Right now I am confused by dynamic paths. I run another program from within the setup, which works perfect. The path to...

Inno Setup - prevent executing the installer multiple times simultaneosly

inno-setup
I've got a bit of a pickle with Inno Setup: on a user machine, my installer was running slowly (something I've yet to diagnose, might be a problem specific with that computer, I still don't know). This lead to said user to run the installer again, while the first instance...

Proper structure syntax for Pascal if then begin end and ; (in inno setup)

inno-setup,pascal
It has been around 20 years since I last had to write in Pascal. I can't seem to use the structure elements of the language correctly where I am nesting if than blocks using begin and end. For example this gets me an Compiler Error "Identifier Expected" procedure InitializeWizard; begin...

InnoSetup - Disable dropdown list on Selected Components Menu

inno-setup
Is it possible to disable the dropdown menu that appears on the Select Components page of the installer? Will this negatively affect anything or can the user be fine with just checking the components he/she wants manually?

Inno Setup: Conditionally delete non-empty directory in user's home folder

inno-setup
I am creating the installer for my Windows application via Inno Setup. The application itself writes some configuration data to the user home folder, into its own sub-directory. Now during uninstallation I want to allow the user to select an option to delete that folder as well (which originally has...

Ms Access data still in database after Uninstall

vb.net,ms-access,inno-setup
I have an App that was designed with Vb.Net 2010 and it uses Ms Access 2007 for its database. The program executes fine but I found something funny when I uninstalled the program and re-installed it, data that I entered before I uninstalled are still in the new database even...

InnoSetup - Prevent installer from adding registry entries and being included in programs/features

inno-setup
I am not 100% sure how InnoSetup deals with the registry, but from what I can tell, it adds a few items to the registry even though I do not have any code under [Registry]. This is something we would like to eliminate if possible and we would also like...

Custom setup on operating system and architecture

inno-setup,pascalscript
I have been asked to have a setup procedure running in the following operating systems: Windows Vista (only x86) and higher (both x86 and x64) In order to restrict whole setup from running in older operating systems I added into [Setup] section the Minversion=0,6.0.6000 that corresponds to Windows Vista. I...

How to show Space required label in Inno setup

inno-setup
How to show Space required label in Inno setup? ...

Create a small web installer using Inno Setup

inno-setup,advanced-installer
I have created a software suite installer using Inno Setup. What I would like to do is to create a small installer and when executed, will download and execute that software suite installer. I know Advanced Installer has that package type: Web Installer (downloadable small EXE) Creates a single EXE...

Is it possible to add HTML form in Inno setup?

inno-setup
I have created a custom installer for a game. I need to update version of my installer with a new feature. The game needs to register to play online. So I need to embed register form from web page (or use HTML codes directly into Inno Setup pages after installation...

Inno Setup: Display desktop shortcut on Finish Page

inno-setup
We are showing restart options on finish page as restart is required after our product installation. If we show restart options on finish page we are unable to display checkbox on finish page. Is there a way to show both restart options and checkbox on finish page.

Inno Setup position a custom button relative to existing buttons

inno-setup
I am aware that is possible to create a custom button on any page and position it using absolute values using the following code: //Create the About button AboutButton := TButton.Create(WizardForm); AboutButton.Caption := '&About'; AboutButton.Width := ScaleX(75); AboutButton.Height := ScaleY(23); AboutButton.Left := WizardForm.InfoAfterPage.Left + 10; AboutButton.Top := WizardForm.InfoAfterPage.Height + 90;...

Automatic installation of .NET framework from InnoSetup installer

.net,inno-setup,setup-project
I'm using the following code to install the .NET package automatically procedure dotnetfx40full(); begin if (not netfxinstalled(NetFx40Full, '')) then AddProduct('dotNetFx40_Full_setup.exe', CustomMessage('dotnetfx40full_lcid') + ' /q /passive /norestart', CustomMessage('dotnetfx40full_title'), CustomMessage('dotnetfx40full_size'), dotnetfx40full_url, false, false); end; It's using this project. Please check cannot post full code here. http://www.codeproject.com/Articles/20868/NET-Framework-Installer-for-InnoSetup But after the .NET installer...

Where does Inno Setup IDE store its most recently opened file list?

inno-setup
I am using Inno Setup 5.5.5 a. When I start the Inno Setup IDE, a file list pops up. Where does Inno Setup store those file names? I want to remove one of them, because it no longer exists....

Where should a .NET Web Application store it's (non database) setting

asp.net,.net,inno-setup
I am building a Web Application that will be installed many times. The application needs to be able to save certain setting itself upon request. I have an installer (InnoSetup) but I want to very careful about what permissions I give the Web Application. I can't use a database. A...

How to disable “browse” button on defaultDirectory wizard page

inno-setup
I want to show the user to wich directory the program will be installed. But I do not want to allow him to change that directory. So I thought about disabling the "browse" button and greying the field where you can type a path (disabling anyone from typing in there)....

Installer programs (setup builders) that can manipulate data/ run scripts that can manipulate data for it?

scripting,installation,installer,inno-setup
I'm looking for an installer program (setup builder) that can manipulate data or basically run an external script to manipulate some data on the hard disk before running the actual setup file(primary .exe file to be installed) in order to facilitate the use of some customized user data for it...

Scale radio button list with font size

inno-setup,pascal
When trying to apply a custom installation mask with radio buttons (I used code provided here) I see I am unable to use higher fonts as a little spacing should be needed between one radio button field and another one.To give you a visual example : As default font size...

Inno Setup URLDownloadToCacheFile (solved)

inno-setup
Any time i try to compile this code, a get an error msg -> Type mismatch. Why? The first variant is called with the same "nil" and the compiler has no problem with it, but with the last? [Setup] AppName=MyApp AppVerName=MyApp DefaultDirName={pf}\MyApp DefaultGroupName=MyApp OutputDir=. [Code] function URLDownloadToCacheFile(const lpUnkcaller: variant; const...

Create shortcut based on result of Pascal function

inno-setup
I'm trying to create a shortcut based on the result of a Pascal function (which returns a path), but can't how to do it. This is what I'm trying to do: [Icons] Name: '{userstartup}\Myprog'; Filename: MyFunctionThatReturnsPath() + 'Myprog.exe'; But the function is never called, instead the filename is treated as...

Uninstall everything even “newly created file by Application” using inno setup

inno-setup
I create installer for My Application "Demo"(.Net app) using INNO Setup. Install and Uninstall works smooth when without launching our application. Uninstall not clean everything if Application is launch. Because my application update existing files and creating some files during Launch. So how can we clean everything after launch also?...

Microsoft SmartScreen - suspended using InnoSetup installer?

windows,inno-setup,code-signing
I always use InnoSetup for packaging and publishing. Users download the application using a link for example: https://oursite.com/codesigned/mysetup.exe Till now, it always worked but recently i have to renew my code signing certificate because its expired. After renew i have SmartScreen problem, every users download the application and gets this...

Automatically execute CreateDesktopIcon and CreateQuickLaunchIcon [closed]

inno-setup
I would like to automatically create a desktop and quick launch item for the user without having to ask him first. I am deploying my application in a few companies only, and they all have this need. Currently, Inno Setup shows this page where they manually have to check these...

What should be done to copy files from installed directory to another after installation complete using inno setup script?

installer,inno-setup
Let me know you my purpose first. I have some dynamilc link libraries being used by the application. For client requirement I need to copy them to System32 directory of windows. But I am facing some problem to do this. I have already checked this link before. But I couldn't...

How to show actual application size in control panel?

inno-setup
How to show application actual size in control panel Programs and Features ? I know i should use #define Myappsize but don't know proper way. Anybody please help. THANKS!...

Install fonts to Pc using inno setup

windows,inno-setup,windows-applications
I created a Windows Application and that app uses a particular font , So I need to install that font to the users system using inno setup. I used this code : Source: "ARLRDBD.TTF"; DestDir: "{fonts}"; FontInstall: "Oz Handicraft BT"; Flags: onlyifdoesntexist uninsneveruninstall But this code had no effect when...

Inno Setup Licence Agreement Font Color

inno-setup,pascal
I am trying to change color of text of Radio Buttons in the License Agreement page in WizardForm. I changed the background to black and want the texts white. Here is my code: WizardForm.LicenseAcceptedRadio.Font.Color := clWhite; WizardForm.LicenseNotAcceptedRadio.Font.Color := clWhite; Thanks...

INNO setup writing a multi line text constant to the registry

installer,inno-setup
During install I want to write a long multi line/paragraph chunk of text to a registry value writing to a registry value is easy enough [Registry] Root: HKCU; Subkey: "Software\my company\My software"; ValueType: string; ValueName: "Message"; ValueData: "some text" but I would rather define a multi line text constant to...

Inno setup subfolders with additional installation in “All Programs” list?

exe,inno-setup,drivers
I'm trying to create setup with Inno, I'm interested in how to add folder that will be shown as subfolder in programs directory in All Programs list. I'm planning to set some drivers in there, sho that user can start them manually from "All Programs" list, if they do not...

Conditional DisableProgramGroupPage in Inno Setup

inno-setup,pascalscript
I'm trying to create a single installer for both normal and portable installs. For the portable install I am disabling all icons and uninstaller creation. The only problem I am stuck at is how to disable program group page when running the portable install. Am I misunderstanding something here? [Setup]...

Innosetup task Page edit

checkbox,task,inno-setup
I want to edit the task page in inno-setup and make checkbox for: Install Visual C++ I have Tried- [Tasks] Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons} Name: vcredist_x64; Description: Install Visual C++; Flags: unchecked [Code] procedure CurStepChanged(CurStep: TSetupStep); begin if CurStep = ssPostInstall then begin var ResultCode: Integer; begin if...

How do I use multiple files with the same name with ExtractTemporaryFile?

inno-setup
InnoSetup has a function ExtractTemporaryFile that can extract a file temporarily Instead of installing it). E.g. to extract and run a 3rd party installer during setup. This function only takes a filename, so if there are multiple files with the same name you wish to treat this way, it doesn't...