inno-setup

Ready to Install wizard page looks empty

笑着哭i 提交于 2020-08-05 07:54:23
问题 These are the wizard pages of my Inno Setup installer: Window 1: Window 2: Window 3: Window 4: Window 5: My issue is with wizard page 4. It seems odd having this page look like that. Is this standard behaviour? Should something be displayed to the user? Suppress this page? This is my script: ; Script generated by the Inno Setup Script Wizard. ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! [ISPP] ; Please, don't edit this section manually if you don't know what are

What does it mean WizardForm.TypesCombo.OnChange(WizardForm.TypesCombo) in Inno Setup?

♀尐吖头ヾ 提交于 2020-08-03 05:49:47
问题 In documentation for TComboBox = class(TCustomComboBox) there's this: property OnChange: TNotifyEvent; read write; , where TNotifyEvent = procedure(Sender: TObject); . Judging from that OnChange has no parameters, only the returned value. In Delphi OnChange event has the Sender: TObject parameter. Why is that allowed to type the following then and what does it mean if it's not the same as Sender: TObject ? WizardForm.TypesCombo.OnChange(WizardForm.TypesCombo) (taken from Inno Setup Remember

Add text to 'Ready Page' in Inno Setup

五迷三道 提交于 2020-07-31 09:50:28
问题 I added few custom pages to my Installer. These pages gather some data from user and disk, and I'd like to show this data to user before final installation step starts. Inno Setup has 'Ready to Install' page exactly for this purpose. How can I add text to this page? By default it shows to me: Destination location: C:\Program Files\MyProgram I'd like to append some text here. Is it possible? 回答1: Found it ... http://www.innosetup.org/ishelp/topic_scriptevents.htm: function UpdateReadyMemo

Add text to 'Ready Page' in Inno Setup

假如想象 提交于 2020-07-31 09:50:09
问题 I added few custom pages to my Installer. These pages gather some data from user and disk, and I'd like to show this data to user before final installation step starts. Inno Setup has 'Ready to Install' page exactly for this purpose. How can I add text to this page? By default it shows to me: Destination location: C:\Program Files\MyProgram I'd like to append some text here. Is it possible? 回答1: Found it ... http://www.innosetup.org/ishelp/topic_scriptevents.htm: function UpdateReadyMemo

How to detect and install prerequisite(s) using Inno? [duplicate]

假如想象 提交于 2020-07-20 05:45:13
问题 This question already has answers here : How can I install .NET framework as a prerequisite using Inno Setup? (4 answers) Inno Setup: Verify that .NET 4.0 is installed (3 answers) Closed 12 months ago . I need to install some prerequisites for an app using Inno. I want the prerequisites to only install if the prerequisite does not exist or is an earlier version. I have found some solutions such as: [Code] procedure InstallFramework; var ResultCode: Integer; begin if not Exec(ExpandConstant('

How to detect and install prerequisite(s) using Inno? [duplicate]

为君一笑 提交于 2020-07-20 05:45:09
问题 This question already has answers here : How can I install .NET framework as a prerequisite using Inno Setup? (4 answers) Inno Setup: Verify that .NET 4.0 is installed (3 answers) Closed 12 months ago . I need to install some prerequisites for an app using Inno. I want the prerequisites to only install if the prerequisite does not exist or is an earlier version. I have found some solutions such as: [Code] procedure InstallFramework; var ResultCode: Integer; begin if not Exec(ExpandConstant('

Environment variable not recognized [not available] for [Run] programs in Inno Setup

旧街凉风 提交于 2020-07-20 03:50:30
问题 I have a license.exe file that I call in my setup code at the end, The code needs the environment variable to be set before working correctly, The code is as follows: [Registry] ; set PATH Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"; \ ValueType: string; ValueName: "PATH"; ValueData: "{app}" [Setup] ; Tell Windows Explorer to reload the environment ChangesEnvironment=yes [Run] Filename: "{app}\temp\installation_files\license.exe"; Here the code executes,

Environment variable not recognized [not available] for [Run] programs in Inno Setup

泪湿孤枕 提交于 2020-07-20 03:46:40
问题 I have a license.exe file that I call in my setup code at the end, The code needs the environment variable to be set before working correctly, The code is as follows: [Registry] ; set PATH Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"; \ ValueType: string; ValueName: "PATH"; ValueData: "{app}" [Setup] ; Tell Windows Explorer to reload the environment ChangesEnvironment=yes [Run] Filename: "{app}\temp\installation_files\license.exe"; Here the code executes,

Environment variable not recognized [not available] for [Run] programs in Inno Setup

白昼怎懂夜的黑 提交于 2020-07-20 03:46:25
问题 I have a license.exe file that I call in my setup code at the end, The code needs the environment variable to be set before working correctly, The code is as follows: [Registry] ; set PATH Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"; \ ValueType: string; ValueName: "PATH"; ValueData: "{app}" [Setup] ; Tell Windows Explorer to reload the environment ChangesEnvironment=yes [Run] Filename: "{app}\temp\installation_files\license.exe"; Here the code executes,

Inno Setup: Access to custom control from OnClick event of another control

吃可爱长大的小学妹 提交于 2020-07-19 18:13:12
问题 I have next code for Inno Setup: procedure CheckBoxClick(Sender: TObject); begin { How to make BrowseButton visible from here? } end; procedure CreateTheWizardPage; var Page: TWizardPage; BrowseButton, FormButton: TNewButton; CheckBox: TNewCheckBox; Memo: TNewMemo; begin Page := PageFromID(wpReady); BrowseButton := TNewButton.Create(Page); CheckBox := TNewCheckBox.Create(Page); CheckBox.OnClick := @CheckBoxClick; end; I'm wondering how can I access custom controllers on the wizard page from