Я решил большинство предупреждений для компиляции и решил попробовать современную установку.К концу установки я увидел эту страницу:
Все языки имели ссылку на файл RTF.Например:
Name: "English"; MessagesFile: "compiler:Default.isl"; LicenseFile: "..\..\Inno\l.eng\LicenseEnglish.rtf"; InfoAfterFile: "..\..\Inno\l.eng\InfoAfterEnglish.rtf"
Name: "German"; MessagesFile: "compiler:Languages\German.isl"; LicenseFile: "..\..\Inno\l.deu\LicenseGerman.rtf"; InfoAfterFile: "..\..\Inno\l.deu\InfoAfterGerman.rtf"
Name: "Italian"; MessagesFile: "compiler:Languages\Italian.isl"; LicenseFile: "..\..\Inno\l.ita\LicenseItalian.rtf"; InfoAfterFile: "..\..\Inno\l.ita\InfoAfterItalian.rtf"
Name: "Spanish"; MessagesFile: "compiler:Languages\Spanish.isl"; LicenseFile: "..\..\Inno\l.esp\LicenseSpanish.rtf"; InfoAfterFile: "..\..\Inno\l.esp\InfoAfterSpanish.rtf"
Name: "Polish"; MessagesFile: "compiler:Languages\Polish.isl"; LicenseFile: "..\..\Inno\l.plk\LicensePolish.rtf"; InfoAfterFile: "..\..\Inno\l.plk\InfoAfterPolish.rtf"
Почему это не работает?
Я закомментировал программное обеспечение для создания скинов, и это не имело никакого значения.Также не использовал классический мастер.Если я использую версию 5, скомпилирую и выполню:
Таким образом, шестая версия кажется здесь неработоспособной для InfoAfterFile
?
Sample Script
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define MyAppName "My Program"
#define MyAppVersion "1.5"
#define MyAppPublisher "My Company, Inc."
#define MyAppURL "http://www.example.com/"
#define MyAppExeName "MyProg.exe"
[Setup]
; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{3E02F6B8-8680-4878-9AAE-BBC7B94B56C4}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
CreateAppDir=no
InfoAfterFile=D:\TestDocument.rtf
; Uncomment the following line to run in non administrative install mode (install for current user only.)
;PrivilegesRequired=lowest
PrivilegesRequiredOverridesAllowed=dialog
OutputDir=D:\
OutputBaseFilename=mysetup
Compression=lzma
SolidCompression=yes
WizardStyle=modern
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
Вам нужно будет использовать WordPad и создать временный файл RTF.Или используйте ZIP, который я вставил в комментарии.