|
@@ -2,7 +2,7 @@
|
|
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
|
|
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
|
|
|
|
|
|
#define MyAppName "Venus_RT"
|
|
#define MyAppName "Venus_RT"
|
|
-#define MyAppVersion "2.0"
|
|
|
|
|
|
+#define MyAppVersion "1.0.0.1"
|
|
#define MyAppPublisher "JET PLASMA"
|
|
#define MyAppPublisher "JET PLASMA"
|
|
#define MyAppURL "http://www.jetplasma.com/"
|
|
#define MyAppURL "http://www.jetplasma.com/"
|
|
|
|
|
|
@@ -21,7 +21,7 @@ DefaultDirName=C:\Venus\{#MyAppName}
|
|
DefaultGroupName={#MyAppName}
|
|
DefaultGroupName={#MyAppName}
|
|
; Uncomment the following line to run in non administrative install mode (install for current user only.)
|
|
; Uncomment the following line to run in non administrative install mode (install for current user only.)
|
|
;PrivilegesRequired=lowest
|
|
;PrivilegesRequired=lowest
|
|
-OutputBaseFilename=Kepler2200_RT_V1.0.0.4
|
|
|
|
|
|
+OutputBaseFilename=Kepler2300_RT_V1.0.0.1
|
|
Compression=lzma
|
|
Compression=lzma
|
|
SolidCompression=yes
|
|
SolidCompression=yes
|
|
WizardStyle=modern
|
|
WizardStyle=modern
|
|
@@ -32,10 +32,30 @@ UsePreviousAppDir=no
|
|
[Languages]
|
|
[Languages]
|
|
Name: "chinesesimp"; MessagesFile: "compiler:Default.isl"
|
|
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]
|
|
[Files]
|
|
-Source: "..\Venus_RT\bin\Release\*";Excludes:"Config,Recipes,Logs,Objects,PartialPressureResult,VATPerformanceResult"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
|
|
|
|
-Source: "..\Venus_RT\bin\Release\Config\*"; Excludes:"*.data,*.bak,IoProviderConfig.xml";DestDir: "{app}\Config"; Flags: recursesubdirs
|
|
|
|
|
|
+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]
|
|
[Icons]
|