我解决了大多数编译警告,并决定尝试现代安装。在安装即将结束时,我看到了以下页面:
所有语言都有指向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
的第六版似乎在这里坏了?
; 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"
您将需要使用写字板并创建一个临时RTF文件。或使用我在评论中添加的ZIP。