|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- ; ű Inno Setup ű ɣ
- ; йش Inno Setup űļϸİĵ
-
- #define MyAppName "ǻ"
- #define MyAppDir "xhwk"
- #define MyAppVersion "2.6.0"
- #define MyAppPublisher "ǻԭƼ˾"
- #define MyAppURL "http://www.xhkjedu.com/"
- #define MySourcePath "D:\Project\xhwkclient\XHWK.WKTool\bin\x86\Debug\"
- #define MyAppExeName "ǻ.exe"
- #define MyIcoName "256.ico"
- #define MyTargetPath "D:\\ǻ\"
-
- [Setup]
- ; ע: AppIdֵΪʶӦó
- ; ҪΪװʹͬAppIdֵ
- ; (Ҫµ GUIDڲ˵е "| GUID")
- AppId={{5869900A-3BE4-463E-B0A6-462AA7454AE2}
- AppName={#MyAppName}
- AppVersion={#MyAppVersion}
- ;AppVerName={#MyAppName} {#MyAppVersion}
- AppPublisher={#MyAppPublisher}
- AppPublisherURL={#MyAppURL}
- AppSupportURL={#MyAppURL}
- AppUpdatesURL={#MyAppURL}
- DefaultDirName={autopf}\{#MyAppDir}
- DisableProgramGroupPage=yes
- ; [Icons] ġquicklaunchiconĿʹ {userappdata} [Tasks] Ŀʺ IsAdminInstallMode ļ顣
- UsedUserAreasWarning=no
- ; ȡעͣڷǹװģʽУΪǰûװ
- ;PrivilegesRequired=lowest
- OutputDir={#MyTargetPath}
- OutputBaseFilename="{#MyAppName} v{#MyAppVersion}"
- SetupIconFile="{#MySourcePath}{#MyIcoName}"
- Compression=lzma
- SolidCompression=yes
- WizardStyle=modern
-
- [Languages]
- Name: "chinesesimp"; MessagesFile: "compiler:Default.isl"
-
- [Tasks]
- Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: checkablealone
- Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: checkablealone; OnlyBelowVersion: 6.1; Check: not IsAdminInstallMode
-
- [Files]
- Source: "{#MySourcePath}{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
- Source: "{#MySourcePath}*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
- ; ע: ҪκιϵͳļʹáFlags: ignoreversion
-
- [Icons]
- Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
- Name: "{autodesktop}\{#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
|