mirror of http://192.168.10.5:8099/sane/release
执行HGUpgrade时不在传-src参数
This commit is contained in:
parent
2ffa7d8c8f
commit
bf0caa32a5
|
@ -81,7 +81,7 @@ var
|
||||||
ErrorCode: Integer;
|
ErrorCode: Integer;
|
||||||
bRes: Boolean;
|
bRes: Boolean;
|
||||||
begin
|
begin
|
||||||
if not ShellExec('', ExpandConstant('{app}\HuagoScanUpgrade.exe'), '-type=postuninstallinfo -src=package -desc=uninstall', '', SW_HIDE, ewWaitUntilTerminated, ErrorCode) then
|
if not ShellExec('', ExpandConstant('{app}\HuagoScanUpgrade.exe'), '-type=postuninstallinfo -desc=uninstall', '', SW_HIDE, ewWaitUntilTerminated, ErrorCode) then
|
||||||
begin
|
begin
|
||||||
end;
|
end;
|
||||||
Result := true;
|
Result := true;
|
||||||
|
@ -104,5 +104,5 @@ begin
|
||||||
end;
|
end;
|
||||||
|
|
||||||
[Run]
|
[Run]
|
||||||
Filename: "{app}\HuagoScanUpgrade.exe"; Parameters:"-type=postinstallinfo -src=package -desc=install"
|
Filename: "{app}\HuagoScanUpgrade.exe"; Parameters:"-type=postinstallinfo -desc=install"
|
||||||
Filename: "{app}\HuagoScan.exe"; Description: "{cm:LaunchProgram, {#MyAppName}}"; Flags: postinstall nowait
|
Filename: "{app}\HuagoScan.exe"; Description: "{cm:LaunchProgram, {#MyAppName}}"; Flags: postinstall nowait
|
Loading…
Reference in New Issue