inno-setup

How can I call a .NET DLL from an Inno Setup script?

I want to call a function from a .NET DLL (coded in C#) from an Inno Setup script. I have: marked the Register for COM interop option in the project properties, changed the ComVisible setting in the AssemblyInfo.cs file, added these lines to the ISS script: [Files] Source: c:\temp\1\MyDLL.dll; Flags: dontcopy [Code] ...

Adding assemblies to the GAC from Inno Setup

Until recently we were using Inno Setup for our installations, something I would like to continue doing, unless we can get an uninstall option in the start menu (thanks Giovanni Galbo), however we now need to GAC some external libraries, something I suspect is only doable (or at least only supported) though the .NET Setup Project. Is it...

Is it feasible/sensible to wrap an InnoSetup installer inside an MSI for easier distribution via AD?

Our installer is written with InnoSetup and we are actually quite happy with it. Yet some customers keep asking for an MSI installer which they could more easily distribute via Active Directory. We have already gone to some lengths to make the installer deal really well with automated and unattended installations by extending InnoSetup's...

How do I use Inno Setup to optionally install a plugin/file in a folder based on a registry entry?

Inno Setup is a nice easy to use installer. It is rated high in this stackoverflow question. I have a need to install a plugin to a folder relative to the installation folder of a 3rd Party application. It isn't obvious from the docs how to do this. ...

Anyone know of a solid .NET Framework 2.0 installer script for Inno Setup?

I've spent a good part of the day searching, writing and finally scrapping a script that I can use with my Inno Setup install script that will download and install the appropriate .NET 2.0 Framework if needed. There are definitely a number of examples out there, but they: Want to install Internet Explorer if needed which I wouldn't da...

Inno Setup: Capture control events in wizard page

In a user defined wizard page, is there a way to capture change or focus events of the controls? I want to provide an immediate feedback on user input in some dropdowns (e.g. a message box) ...

Is it possible to automate the creation of a inno setup package with ant?

I am creating an Eclipse RCP application. I am following Joel's advice in the following article "Daily Builds are your friend": http://www.joelonsoftware.com/articles/fog0000000023.html So, I've written a nice build script that creates an Eclipse RCP product and that runs unit tests on the code. All results are then distributed to th...

How do you pass commands to a cygwin console in Windows using Inno Setup

I've tried variations of this, but had no luck other than the ability to start a cygwin window. (wrapped on ; for clarity) Filename: "c:\cygwin\bin\bash.exe"; Parameters: "-c c:/scripts/step1.sh paramX"; Flags: shellexec waituntilterminated; StatusMsg: "Running the script..." (this is for an internal install, thus cywin is insta...

How can I rename a ini file in Inno Setup?

I have this in my installer and I need to change the name of the ini file. [INI] Filename: {app}\bin\old.ini; Section: Data; Key: key; String: Value; If I just change the filename it will create another ini file and I'll lose the data. Is there some easy way to rename this ini file in the installer? ...

Function pointers in INNO Setup

Are function pointers supported in INNO Setup? I can't find anything in the documentation. I know Delphi/Pascal supports them and as the INNO scripting engine is based on it, I'm hoping it is supported. ...

Automated-build version number with WiX, Inno Setup, and VS2008

Basically what I need is an automated way to update the product version number in WiX (3.0 with Votive etc), and then get that version number into an Inno Setup "bootstrapper" I pretty much have the process mostly automated, however version numbers still need to be updated manually which obviously isn't ideal, but I couldn't find how to...

In Inno Setup is it possible to add conditional statements to what in the [Run] section gets executed?

Alternatively is it possible to manually update the built in progress bar? Basically I have 2 MSIs included and using Inno Setup as a bootstrapper, and depending on user input one or both of the MSIs are to be installed. I have something working using Exec statements in CurStepChanged but it doesn't update the progress bar as the files ...

INNO: Disallow "Ignore" when file is in use.

I am using Inno Setup for the installer for my windows application. If a user has the application when the installer is run (eg. for an update), the installer will stop when it is unable to replace a file in use, and it allows the user to select whether to Abort, Ignore, or Retry. I would like it to only allow Abort or Retry and remove ...

Inno setup: hide files

How can I hide the files while installing my application using an Inno Setup made package? It can be hidden by "[files] attribs : hidden" but it again can be seen by activating the windows option "Show hidden file" How can I hide it permanently to avoid user tempering with EXE file? ...

INNO Setup: How to implement file update based on different versions of the application

I have an application written in Delphi that has several versions that contain binaries and database (MDB) with catalog data. During the product life cycle fixes/enhancements are either in database file or in some binary files. Version are preserved in Registry. Users might have different versions of the program when new patch is ava...

Friendly Windows Minimum Version in InnoSetup

I can set the minimum version required (for example XP SP3) in Inno-Setup by going MinVersion=0,5.01.2600 However, that leads to the rather unfriendly Message Box: This program requires Windows NT version 5.1.2600 or later. Is there any way to have this say instead: This program requires WindowsXP Service Pack 3 or later. ...

Determine if flash OCX is installed?

What is the best way to determine if the flash ocx is installed in Innosetup (or any installer for that matter). I don't want to attempt to install it myself, I will simply force the user to go to the flash site and install, I just want to make sure that the flash.ocx (version 9+) is installed. Is it enough to check for HKEY_CLASSES_RO...

How to install SQL Server 2008 Express with Inno Setup?

anyone have script or procedures to install SQL Server 2008 Express, set up the database for the app and finally install a client .NET WinForm application? ...

Deploying Crystal Reports Basic for Visual Studio 2008

I am developing a chained installer including the .msi installation of Crystal Reports Basic (10.5) using Inno Setup. I cannot find any deployment guidance to determine if this is already installed on the target PC, though it appears I can call the .msi multiple times and it always attempts to install (never goes to the typical repair/r...

How do you pass in parameters to the Inno Setup command line compiler?

It was suggested in the IS newsgroup to use /D= but using the iscc.exe that came with version 5.2.3 I get an "Unknown option:" error. Then in the script, how do you use the value of the command line parameter? ...