Link to home
Start Free TrialLog in
Avatar of NoradEE
NoradEEFlag for Poland

asked on

Inno checkbox

Hi,

Need to put additional txt with checkbox "I confirm that blablabla" when checked only possible to make next step in install...
Anyone  know?

Avatar of NoradEE
NoradEE
Flag of Poland image

ASKER

for clarify: similar has avira av personal while installing asking for comnifrmation about non commercial use...
Avatar of Mirtheil
Are you trying to have a license dialog displayed so that the user must accept it?  
If so, add the LicenseFile= to your [Setup] section.  You'd need to point it to a Text or RTF file.  
Something like:

; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "My Program"
#define MyAppVerName "My Program 1.5"
#define MyAppPublisher "My Company, Inc."
#define MyAppURL "http://www.example.com/"
#define MyAppExeName "MyProg.exe"

[Setup]
AppName={#MyAppName}
AppVerName={#MyAppVerName}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={pf}\{#MyAppName}
DefaultGroupName={#MyAppName}
OutputBaseFilename=setup
Compression=lzma
LicenseFile=readme.txt
SolidCompression=yes

[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked

[Files]
Source: "MyProg.exe"; DestDir: "{app}"; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files

[Icons]
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon

[Run]
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#MyAppName}}"; Flags: nowait postinstall skipifsilent

Open in new window

Avatar of NoradEE

ASKER

> Are you trying to have a license dialog displayed so that the user must accept it?  
no look at my second additional comment after post
So you want two agreements?  One for the license and the second for some other confirmation?  
Avatar of NoradEE

ASKER

See this:
http://img528.imageshack.us/i/94008901.jpg/

Need similar, one agreement already exist this is std and easy, as last step before proceed to install final confirmation in such style in inno...
Avatar of NoradEE

ASKER

is that possible in inno?
ASKER CERTIFIED SOLUTION
Avatar of Mirtheil
Mirtheil
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of NoradEE

ASKER

There is a problem with lenght of: CheckBox Caption 'TCheckBox'

Seems to be limited to width of installer window and not word wrapping to next line if caption is longer.

Any solution for that?