tianzhendong
2 months ago
9 changed files with 122 additions and 5 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,60 @@ |
|||||
|
; Script generated by the Inno Setup Script Wizard. |
||||
|
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! |
||||
|
|
||||
|
#define MyAppName "TAppAuth" |
||||
|
#define MyAppVersion "1.0.0" |
||||
|
#define MyAppPublisher "My Company, Inc." |
||||
|
#define MyAppURL "https://www.example.com/" |
||||
|
#define MyAppExeName "TAppAuth.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={{F55B95F5-7210-468B-9614-31D3E69D2123} |
||||
|
AppName={#MyAppName} |
||||
|
AppVersion={#MyAppVersion} |
||||
|
;AppVerName={#MyAppName} {#MyAppVersion} |
||||
|
AppPublisher={#MyAppPublisher} |
||||
|
AppPublisherURL={#MyAppURL} |
||||
|
AppSupportURL={#MyAppURL} |
||||
|
AppUpdatesURL={#MyAppURL} |
||||
|
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 |
||||
|
OutputDir=D:\4_Code\3_Deploy\TAppAuth\ |
||||
|
OutputBaseFilename=TAppAuth-v{#MyAppVersion} |
||||
|
SetupIconFile=D:\4_Code\3_Deploy\TAppAuth\Deploy\auth.ico |
||||
|
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:\4_Code\3_Deploy\TAppAuth\Deploy\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion |
||||
|
Source: "D:\4_Code\3_Deploy\TAppAuth\Deploy\*"; 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 |
||||
|
|
Binary file not shown.
@ -0,0 +1,60 @@ |
|||||
|
; Script generated by the Inno Setup Script Wizard. |
||||
|
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! |
||||
|
|
||||
|
#define MyAppName "TJoyStick" |
||||
|
#define MyAppVersion "1.0.0" |
||||
|
#define MyAppPublisher "My Company, Inc." |
||||
|
#define MyAppURL "https://www.example.com/" |
||||
|
#define MyAppExeName "TJoyStick.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={{F55B95F5-7210-468B-9614-31D3E69D12312} |
||||
|
AppName={#MyAppName} |
||||
|
AppVersion={#MyAppVersion} |
||||
|
;AppVerName={#MyAppName} {#MyAppVersion} |
||||
|
AppPublisher={#MyAppPublisher} |
||||
|
AppPublisherURL={#MyAppURL} |
||||
|
AppSupportURL={#MyAppURL} |
||||
|
AppUpdatesURL={#MyAppURL} |
||||
|
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 |
||||
|
OutputDir=D:\4_Code\3_Deploy\{#MyAppName}\ |
||||
|
OutputBaseFilename={#MyAppName}-v{#MyAppVersion} |
||||
|
SetupIconFile=D:\4_Code\3_Deploy\{#MyAppName}\Deploy\joy.ico |
||||
|
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:\4_Code\3_Deploy\{#MyAppName}\Deploy\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion |
||||
|
Source: "D:\4_Code\3_Deploy\{#MyAppName}\Deploy\*"; 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 |
||||
|
|
Loading…
Reference in new issue