inno-setup

Building Installation Disk for My Delphi 2010 Application

Dear All, Can someone please give me a step by step on how to build an installation disk for my Delphi 2010 application? I have tried both InstallAware Express Edition which comes with Delphi 2010 but keeps on giving me error message for it continue to look for *120.bpl instead of *140.bpl I have also tried InnoSetup with ISTool but f...

In inno setup how to set the unins000.exe with product name, product version and copyrights properties

I have created an installer using inno setup. Everything works fine but after installation unins000.exe will be generated, this exe doesn't have product name, product version and copyrights properties set. Can any one explain me how to build the installer so that unins000.exe will contain these fields. ...

InnoSetup: Getting AppName in [Code] section

I'm creating an installer using InnoSetup, and writing some custom handlers in a [Code] section. In one of the handlers, I would like to be able to retrieve the value of the AppName (or, potentially, the value of other parameters) defined in the [Setup] section. Is there a way for me to do this? I've looked though the documentation, but ...

innosetup problem

i want to put the prerequisites using the script in innosetup how can i do it and when i have developed the setup using innosetup the desktop icon created is not going to launch the application. what to do plz help me ? thanks in advance. ...

Changing AppID and AppName based on user input

I want to install the same application multiple times on the same system, for example for two user using two different web services (each one has their own). In in my setup script I want to change the AppID and AppName based on input from the user (for example my default AppName="Service App" should be changed to AppName="Service App O...

InnoSetup: How to automatically uninstall previous installed version?

I'm using InnoSetup to create installer. I want the installer to automatically uninstall the previous installed version, instead of overwriting it. How can I do that? ...

Basic email validation within Inno Setup script

I'm wanting to do a basic string validation within an Inno Setup script to be relatively certain the string is an email address. I just want to see that there is a '@' character followed by a '.' character and that there is at least one character on either side of these. Something similar to this regular expression: [^@]+@.+\.[^\.] Th...

Can one use environment variables in Inno Setup scripts?

I need to find a way to reference environment variables INSIDE the Inno Setup script file (.iss)... I've found plenty of references to MODIFYING the environment from an .iss, but none on how to actually use it. Is this possible? ...

How can I set the exit code in Inno Setup?

I want to set the exit code for my installation, this way I will know why the installation was aborted. I'm using Inno Setup. ...

Is it possible to upload files by using inno setup?

Hi. I'm searching for a way to upload my installation log files at the post install by using inno-setup. the upload is to my FTP server. ...

SQL Server 2008 + C# + Inno Installer

Hi there! First off I´m new here, so, I'd say HELLO EVERYONE and thanks for years of helping. I have the following problem: I need create a installation of a C# app that uses SQL Server 2008. I am using InnoSetup Installer because I thought it could be the best choice, but I have no clue how to install SQL Server 2008, and several dat...

How to read custom values from INF file in Inno Setup?

Setup programs created with Inno Setup could read an INI file through /LOADINF option. Is it possible to read custom variables through this INI file? Is there a function to get the name of the INI file given with this option? (Then it is possible with the INI utility functions.) ...

How can I revoke file removal scheduled by the previous installation with Inno Setup

I have release an application with Inno Setup. Sadly this application had installed a DB file as a source file, so if the application is uninstalled then entire DB file is removed. I'm going to release a new version soon. I would like the new version to override previous one, not install DB file at all and instead create the DB by the a...

Inno Setup - Conditional Parameters

Hi Folks, I'm trying to setup a situation in InnoSetup where it will do something by default, unless a parameter is specified to do things differently. I'm using Inno Setup Processor, and am looking at providing a #defines, but it cannot be compiled without it, and supplying a #defines parameter when one already exists keeps the origion...

Inno Setup: uninstall process can't remove MSIMG32.DLL from {app} folder whatever I do.

What kind of magic has this 'MSIMG32.DLL'? Why can't inno setup delete it? Edit: this file was just added to {app} using [File] section, at the end of uninstall I get the message "Some elements could not be removed. These can be removed manually." what is referred to MSIMG32.DLL exactly. ...

Inno: createoleobject on uninstall failed

I'm trying to create an OLE object during uninstall but it keeps failing with the message that MSXML is not installed. However it runs perfectly on install. begin // Create the main MSXML COM Automation object try XMLHTTP := CreateOleObject('MSXML2.ServerXMLHTTP'); except begin Log('Read_Thunderbird_Install_Info() - ...

How to use Inno Setup to update a database using .sql script

I'd like to compile a setup that will connect to a remote database using the credentials provided by the user, then install few db components using .sql script. Is that possible using Inno Setup? More details: I'd like to have a custom form, asking the user to enter the database address and credentials, then run a command that will ex...

INNO Setup: Defining Configuration Files in Setup Package

This is probably a simple fix but I can't seem to wrap my head around it. I have an app to install that will need the user to select 1 of 3 possible INI files to accompany the install. I could easily do 3 different setups, each using a different INI but I would like to simplify matters and just give the user the choice of INI at the ti...

Calling MYSQL from inside an Innosetup project.

Hi I'm writing an installer for some software that uses MySQL. I'm trying to run a .sql script to set up the database on install. Alas I'm having big problems getting it to execute at the moment. The issue seems to arise from the fact that the moment you put a path to the .sql file inside the --execute="SOURCE " command everything f...

Switch to the finish page in Inno Setup installation

I added a few custom pages to my setup. In one of this custom pages I do some checks. If this checks failed, I want switch to finish page. How can I do this? I can not do this with ShouldSkipPage event function because: function ShouldSkipPage(PageID: Integer): Boolean; begin // this will NEVER happened - see documentation below if...