inno-setup

Inno Setup - how to center an animated gif in resized wizard

落爺英雄遲暮 提交于 2020-12-04 03:56:33
问题 I would like to center my animated gif right in the middle of all pages in my installer ( WizardSizePercent=150 ) without using values. Here is my code: var ParentForm: TSetupForm; begin TimerID := 0; SlideID := 0; ContentHeight := ParentForm.Top + ParentForm.Height; ExtractTemporaryFile('Image1.bmp'); ExtractTemporaryFile('Image2.bmp'); ExtractTemporaryFile('Image3.bmp'); ExtractTemporaryFile('Image4.bmp'); ExtractTemporaryFile('Image5.bmp'); ExtractTemporaryFile('Image6.bmp'); Panel :=

Adding context menu to Inno Setup page

拥有回忆 提交于 2020-11-28 02:51:15
问题 How can I add some context menu to a specific page of Inno Setup? For example in installing page, if the user right-clicks on-page, he can see "Cancel" or "Pause" menu items which can do some action. 回答1: Inno Setup does not have an API how context menus, not even for handling mouse clicks. So you need to implement a custom Windows message handler and handle WM_CONTEXTMENU . [Code] const GWL_WNDPROC = -4; WM_CONTEXTMENU = $007B; WM_COMMAND = $0111; type WPARAM = UINT_PTR; LPARAM = LongInt;

Adding context menu to Inno Setup page

♀尐吖头ヾ 提交于 2020-11-28 02:49:42
问题 How can I add some context menu to a specific page of Inno Setup? For example in installing page, if the user right-clicks on-page, he can see "Cancel" or "Pause" menu items which can do some action. 回答1: Inno Setup does not have an API how context menus, not even for handling mouse clicks. So you need to implement a custom Windows message handler and handle WM_CONTEXTMENU . [Code] const GWL_WNDPROC = -4; WM_CONTEXTMENU = $007B; WM_COMMAND = $0111; type WPARAM = UINT_PTR; LPARAM = LongInt;

Adding context menu to Inno Setup page

跟風遠走 提交于 2020-11-28 02:48:49
问题 How can I add some context menu to a specific page of Inno Setup? For example in installing page, if the user right-clicks on-page, he can see "Cancel" or "Pause" menu items which can do some action. 回答1: Inno Setup does not have an API how context menus, not even for handling mouse clicks. So you need to implement a custom Windows message handler and handle WM_CONTEXTMENU . [Code] const GWL_WNDPROC = -4; WM_CONTEXTMENU = $007B; WM_COMMAND = $0111; type WPARAM = UINT_PTR; LPARAM = LongInt;

Full preprocessor support in Inno Setup language files (isl)

谁说胖子不能爱 提交于 2020-11-28 02:48:41
问题 I use three languages with my installer and at the moment I'm doing all the overrides inside my script. Here's an example: [Messages] en.SetupWindowTitle=Setup - %1 {#AppVersion} ru.SetupWindowTitle=Установка - %1 {#AppVersion} ua.SetupWindowTitle=Встановлення - %1 {#AppVersion} en.SetupAppRunningError=Setup has detected that {#SetupSetting('VersionInfoOriginalFileName')} is currently running.%n%nPlease close all instances of it now, then click OK to continue, or Cancel to exit. ru

Full preprocessor support in Inno Setup language files (isl)

守給你的承諾、 提交于 2020-11-28 02:48:24
问题 I use three languages with my installer and at the moment I'm doing all the overrides inside my script. Here's an example: [Messages] en.SetupWindowTitle=Setup - %1 {#AppVersion} ru.SetupWindowTitle=Установка - %1 {#AppVersion} ua.SetupWindowTitle=Встановлення - %1 {#AppVersion} en.SetupAppRunningError=Setup has detected that {#SetupSetting('VersionInfoOriginalFileName')} is currently running.%n%nPlease close all instances of it now, then click OK to continue, or Cancel to exit. ru

Adding context menu to Inno Setup page

拥有回忆 提交于 2020-11-28 02:47:46
问题 How can I add some context menu to a specific page of Inno Setup? For example in installing page, if the user right-clicks on-page, he can see "Cancel" or "Pause" menu items which can do some action. 回答1: Inno Setup does not have an API how context menus, not even for handling mouse clicks. So you need to implement a custom Windows message handler and handle WM_CONTEXTMENU . [Code] const GWL_WNDPROC = -4; WM_CONTEXTMENU = $007B; WM_COMMAND = $0111; type WPARAM = UINT_PTR; LPARAM = LongInt;

How can I use language files with custom messages with preprocessor constants?

混江龙づ霸主 提交于 2020-11-28 02:43:34
问题 I want to have all CustomMessages in language files (extension isl ). Also, some of the messages contain preprocessor constants, e.g. ALREADY_INSTALLED={#MyAppName} is already installed on this computer. The message should be displayed like this: "My-really-nice-App is already installed on this computer" But what I get is: "{#MyAppName} is already installed on this computer." The following works like a charm when I have the code, the message defined in a [CustomMessages] -topic and #define

How can I use language files with custom messages with preprocessor constants?

你。 提交于 2020-11-28 02:42:32
问题 I want to have all CustomMessages in language files (extension isl ). Also, some of the messages contain preprocessor constants, e.g. ALREADY_INSTALLED={#MyAppName} is already installed on this computer. The message should be displayed like this: "My-really-nice-App is already installed on this computer" But what I get is: "{#MyAppName} is already installed on this computer." The following works like a charm when I have the code, the message defined in a [CustomMessages] -topic and #define

How can I use language files with custom messages with preprocessor constants?

六眼飞鱼酱① 提交于 2020-11-28 02:42:00
问题 I want to have all CustomMessages in language files (extension isl ). Also, some of the messages contain preprocessor constants, e.g. ALREADY_INSTALLED={#MyAppName} is already installed on this computer. The message should be displayed like this: "My-really-nice-App is already installed on this computer" But what I get is: "{#MyAppName} is already installed on this computer." The following works like a charm when I have the code, the message defined in a [CustomMessages] -topic and #define