12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- ; Script generated by the Inno Setup Script Wizard.
- ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
- #define MyAppName "Zhong Ye Hyper Vision Remote Control System"
- #define MyAppVersion "1.0"
- #define MyAppExeName "zhongye.exe"
- #define MyAppAssocName MyAppName + " File"
- #define MyAppAssocExt ".myp"
- #define MyAppAssocKey StringChange(MyAppAssocName, " ", "") + MyAppAssocExt
- [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={{08D056EC-A432-44E0-9758-E59C5E12EAC6}
- AppName={#MyAppName}
- AppVersion={#MyAppVersion}
- ;AppVerName={#MyAppName} {#MyAppVersion}
- DefaultDirName={autopf}\{#MyAppName}
- ChangesAssociations=yes
- DisableProgramGroupPage=yes
- ; Uncomment the following line to run in non administrative install mode (install for current user only.)
- ;PrivilegesRequired=lowest
- OutputBaseFilename=中冶超视距远程操控系统
- Compression=lzma
- SolidCompression=yes
- WizardStyle=modern
- [Languages]
- Name: "english"; MessagesFile: "compiler:Default.isl"
- [Tasks]
- Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
- [Files]
- Source: "D:\Qt_run\debug\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
- Source: "D:\Qt_run\debug\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
- ; NOTE: Don't use "Flags: ignoreversion" on any shared system files
- [Registry]
- Root: HKA; Subkey: "Software\Classes\{#MyAppAssocExt}\OpenWithProgids"; ValueType: string; ValueName: "{#MyAppAssocKey}"; ValueData: ""; Flags: uninsdeletevalue
- Root: HKA; Subkey: "Software\Classes\{#MyAppAssocKey}"; ValueType: string; ValueName: ""; ValueData: "{#MyAppAssocName}"; Flags: uninsdeletekey
- Root: HKA; Subkey: "Software\Classes\{#MyAppAssocKey}\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\{#MyAppExeName},0"
- Root: HKA; Subkey: "Software\Classes\{#MyAppAssocKey}\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\{#MyAppExeName}"" ""%1"""
- Root: HKA; Subkey: "Software\Classes\Applications\{#MyAppExeName}\SupportedTypes"; ValueType: string; ValueName: ".myp"; ValueData: ""
- [Icons]
- Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
- Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
- [Run]
- Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
|