inno-setup

Vista Phantom Directory

We have a program that the installer checks for the existence of a config file, and if it exists, it doesn't copy that file over (it assumes the user has modified their config file and wants to keep those modifications). Unfortunately, this is a pre-Vista application and it keeps the config file in Program Files. The problem is, if you...

Conditionally install x64 drivers with Inno Setup

I am attempting to use Inno Setup to bootstrap a WiX generated .msi file with all required prerequisites. For the most part this is working quite well, but I cannot locate any information to conditionally install and run a prerequisite installer based on x86/x64, like I can in Windows Installer. Anybody have any luck with this? I am t...

msi return codes in Inno Setup

I would like to call multiple .msi files in silent mode, and halt the entire installation if any fail. Is it possible to get the return codes of msiexec.exe being called from the [run] section? Currently I can only see error messages in the windows event viewer. ...

Inno Setup as bootstrapper for .msi

I am trying to use Inno Setup to bootstrap a number of prerequisites to my windows installer installation package, and am having pretty good luck with this. Now I am wondering if the Inno Setup package can be made so that it doesn't appear in the Add/Remove Programs (ARP) windows option? I would like the separate installations to be ...

How do you make Inno Setup not look frozen while performing a long Exec?

The long Exec is installing .NET 3.5, and out script is based off this one: http://www.blackhillsoftware.com/blog/2006/06/26/using-innosetup-with-the-dotnet-framework/ The problem is that it's using "ewWaitUntilTerminated" because we need to capture the exit code. It's made a little worse by the fact that we're running it /passive /nor...

Vista & C# - Drag & Drop problem (not related to elevation)

Application in question is .Net 2.0 Framework WinForms. It is supposed to work on large user base (installation from CD). Installation done using InnoSetup. On two machines, application does not accept Drag & Drop (both application and source of D&D have same elevation level). By adding Read & Read&Execute rights to INTERACTIVE SID for...

Passing a string value to Inno Setup from command line app

The scenario is that we have a client/server app with the client install being a bootstrapper using Inno Setup that downloads the client from the server specified by IP/Port number. We'd like to be able to detect if there is a server on the local network via UDP broadcasting, and can write a console app that does that. Problem is, how ...

How to configure Inno Setup to uninstall everything?

I am new to Inno Setup. Stuck on one issue ~ how to configure the uninstall piece to remove all files, folders, subfolders, and even new files/folders etc. created by application (in other words, a 100% removal of the application and associated files). I hunted around here and also on their forum, and came up empty. Can anyone point me ...

Unattended Install SQL Server 2005 gives Workstation components error if components already installed

Hi, I have asked a similar question previously but it was never resolved so here I am again! I have an unattended installation of SQL Server 2005 that works great when installing SQL Server on a machine that does not have it already installed. I use the following parameters when I perform the installation (this is installed automatic...

Get a files last updated time using pascal (innosetup)

In the uninstall portion of an innosetup script, I'd like to add a check to see if a specific file's last update datetime occured within the last 10 mins. Does anyone know the innosetup compatable pascal code for this? ...

inno setup extracting files at the start up setup instead of the end

Hi, I am using the latest version of inno that does the following during setup: [1] Perform dependency check to see what is installed [2] Installs dependencies that are not already installed (.net, sql server, directx etc) [3] Install the application and the files from the [Files] section (wpReady) [4] Checks SQL Server for previously ...

How to upgrade an MSI install using Inno Setup installer?

We recently moved from a Visual Studio setup msi-based installer to Inno Setup but we're having issues with upgrading existing installs using this new installer. I know that the upgrade code remains static even as the product code changes every update, so I initially tried to set that as the AppId in the Inno Setup project, but that doe...

How to cancel installer using Inno Setup?

I am using Inno setup to install a product of mine, in the setup I execute an extern program (Validator.exe) if this program is canceled or aborted I have to cancell my own installer. I save the Validator.exe in {app} path and the execute it. When the installer is running I call Validator.exe file and I get the result of the execution ...

How do I detect whether I'm installing on a Terminal Server in an InnoSetup script?

My setup should behave slightly differently when the program is installed on a Terminal Server. I know about GetSystemMetrics(SM_REMOTESESSION) but as far as I understood that will only tell me whether I'm running inside a RDP session. It would not catch the case where the server admin is logged on locally to install software, or would i...

How do I get a registry value in Inno Setup when the value only uses the default name?

I'm trying to get the install directory of an application from the Windows Registry (Google Sketchup in this case) with Inno Setup's Pascal scripting so I can install a plugin there. The registry key doesn't have a name, it just has "(Default)" in Regedit. I tried this: RegQueryStringValue( HKLM, 'SOFTWARE\Google\Google Sketchup 6', ...

Problem calling dll function with parameter in Inno Setup

I am successfully calling a function in a DLL from Inno Setup, however upon returning I get a Runtime Error...Exception: Access violation at address XXXXXXX. Write of address XXXXXX. The function is declared as: function CompleteInstall(szIntallPath: String) : Integer; external 'CompleteInstall@files:InstallHelper.dll stdcall setupon...

Run another installer in an Inno Setup installation

My company is developing an application that has a dependency on another of our applications. That second application already has an Inno Setup installer. So I think I'd like to bundle the second application's installer within the Inno Setup installer for the first application. But I'm not sure how to go about that properly. Does anyone...

Adding an application to OpenWithList with Inno Setup

I'm trying to write an installer for an app I created. I found a suggestion elsewhere that I was trying to follow and it mostly worked. My app is now in the "Open With" list. However, the app won't run at all. Could it be that it's because the app is not being started in its directory, so it can't find the dlls? Root: HKCR; Subkey: ...

Admin user always prehend initial user

Using an InnoSetup script (that seems to work fine under XP/Vista), i've a strange behavior under Seven RC: here is the [Files] section: [Files] Source: *.ico; DestDir: {app}\bin; Flags: ignoreversion Source: dist\*.*; DestDir: {app}\bin; Flags: ignoreversion Source: catalog\*.*; DestDir: {userappdata}\JetWorksheet\catalog; Flags: recu...

making software setup package issue

Hello everyone, I am making software setup package, and previously I am using Inno Setup, and it works very good. The current issue I met with Inno setup is, it does not support all languages for the setup UI, for example Simplified Chinese. The setup project of VSTS 2008 supports almost all languages, but it does not support invoke a...