inno-setup

Inno Setup uninstaller VersionInfo

女生的网名这么多〃 提交于 2020-01-11 03:44:08
问题 I use Inno Setup for my installers. I have a problem with VersionInfo inside unins000.exe . For filling VersionInfo in installer I used directives AppPublisher , AppCopyright and etc. But it doesn't affect setup uninstaller unins000.exe . Google and help doesn't know anything about this issue. I investigated Inno Setup sources and found appending VersionInfo just for setup file: { Update version info } AddStatus(SCompilerStatusUpdatingVersionInfo); UpdateVersionInfo(ExeFile,

Show License Agreement link in Inno Setup while installation

久未见 提交于 2020-01-11 03:08:26
问题 I am using Inno Setup for my application. I want to show a link (License Agreement) in Inno Setup while installation (except separate License Agreement Wizard). I want combine this link with some task. When user clicks that link it will navigate to particular URL. 回答1: I know I'm quite late here... The following code script creates the License Agreement link label in the bottom left part of the wizard form. That label has a blue underlined font and a hand cursor on hover so it looks and feels

Show License Agreement link in Inno Setup while installation

狂风中的少年 提交于 2020-01-11 03:08:19
问题 I am using Inno Setup for my application. I want to show a link (License Agreement) in Inno Setup while installation (except separate License Agreement Wizard). I want combine this link with some task. When user clicks that link it will navigate to particular URL. 回答1: I know I'm quite late here... The following code script creates the License Agreement link label in the bottom left part of the wizard form. That label has a blue underlined font and a hand cursor on hover so it looks and feels

How can I set the exit code in Inno Setup?

﹥>﹥吖頭↗ 提交于 2020-01-11 02:31:07
问题 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. 回答1: Use: [Code] procedure ExitProcess(exitCode:integer); external 'ExitProcess@kernel32.dll stdcall'; procedure SomeEventHere(); begin if someerror then begin ExitProcess(9); //Your custom exit code end; end; 回答2: From the Inno Setup Help document (from the article "Setup Exit Codes"): Beginning with Inno Setup 3.0.3, the Setup program may return one of the following

How can I set the exit code in Inno Setup?

梦想与她 提交于 2020-01-11 02:31:05
问题 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. 回答1: Use: [Code] procedure ExitProcess(exitCode:integer); external 'ExitProcess@kernel32.dll stdcall'; procedure SomeEventHere(); begin if someerror then begin ExitProcess(9); //Your custom exit code end; end; 回答2: From the Inno Setup Help document (from the article "Setup Exit Codes"): Beginning with Inno Setup 3.0.3, the Setup program may return one of the following

Signing installer of my program generated by Inno Setup to make it of a trusted company? [duplicate]

99封情书 提交于 2020-01-10 04:44:25
问题 This question already has answers here : Is it useless to sign my Windows application with a self signed certificate? (2 answers) Closed 7 months ago . I have a installer file created with Inno Setup of an application that I developed. So when I go to install the program, it shows me a window telling me that my application is not trusted. How can I sign my installer file to avoid that window when a user installs my program, or to make my installer a trusted installer? I have a .pfx file that

Wrong desktop shortcut icon on Windows 7 (Inno Setup)

孤人 提交于 2020-01-09 12:55:42
问题 I have created an installer with Inno Setup. The icon used for the desktop shortcut and start menu is embeded in the application executable. When the installer was initially created, I didn't have the final product icon from the design team. I used a temporary icon instead as I completed the installer. Everything worked as it should until I changed the icon for the final one. Now the desktop shortcut and start menu icons always display the old icon even though everywhere else the icon is

Wrong desktop shortcut icon on Windows 7 (Inno Setup)

混江龙づ霸主 提交于 2020-01-09 12:54:52
问题 I have created an installer with Inno Setup. The icon used for the desktop shortcut and start menu is embeded in the application executable. When the installer was initially created, I didn't have the final product icon from the design team. I used a temporary icon instead as I completed the installer. Everything worked as it should until I changed the icon for the final one. Now the desktop shortcut and start menu icons always display the old icon even though everywhere else the icon is

Run a [Code] or PowerShell script in Inno Setup compiler

回眸只為那壹抹淺笑 提交于 2020-01-09 05:33:22
问题 Is there a way to run a [Code] procedure or PowerShell script in the Inno Setup compiler before the installation executable is generated? 回答1: You may get better answers, if you explain what you need to run the code for. Anyway... One way is to compile the script on command-line from a batch file: powershell -file precompile.ps1 ISCC.exe setup.iss powershell -file postcompile.ps1 (or you can call ISCC.exe from the PowerShell script itself) Another way to run some script before compilation is

InnoSetup license files

喜欢而已 提交于 2020-01-06 19:41:39
问题 I have multi language install file maked from Inno setup. How i can use two license file for every language? For example: English language ->english license and Russian language -> russian license. Sorry for my english. writed how i can. please help me somebody. 回答1: If you just want a custom licence for each language, you can use specify the LicenceFile parameter on the [Languages] entry. If you want to show two seperate licences, you will need to add [Code] to do this yourself, using the