inno-setup

How to shown an Hyperlink in Inno Setup?

I'm making a validation in my Inno setup installer to check whether or not a Microsoft update is installed on the machine, if not, I'm showing a simple message box telling the user that the update is required, this is the message code: MsgBox('Your system requires an update supplied by Microsoft. Please follow this link to install it: h...

Creating a text file with Inno-Setup

I've got a dialog box which is taking in a software activation code that needs to be stored in the {app} directory. I've been trying to do this with Pascal, but Inno-Setup doesn't have the type "Text", so I'm a bit stumped (I've never used pascal before today, so I could be missing something obvious). Has any one done this before? Any i...

Uninstall fails because program is running. How do I make Inno Setup check for running process prior to attempting delete?

Inno Setup fails to remove components during uninstall cause my program is still running and the executable cannot be deleted. How do I have it check to see if it is running before allowing uninstall to proceed? ...

pygtk + py2exe + Inno Setup -> icon for shortcut

When I do the following in my setup file, windows=[ { 'script': 'gulhane.py', 'icon_resources': [(1, "icon.ico")] } ], Python crashes and I am unable to run the script using python setup.py py2exe. So, I do not use the icon_resources field in "windows" but I add the file in the form of a data_file, data_files=[ ('gui', [ 'gui/icon.i...

Is it possible to 'Pin to start menu' using Innosetup?

I'm using the excellent Innosetup installer and I notice that some Applications (often from Microsoft) get installed with their launch icon already highly visible ('pinned?' ) in the start menu (in Windows 7). Am I totally reliant on the most-recently-used algorithm for my icon to be 'large' in the start menu, or is there a way of promot...

installing gadget to user desktop

Is is possible to install gadget to user's desktop somehow? I believe its needed to copy files to folder: C:\Users\curusername\AppData\Local\Microsoft\Windows Sidebar\Gadgets\test.gadget but how to register/activate my test.gadget? Is it enough to shell execute test.gadget? ...

Building Inno Setup installer for MSI files

Hi, I'm building a deployment for a work environment, and doing it with Inno Setup. I wrap the other installers in one Inno-exe-File. It's working fine with other exe installers, but fails when it comes to MSI installers. I don't know if there is any general problem, but it completely ignores my file association with the MSI exe (it w...

Inno Setup uninstall executable location and name

Can I configure it to be placed in the same location (C:\windows\something) that .msi files produced by windows installer are hidden in, instead of in C:\Porgram Files\MyAppFolder\? Also can I change the name to something more obvious in intent than unins000.exe? ...

Error in PDFCreator setuplog.txt Port and Print Monitor

I am trying to create a setup for SourceForge PDFCreator using Inno Setup and getting following error in Setuplog.txt: Printerdriver-Directory (Environment: Windows 4.0): Result: Success = C:\WINDOWS\System32\spool\DRIVERS\WIN40 Printerdriver-Directory (Environment: Windows NT x86): Result: Success = C:\WINDOWS\System32\spool\DRIVERS...

Inno Setup Problems

Dear all, I have two problems with INNO Setup? How do I check if an env. variable exists and has a value? (I'm interested in %VS90COMNTOOLS%) How do I run the installer with elevated rights? (Display the UAC window and ask for more rights) Thanks, Jan ...

Inno Setup installer package supplied file list

Hi Guys, I've got a "Project" containing a mixed set of files that my application compiles into an installable using InnoSetup. Many of the project files are system or configuration files, and not relevant to the actual install. Therefore, i want to include only the relevant files in an installer. I have a list of them in my application...

How do you distribute an HTML/Javascript web app?

I've built a web page using HTML and Javascript that acts like a desktop app. I'd like to distribute it to users in the methods they are most familiar with. For Windows users, I think this is an installable application or a "setup.exe" file. My app, however, works perfectly in the browser. Specifically it can be opened in a javascrip...

Innoseup - no error reporting on #include scripts?

I'm using Innosetup and I've started getting modular with the "#include Slave.iss" construct. Today I noticed that compile-time errors in the Slave.iss seem to be ignored, although correct lines are processed, for example a missing file in the [Files] section is correctly highlighted in the master.iss but not in the Slave.iss. This is po...

Modifying the color scheme for an Inno Setup Installer.

Hi. I've been playing around with Inno Setup 5.3.6; trying to customize the installers colors. Mainly the banner that appears at the head of the installer. But as of yet i have no luck finding a way of doing this easily. After reading through the documentation i found the BackColor, BackColor2, BackColorDirection and BackSolid paramete...

[Inno Setup] Why would an ocx control not register properly?

I am writing an app that needs to use a third party ocx control. In my Inno Setup script I include the line: Source: C:\aPath\aControl.ocx; DestDir: {app}; Flags: restartreplace sharedfile regserver It looks like the control is registered, but the installed app gives me EOleSysErrors that the control isn't registered when working in Wi...

How can I make Inno Setup ignore empty directories?

My Inno Setup script includes a directory: [Files] ... Source: C:\MyProg\Tools\*.*; Destdir: {app}\Tools ... But sometimes this directory is empty and in that case Inno Setup stops with an error "No files matching ...". My current workaround is adding an empty dummy file to that directory. Can I make Inno Setup ignore this director...

Inno Setup custom welcome page

How can I customize the welcome page of an Inno Setup installer? I want to create an installer similar to Skype's installer with only 3 pages: Custom Welcome Page with some options Progress Page Finish Page with "Run Program" option But all the code samples I've seen only allow customizing the wizard after the welcome page. Apparen...

Make shortcut in start menu with innosetup

I made an installer using the ISTool wizard and everything is fine. Under my program name in the start menu, I have MyApp MyApp Help Now, I want to add 2 more entries that are identical to the first (MyApp) but that passes a command line argument to the executable MyApp MyApp (Console Mode) MyApp (Remote Admin Mode) MyApp Help Shou...

How do I call a vbs script from Inno Setup script with cscript and vbs arguments?

The following is an entry I'm using to attempt to create a virtual directory in IIS 6: [Run] Filename: {tmp}\cscript.exe mkvirtdir.vbs; Parameters: "-c LocalHost -w ""Default Web Site"" -v ""ectUpload_Server""", {app},""ectUpload_Server"""; WorkingDir: {tmp}; Flags: skipifdoesntexist; StatusMsg: Creating IIS Virtual Directory" I get t...

Why doesn't Inno Setup compiler set the version info correctly from hudson?

If I run Inno Setup compiler from a command line/batch file it creates an exe with the version information in the file name. However, when I run from hudson (same command line) I don't get the version information. Perhaps I am missing something. Is this a known issue? This is the way I am doing it in the iss script file. #define...