; 脚本由 Inno Setup 脚本向导 生成!
; 有关创建 Inno Setup 脚本文件的详细资料请查阅帮助文档!
#define MyAppName "Start10"
#define MyAppVersion "2.2"
#define MyAppPublisher "David Liu"
#define MyAppURL "https://blog.csdn.net/u012842630"
#define MyAppExeName "Start10.exe"
[Setup]
; 注: AppId的值为单独标识该应用程序。
; 不要为其他安装程序使用相同的AppId值。
; (生成新的GUID,点击 工具|在IDE中生成GUID。)
AppId={{37EA7339-4B7B-4234-8811-99A7EF550305}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={pf}\{#MyAppName}
DefaultGroupName={#MyAppName}
OutputDir=E:\文件整理\C#\Start10\Start10\bin\发布
OutputBaseFilename=Start10_V2.2_setup_R1
;R1 第一次发布
SetupIconFile=E:\文件整理\C#\Start10\Start10\windows8.ico
;Password=975354488-ADB0-43EE-BF18-D6DE0D047423
;Encryption=yes
Compression=lzma
SolidCompression=yes
[Languages]
Name: "english"; MessagesFile: "compiler:Languages\English.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}";
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files]
Source: "E:\文件整理\C#\Start10\Start10\bin\Debug\Start10.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "E:\文件整理\C#\Start10\Start10\bin\Debug\Interop.IWshRuntimeLibrary.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "E:\文件整理\C#\Start10\Start10\bin\Debug\win10\*"; DestDir: "{app}\win10"; Flags: onlyifdoesntexist
Source: "E:\文件整理\C#\Start10\Start10\bin\Debug\links\*"; DestDir: "{app}\links"; Flags: ignoreversion
Source: "E:\文件整理\C#\Start10\Start10\bin\Debug\images\default\*"; DestDir: "{app}\images\default"; Flags: ignoreversion
Source: "E:\文件整理\C#\Start10\Start10\bin\Debug\images\cache\note.txt"; DestDir: "{app}\images\cache"; Flags: ignoreversion
; 注意: 不要在任何共享系统文件上使用“Flags: ignoreversion”
[Icons]
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: quicklaunchicon
[Run]
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent