123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- ; Script generated by the Inno Setup Script Wizard.
- ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
- #define MyAppName "Venus_RT"
- #define MyAppVersion "1.0.0.1"
- #define MyAppPublisher "JET PLASMA"
- #define MyAppURL "http://www.jetplasma.com/"
- [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={{56BC97AA-FAE3-4809-8D12-58DF2FEFD19A}
- AppName={#MyAppName}
- AppVersion={#MyAppVersion}
- ;AppVerName={#MyAppName} {#MyAppVersion}
- AppPublisher={#MyAppPublisher}
- AppPublisherURL={#MyAppURL}
- AppSupportURL={#MyAppURL}
- AppUpdatesURL={#MyAppURL}
- DefaultDirName=C:\Venus\{#MyAppName}
- DefaultGroupName={#MyAppName}
- ; Uncomment the following line to run in non administrative install mode (install for current user only.)
- ;PrivilegesRequired=lowest
- OutputBaseFilename=Kepler2300_RT_V1.0.0.1
- Compression=lzma
- SolidCompression=yes
- WizardStyle=modern
- LicenseFile=License.txt
- UsePreviousAppDir=no
- [Languages]
- Name: "chinesesimp"; MessagesFile: "compiler:Default.isl"
- [Code]
- function ShouldSkipFile(FileName: String): Boolean;
- begin
- // 如果文件已存在,则跳过
- Result := FileExists(ExpandConstant('{app}\' + FileName));
- end;
- function ShouldSkipConfigFile(FileName: String): Boolean;
- begin
- // 如果文件已存在,则跳过
- Result := FileExists(ExpandConstant('{app}\Config\' + FileName));
- end;
- [Languages]
- Name: "chinesesimp"; MessagesFile: "compiler:Default.isl"
- [Files]
- Source: "..\Venus_RT\bin\Release\*";Excludes:"Venus_RT.exe.config,Config,Recipes,Logs,Objects,PartialPressureResult,VATPerformanceResult"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
- Source: "..\Venus_RT\bin\Release\Config\*"; Excludes:"*.data,*.bak,IoProviderConfig.xml,EquipmentVariables.xml";DestDir: "{app}\Config"; Flags: recursesubdirs
- Source: "..\Venus_RT\bin\Release\Venus_RT.exe.config"; DestDir: "{app}"; Check: not ShouldSkipFile('Venus_RT.exe.config')
- Source: "..\Venus_RT\bin\Release\Config\EquipmentVariables.xml"; DestDir: "{app}\Config"; Check: not ShouldSkipConfigFile('EquipmentVariables.xml')
- Source: "..\Venus_RT\bin\Release\Config\IoProviderConfig.xml"; DestDir: "{app}\Config"; Check: not ShouldSkipConfigFile('IoProviderConfig.xml')
- [Icons]
- Name: "{userdesktop}\Kepler_RT";Filename: "{app}\{#MyAppName}.exe"; WorkingDir: "{app}"
|