-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
76 additions
and
76 deletions.
There are no files selected for viewing
152 changes: 76 additions & 76 deletions
152
Setup/OSerialPort_Inno_Setup.iss → Setup/OSDA_Inno_Setup.iss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,77 +1,77 @@ | ||
; Script generated by the Inno Setup Script Wizard. | ||
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! | ||
|
||
#define MyAppName "OSDA" | ||
#define MyAppVersion "3.4.0" | ||
#define MyVersionInfoVersion "3.4.0.5" | ||
#define MyAppExeName "OSDA.exe" | ||
#define MyAppCopyright "Copyright (C) 2019 Cao Liwen" | ||
#define MyAppPublisher "Cao Liwen" | ||
|
||
; x64(64bit) and x86(32 bit) | ||
#define x_64 | ||
|
||
; Visual Studio 2017 and Visual Studio 2019 | ||
;#define VS2017 | ||
|
||
[Setup] | ||
AppId={{CD6994CA-F69D-4B27-A1EC-1E34684AE73A} | ||
AppName={#MyAppName} | ||
AppVersion={#MyAppVersion} | ||
AppVerName={#MyAppName} {#MyAppVersion} | ||
VersionInfoVersion={#MyVersionInfoVersion} | ||
AppPublisher={#MyAppPublisher} | ||
AppCopyright={#MyAppCopyright} | ||
DefaultDirName={commonpf}\{#MyAppName} | ||
DefaultGroupName=OSDA | ||
DisableProgramGroupPage=auto | ||
OutputDir=.\ | ||
SetupIconFile=..\icon\favicon.ico | ||
#ifdef x_64 | ||
ArchitecturesInstallIn64BitMode=x64 | ||
OutputBaseFilename=OSDA_Windows_Framework_V{#MyAppVersion}_x64 | ||
#else | ||
OutputBaseFilename=OSDA_Windows_Framework_V{#MyAppVersion}_x86 | ||
#endif | ||
Compression=lzma | ||
SolidCompression=yes | ||
WizardStyle=modern | ||
|
||
[Languages] | ||
Name: "english"; MessagesFile: "compiler:Default.isl" | ||
Name: "chinesesimplified"; MessagesFile: "compiler:Languages\ChineseSimplified.isl" | ||
|
||
[Tasks] | ||
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked | ||
|
||
[Files] | ||
Source: "..\LICENSE"; DestDir: "{app}"; Flags: ignoreversion | ||
|
||
; Visual Studio 2017 | ||
#ifdef VS2017 | ||
#ifdef x_64 | ||
Source: "..\msvc\VS2017.Framework\bin\x64\Release\OSDA.exe"; DestDir: "{app}"; Flags: ignoreversion | ||
Source: "..\msvc\VS2017.Framework\bin\x64\Release\OSDA.exe.config"; DestDir: "{app}"; Flags: ignoreversion | ||
#else | ||
Source: "..\msvc\VS2017.Framework\bin\x86\Release\OSDA.exe"; DestDir: "{app}"; Flags: ignoreversion | ||
Source: "..\msvc\VS2017.Framework\bin\x86\Release\OSDA.exe.config"; DestDir: "{app}"; Flags: ignoreversion | ||
#endif | ||
|
||
; Visual Studio 2019 | ||
#else | ||
#ifdef x_64 | ||
Source: "..\msvc\VS2019.Framework\bin\x64\Release\OSDA.exe"; DestDir: "{app}"; Flags: ignoreversion | ||
Source: "..\msvc\VS2019.Framework\bin\x64\Release\OSDA.exe.config"; DestDir: "{app}"; Flags: ignoreversion | ||
#else | ||
Source: "..\msvc\VS2019.Framework\bin\x86\Release\OSDA.exe"; DestDir: "{app}"; Flags: ignoreversion | ||
Source: "..\msvc\VS2019.Framework\bin\x86\Release\OSDA.exe.config"; DestDir: "{app}"; Flags: ignoreversion | ||
#endif | ||
#endif | ||
|
||
[Icons] | ||
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}" | ||
Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}" | ||
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon | ||
|
||
[Run] | ||
; Script generated by the Inno Setup Script Wizard. | ||
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! | ||
|
||
#define MyAppName "OSDA" | ||
#define MyAppVersion "3.4.0" | ||
#define MyVersionInfoVersion "3.4.0.5" | ||
#define MyAppExeName "OSDA.exe" | ||
#define MyAppCopyright "Copyright (C) 2019 Cao Liwen" | ||
#define MyAppPublisher "Cao Liwen" | ||
|
||
; x64(64bit) and x86(32 bit) | ||
#define x_64 | ||
|
||
; Visual Studio 2017 and Visual Studio 2019 | ||
;#define VS2017 | ||
|
||
[Setup] | ||
AppId={{CD6994CA-F69D-4B27-A1EC-1E34684AE73A} | ||
AppName={#MyAppName} | ||
AppVersion={#MyAppVersion} | ||
AppVerName={#MyAppName} {#MyAppVersion} | ||
VersionInfoVersion={#MyVersionInfoVersion} | ||
AppPublisher={#MyAppPublisher} | ||
AppCopyright={#MyAppCopyright} | ||
DefaultDirName={commonpf}\{#MyAppName} | ||
DefaultGroupName=OSDA | ||
DisableProgramGroupPage=auto | ||
OutputDir=.\ | ||
SetupIconFile=..\icon\favicon.ico | ||
#ifdef x_64 | ||
ArchitecturesInstallIn64BitMode=x64 | ||
OutputBaseFilename=OSDA_Windows_Framework_V{#MyAppVersion}_x64 | ||
#else | ||
OutputBaseFilename=OSDA_Windows_Framework_V{#MyAppVersion}_x86 | ||
#endif | ||
Compression=lzma | ||
SolidCompression=yes | ||
WizardStyle=modern | ||
|
||
[Languages] | ||
Name: "english"; MessagesFile: "compiler:Default.isl" | ||
Name: "chinesesimplified"; MessagesFile: "compiler:Languages\ChineseSimplified.isl" | ||
|
||
[Tasks] | ||
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked | ||
|
||
[Files] | ||
Source: "..\LICENSE"; DestDir: "{app}"; Flags: ignoreversion | ||
|
||
; Visual Studio 2017 | ||
#ifdef VS2017 | ||
#ifdef x_64 | ||
Source: "..\msvc\VS2017.Framework\bin\x64\Release\OSDA.exe"; DestDir: "{app}"; Flags: ignoreversion | ||
Source: "..\msvc\VS2017.Framework\bin\x64\Release\OSDA.exe.config"; DestDir: "{app}"; Flags: ignoreversion | ||
#else | ||
Source: "..\msvc\VS2017.Framework\bin\x86\Release\OSDA.exe"; DestDir: "{app}"; Flags: ignoreversion | ||
Source: "..\msvc\VS2017.Framework\bin\x86\Release\OSDA.exe.config"; DestDir: "{app}"; Flags: ignoreversion | ||
#endif | ||
|
||
; Visual Studio 2019 | ||
#else | ||
#ifdef x_64 | ||
Source: "..\msvc\VS2019.Framework\bin\x64\Release\OSDA.exe"; DestDir: "{app}"; Flags: ignoreversion | ||
Source: "..\msvc\VS2019.Framework\bin\x64\Release\OSDA.exe.config"; DestDir: "{app}"; Flags: ignoreversion | ||
#else | ||
Source: "..\msvc\VS2019.Framework\bin\x86\Release\OSDA.exe"; DestDir: "{app}"; Flags: ignoreversion | ||
Source: "..\msvc\VS2019.Framework\bin\x86\Release\OSDA.exe.config"; DestDir: "{app}"; Flags: ignoreversion | ||
#endif | ||
#endif | ||
|
||
[Icons] | ||
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}" | ||
Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}" | ||
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon | ||
|
||
[Run] | ||
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent |