InnoSetup不要求目标文件夹

时间:2017-05-18 19:00:18

标签: inno-setup

我的innosetup脚本下面没有要求目标文件夹。为什么不?正如您所看到的,我正在使用7zip进行所有文件复制,因为它永远不会适合setup.exe文件。

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

#define MyAppName "EGPL GeoLibrarian"
#define MyAppVersion "2.0.1.7"
#define MyAppPublisher "Draper Laboratory"
#define MyAppURL "http://www.draper.com/"

[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={{2A283576-02D9-453C-96B2-0F9A43F0B229}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName=F:\EGPL\GeoLibrarian
DefaultGroupName={#MyAppName}
OutputDir=.
OutputBaseFilename=setup
Compression=lzma
SolidCompression=yes

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

[Run]
Filename: "{pf64}\\7-zip\7zG.exe"; Parameters: "x ""{src}\GL.7z"" -o""{app}\"" * -r -aoa"; Flags: runascurrentuser

[UninstallDelete]
Type: filesandordirs; Name: "{app}"
Type: files; Name: "{commondesktop}\DashBoard"

[Icons]
Name: "{group}\EGPL Watson Uninstall"; Filename: "{uninstallexe}"; WorkingDir: "{app}"
Name: "{commondesktop}\DashBoard"; Filename: "{app}\dashboard\node_modules\dist\electron.exe main.js"; WorkingDir: "{app}\dashboard"; IconFilename: "{app}\dashboard\build\configure.ico"

0 个答案:

没有答案