When I compile the code below, it completes without errors, but when I attempt to run the setup file I get a type mismatch error. Can anyone tell me what might be causing it? (exact error message is "Runtime Error (at 1:66): Type Mismatch.")
[Setup]
DefaultDirName={code:AppDir}\MyApp
[Code]
function AppDir(Param: String): String;
var
...
Is there any way to disable <Next> button in Inno Setup?
...
I released a beta version of a dll driver a while ago that used a script based installer called Inno Setup, which did three things.
1) copied the dll file to a specific directory on the target file system
2) performed COM registration
3) executed a custom registration method that is contained in the dll
For the next release of this s...
When I set:
DefaultDirName={pf}\My program
in InnoSetup .iss file, it starts directory selection with this path correctly. However, if user press 'Browse' button and start navigating through filesystem, InnoSetup keeps 'My program' suffix at the end of path chosen by user. How to get rid of this?
...
I want to execute some code if a user checks a corresponding checkbox during the install. From reading the help file, it looks like the only way to use the task is to associate it with an entry in the Files/Icons/etc. section. I'd really like to associate it with a procedure in the Code section. Can this be done and if so, how?
...
Is it possible to get Inno Setup to read the file version of the main executable file and set the name of the created setup to something like "myapp_setup_1_0_3708_19805.exe"?
...
Currently we are using Innosetup as a bootstrapper to install the MSI prerequisites. It makes bit complex to maintain the setup. I found that burn tool which may help us to resolve this issue by having a single setup to install whatever we need. I could not find either documentation or sample for this tool. Is anyone have idea about this...
I have a InnoSetup project that I want to check if the application is actually running before uninstalling it. I tried many ways but it all fails silently when running in Windows 7. For example the following script that checks for notepad.exe process using psvince.dll always returns false regardless of notepad being running or not.
I u...
We have an application which we licence to separate companies. The app is customised to fit their brand; basically it is the same app but with a different theme file. We generate separate installers for each vendor as each app requires different configurations (servers to connect to, updates etc).
So each installer contains the same co...
I am making an installer using Inno Setup. I want to password protect the uninstallation. So my plan is to ask for the uninstallation password during installation, and save it into a file. While uninstalling, ask for the password from user and compare the passwords.
I could not find a way to let the user enter the password while uninsta...
I've created a basic windows service installation using Inno Setup. both install and uninstall works properly.
However, I'm having issues with the upgrade procedure.
In order to upgrade the service executable it is necessary to stop the service, and only after the service is completely stopped can the updated executables be placed in ...
Hi
I am deleting the previous application using the script which inturn calls my .net app. All i want is to actually delete the folder(entire app1) from start menu (start->Programs->app1->uninstall app1)?
Thanks
Gauls
...
Hello,
I have an old VB6 application that is deployed using a very old 16 bit version of InstallShield. I have created a new installer with Innosetup to be 64 bit friendly for my VB6 application with updates.
All of my users already have the existing InstallShield version installed. Currently, I have Innosetup working. The problem i...
Hi,
using INNO Setup I currently have the following entry under the [ICONS] section:
Name: "{group}\My App\My App - Command Prompt"; Filename: "cmd.exe"; WorkingDir: "{app}"
This shortcut launches a command prompt straight into my application's folder. Unfortunately it isn't launched as elevated which means the commands the user run...
Hi,
I'm using Innosetup as a bootstrapper for my msi setup. It packs the main mis file and other prerequisites. It works fine when we use full UI. Now i want to install the whole setup in silent mode. For InnoSetup we can give /SILENT OR /VERYSILENT. How can i pass values to msi (i.e., Unlock Key, Features to be installed etc.). If i i...
Hi
I'm using InnoSetup for creating my application installers and I set the "SetupLogging=yes" flag to always create a setup-log file in the %TEMP% directory. This works fine for the installation procedure. Unfortunately, InnoSetup will not create such a log file when I uninstall the application.
Is there a flag / possibility to force ...
Hi
I execute a lot of custom actions in my InnoSetup script in the CurStepChanged(ssPostInstall) PascalScripting event handler. As these actions take some time to finish, I'd like to update the InnoSetup Wizard GUI status text and tell the user what is going on behind the scenes. Something similar that is possible in the [Run] section u...
I built a little installer, which installs to program files. I run the installer and all is good, run the installed .exe and it just disappears. I guess at giving the EXE admin launch rights in Vista and it runs. But why is this needed? This can't be normal can it?
...
Hi,
During un-installation, user will be asked "Are you sure to uninstall ...".
Then the user will click either "Yes" or "No".
Is it possible to catch this on the script?
Because I need to execute an application at the end of uninstallation process.
If I execute the application during "InitializeUninstall()", that is not correct bec...
How can I append text to a file?
...