mirror of http://192.168.10.5:8099/sane/release
安装和卸载上报日志时增加appName
This commit is contained in:
parent
e08015fee5
commit
f2d1797703
|
@ -90,7 +90,7 @@ var
|
|||
ErrorCode: Integer;
|
||||
bRes: Boolean;
|
||||
begin
|
||||
if not ShellExec('', ExpandConstant('{app}\HuagoScanUpgrade.exe'), '-type=postuninstallinfo -desc=uninstall', '', SW_HIDE, ewWaitUntilTerminated, ErrorCode) then
|
||||
if not ShellExec('', ExpandConstant('{app}\HuagoScanUpgrade.exe'), '-type=postuninstallinfo -appName=Scanner -desc=uninstall', '', SW_HIDE, ewWaitUntilTerminated, ErrorCode) then
|
||||
begin
|
||||
end;
|
||||
Result := true;
|
||||
|
@ -113,5 +113,5 @@ begin
|
|||
end;
|
||||
|
||||
[Run]
|
||||
Filename: "{app}\HuagoScanUpgrade.exe"; Parameters:"-type=postinstallinfo -desc=install/upgrade";
|
||||
Filename: "{app}\HuagoScanUpgrade.exe"; Parameters:"-type=postinstallinfo -appName=Scanner -desc=install/upgrade";
|
||||
Filename: "{app}\HuagoScan.exe"; Description: "{cm:LaunchProgram, {#MyAppName}}"; Flags: postinstall nowait skipifsilent
|
Loading…
Reference in New Issue