Questions tagged [inno-setup]
Inno Setup is a tool to create setup programs with an embedded Pascal-derived scripting language.
4,638
questions
-3
votes
1
answer
38
views
What are steps to Integrate SqLite in Exe Setup of JAVAFX Application in eclipse
I have created an application in eclipse using JAVAFX. I have included SQLite in build path as shown in image. Then, I created the Executable JAR file as shown second image. Then, created EXE using ...
-1
votes
0
answers
16
views
Disable Ignoring replace errors
I'm using Inno Setup to deploy my Windows desktop application.
The user can install an update by simply installing a new version over the old one.
The only requirement is that old files can be ...
2
votes
1
answer
50
views
Inno Setup RegKeyExists returns False although the key exists
Can someone tell me what is wrong with this code?
[Code]
const
OldVersionRegKey = '\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{#MyAppId}_is1';
var
HasOldVersion: Boolean;
function ...
0
votes
0
answers
32
views
Inno Setup - delete a temp folder
When I want to delete my application (that was installed through an installer with Inno Setup), anything related to it should be removed from my drive.
So my goal is to also delete a temp folder that ...
-1
votes
0
answers
26
views
How to create custom installer for inno-setup 5.5.1
I am use inno-setup version 5.5.1 How i can implement custom installer with custom style ?
P.S I am find graphical installer for inno-setup, but its work only for version 6... I am tried to update my ...
1
vote
1
answer
35
views
Changing restart message on Inno Setup Prepare To Install page
I am building an installer in Inno Setup v6.2.1 with prerequisites, which include .NET, runtimes, and KB fixes (Windows 7 SP1). The goal is to do potentially several reboots depending on if the ...
0
votes
2
answers
67
views
Innosetup code signin not applying for all the files. How to fix that?
We are using a setup creation tool called Innosetup to get the final installation file.
In there we are using signtool.exe to sign all the files of our app.
We put necessary details in these boxes
We ...
2
votes
1
answer
76
views
How to access the ItemIndex property of the TNewComboBox class?
Goal
I'm helping out a friend make an installer using InnoSetup in Conjunction with VCL-Styles plugin. I currently trying to access an index which is supposedly linked to each choice in a ComboBox and ...
2
votes
1
answer
32
views
Make installer capable of installing addon files to various applications in Inno Setup
I have a set of files (scenery data of an airport) that should be installed to one of several applications (3 different flight simulators) depending on the target applications being installed. If more ...
2
votes
1
answer
59
views
Decide which files to install in Inno Setup based on registry value
I am preparing a setup file. What I want to do is auto select a component by comparing a registry key version and the user should not be able to modify these auto selected components.
Is there anyone ...
0
votes
0
answers
34
views
Inno Setup. AfterDownload event for a long list of files
Suppose to use the example CodeDownloadFiles.iss and I would like to move downloaded files from the Temporary Download folder. Well, I tried to use the function OnDownloadProgress but it seems that ...
1
vote
1
answer
52
views
Making an Inno Setup installation run silently by default [duplicate]
Inno Setup has a /VERYSILENT option, which suppresses wizard and progress windows. I would like this behavior to be the default when the executable is run without parameters.
Is there a way to achieve ...
0
votes
1
answer
33
views
WPF application doesn't run after InnoSetup [duplicate]
I have an WPF app, that I want to publish using InnoSetup. innoSetup compiles everything without errors. When I run installer, everything is ok and program installs. But then it doesn't run at all. ...
0
votes
0
answers
15
views
Elegantly using try / catch with dotnet constants in Inno [Run] section [duplicate]
This started life as a discussion here and it boils down to the following [Run] entries:
Filename: "{dotnet40}\regasm.exe"; \
Parameters: "PTSTools_x86.dll /codebase"; \
...
3
votes
1
answer
43
views
Display number of downloaded files on Inno Setup TDownloadWizardPage
Suppose that I'm using the example CodeDownloadFiles.iss and I would like to notice to the user the Status of Download writing the number of progress file download "N of Y file".
I thought ...
1
vote
1
answer
26
views
Run ngen.exe after Inno install finishes but, before user can launch the app
I am able to run the following in the cmd console and it works. I can see the difference when the app is loading and when executing task within.
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ngen....
2
votes
2
answers
46
views
Selectively unregistereing and deleting a DLL dependant on another app being installed or not
In application B I have this code in the [Run] section:
Filename: "{dotnet40}\regasm.exe"; \
Parameters: "/u PTSTools_x86.dll"; \
WorkingDir: "{app}"; \
Flags:...
3
votes
1
answer
75
views
Check if .NET 5.0 is installed in Inno Setup
I have the following .iss script to compile a games launcher I'm working on that uses .NET 5.0. Currently it tries to install .NET 5.0 from the installer it has every time instead of checking if its ...
2
votes
1
answer
70
views
Validate directory path in Inno Setup
If you enter an invalid path or empty path, the Inno Setup will give you this error:
I need to create a function which does this for me. Currently I'm using DirExists function, but I think it is not ...
1
vote
0
answers
37
views
Using Arabic text in Inno Setup
Why is is that this custom message:
[CustomMessages]
Arabic.NowInstalling=جار التنزيل %1
... is showing differently in Inno Setup?
The %1 shows in different position.
2
votes
0
answers
49
views
Access 2016 DB in Trusted Location still showing security warning for path location
Been puzzling over this for a few days.
I install a compiled Access 2016 database (accde) into a %localappdata% program subfolder and add that folder to an Access Trusted Location. Kind of following @...
8
votes
1
answer
86
views
How to call .NET DLL from Inno Setup using DNNE?
I have previously successfully used Unmanaged Exports and DllExport to use .NET DLL files with Inno Setup.
However now I am trying to get it to work with DNNE.
I have the following C# code targeting ...
0
votes
0
answers
25
views
Can I turn this into a [Run] entry in Inno Setup? [duplicate]
In one of my installers I has a [Task] entry:
[Tasks]
Name: "downloadhelp"; \
Description: "{cm:DownloadHelpTask}"; \
GroupDescription: "{cm:DownloadHelpGroup}"; \...
2
votes
1
answer
33
views
Share registered .NET assembly between two applications installed with Inno Setup
I have application A.
In the [Run] section I have two entries:
Filename: "{dotnet40}\regasm.exe"; \
Parameters: "MSAToolsLibrary_x86.dll /codebase"; \
WorkingDir: "{...
0
votes
0
answers
31
views
Embed file data into / retreive file data from Inno Setup
Based on these posts,
Writing binary file in Inno Setup
Inno Setup: Reading a file from installer during uninstallation
What is the full code to embed the Bitmap image data into Inno Setup during ...
3
votes
1
answer
57
views
Read text file line by line in Inno Setup
I'm trying to read a text file line by line using Inno Setup.
I have tried this one that mentioned here: https://jrsoftware.org/ispphelp/index.php?topic=fileread
function ShowLines(): Boolean;
var
...
0
votes
1
answer
29
views
Read path of uninstaller from Registry and run, if existent [duplicate]
Problem (EDITED) In an InnoSetup script I have to uninstall another installation of my program, which has previously been installed by InnoSetup, too. Although it regards the same program in this ...
2
votes
2
answers
50
views
Install the same file to all subdirectories in Inno Setup
I am newbie with Inno Setup and I have been reading some threads but could not find how to do the following.
I simply would like to search for folders within a directory and in each folder detected ...
-1
votes
1
answer
50
views
Inno installer: How to use hi-res desktop icon?
I have a couple of questions about Inno.
One is that I have a hi-res good-looking desktop icon that I made 256x256. But when Inno installs it, a low-res one appears on the desktop.
(The one appearing ...
0
votes
0
answers
35
views
Inno Install for multiple users in a Local PC
The requirement is, in a shared PC admin want to install the software for selected users if AppData folder exist for the user. Users can be local or remote but the profile data should exist in the ...
0
votes
1
answer
56
views
SWbemServicesEx Innosetup
I have made an installer for my program with Inno Setup and it has been worked fine so far,
but it gives error in one system : (The system is Win7-64 bit)
SWbemServicesEx: Generic failure
The code ...
1
vote
0
answers
40
views
Inno Setup - How to fill a button with an image in Inno Setup?
Base on this question:
How to create an image button in Inno Setup?
How to fill the entire button with the image in Inno Setup? At the same time use different images on one button such as for, mouse ...
1
vote
1
answer
99
views
Detecting if WebView2 Runtime is installed with Inno Setup
There is a good discussion about this here on the Microsoft website:
Detect if a suitable WebView2 Runtime is already installed
In part, it states:
Inspect the pv (REG_SZ) regkey for the WebView2 ...
3
votes
1
answer
47
views
Adding image to Inno Setup uninstaller background
This is the code to fill the background of the Inno Setup with an image, and hide the inner and outer panels, taken from Inno Setup - Image as installer background:
procedure InitializeWizard();
var
...
0
votes
0
answers
24
views
How to insert the title of a third-party application in the TLabel?
I need to launch a third-party application and display its title(TaskBar content) in TLabel. How is this possible to implement? Unfortunately, I cannot modify the application that needs to intercept ...
-2
votes
1
answer
120
views
Why does Inno Setup fail while Extracting jar files?
For years I've used Inno Setup to build the installer for my rather large Windows app. Recently, Run began to fail while extracting the jar files. When this happens the dialog stays on the screen, ...
2
votes
1
answer
57
views
Change position of restart option radio buttons in Finished page of Inno Setup
How to change the location of these controls?
The restart radio buttons do not seem to be changing its location even when you change it using .Top.
Here is the code:
[Code]
procedure InitializeWizard;
...
2
votes
1
answer
51
views
In Inno Setup create page where the user may select files from a folder that is packaged in the setup file
In Inno Setup I want to create a page that has a list of checkboxes that correspond to the files in a folder I have listed in the [Files] section.
How can I read the files in this folder and then copy ...
0
votes
0
answers
34
views
Inno setup UninstallRun and interactive process [duplicate]
In Inno Setup, if in the section [UninstallRun] I launch a non-interactive .exe, it works. But if I launch an interactive .exe (mini VB.Net application which asks through a form the reasons of the ...
0
votes
0
answers
38
views
Inno Setup script not install. Displays error: "Internal error: .Net Framework not found" [duplicate]
Can anyone shed light on this Inno Setup error that one of my users is getting?
He can install the same software on another computer with no issues. I asked him to supply me with his log file (the ...
0
votes
0
answers
23
views
Inno Setup - How to add picture box to progress dialog? [duplicate]
This code adds a picture to the licnese agreement wizard page,
picLicense := TBitmapImage.Create(WizardForm.LicensePage);
with picLicense do
begin
Parent := WizardForm.LicensePage;
Left :...
0
votes
0
answers
41
views
How to change the radio button color in the LicensePage? [duplicate]
How to change the radio button color in the LicensePage?
The following code does not work:
with WizardForm do
begin
LicenseAcceptedRadio.Font.Color := clWhite;
end;
It would seem that the ...
2
votes
1
answer
25
views
How to change font / increase font size of Radio button on Inno Setup CreateInputOptionPage
I have added a new page - CreateInputOptionPage
added a few options.
wpWizardPage.Add('Option A');
wpWizardPage.Add('Option B');
wpWizardPage.Add('Option C');
I want to increase the font size of the ...
2
votes
1
answer
43
views
Should I give my app write access to Program Files?
I've built a standalone desktop app using Dash by Plotly. To deploy it I'm using pyinstaller to create an executable and Inno Setup to create an Installation Wizard for the user to install the app. ...
0
votes
0
answers
45
views
How to validate mssql server credentials
In my project, I use Inno to run a .sql script to create a database. I use a custom page to write SQL Server instance name user and password to run the script.
I would like to add the validation of ...
3
votes
1
answer
49
views
Installation steps on left side - Inno Setup
Inno Setup - I want to create an installer similar to the screenshot.
The installer should highlight the current step on the left side.
How to achieve the same?
2
votes
1
answer
45
views
Filling with image [duplicate]
I am using the following code to add a background image,
function Page1_Create: TWizardPage;
var
Page1: TWizardPage;
// Fonts
// Pictures
PictureBox2_PictureName: String;
// ...
2
votes
1
answer
83
views
Change the entire font name of all dialogs (part 2) [duplicate]
Based on this post,
Change the entire font style of all dialogs
How to change the font text of the entire installer in Graphical Installer?
When you create the installer using this tool, it creates ...
0
votes
1
answer
43
views
MySQL setting in Innosetup
In Innosetup I can create a new user without any problem.
The only issue I have, is that I have to set the amount of Simultaneous connections to 200 and this is what I cannot get working.
Does ...
2
votes
1
answer
33
views
Playing native Windows sounds in Inno Setup
In there any way to play Windows native sounds using Inno Setup?
For example I'm showing a custom message box, and I need to play Windows warning/info/error sound before showing that message. Any way?