Update removal of leftovers
This commit is contained in:
parent
1c003ac73d
commit
cce2e957dc
|
@ -52,7 +52,7 @@ Name: "RefreshBuild"; Description: "{cm:RefreshBuild}"; MinVersion: 0.0,5.0; Che
|
||||||
[Files]
|
[Files]
|
||||||
; Both portable and install.
|
; Both portable and install.
|
||||||
Source: ".\Release\{#MyAppSrc}\*"; DestDir: "{app}"; MinVersion: 0.0,5.0; Flags: recursesubdirs ignoreversion; Excludes: "*.pdb"
|
Source: ".\Release\{#MyAppSrc}\*"; DestDir: "{app}"; MinVersion: 0.0,5.0; Flags: recursesubdirs ignoreversion; Excludes: "*.pdb"
|
||||||
; include the driver pdb
|
; Include the .pdb files.
|
||||||
Source: ".\Release\{#MyAppSrc}\SbieDrv.pdb"; DestDir: "{app}"; MinVersion: 0.0,5.0; Flags: ignoreversion
|
Source: ".\Release\{#MyAppSrc}\SbieDrv.pdb"; DestDir: "{app}"; MinVersion: 0.0,5.0; Flags: ignoreversion
|
||||||
Source: ".\Release\{#MyAppSrc}\SbieDll.pdb"; DestDir: "{app}"; MinVersion: 0.0,5.0; Flags: ignoreversion
|
Source: ".\Release\{#MyAppSrc}\SbieDll.pdb"; DestDir: "{app}"; MinVersion: 0.0,5.0; Flags: ignoreversion
|
||||||
|
|
||||||
|
@ -79,11 +79,15 @@ Filename: "{app}\{#MyAppName}.ini"; Section: "Options"; Key: "UiLanguage"; Strin
|
||||||
|
|
||||||
|
|
||||||
[InstallDelete]
|
[InstallDelete]
|
||||||
; Remove deprecated files at install time.
|
; Delete obsolete files as the first step of installation.
|
||||||
Type: filesandordirs; Name: "{app}\translations"
|
Type: filesandordirs; Name: "{app}\translations"
|
||||||
Type: files; Name: "{app}\SbieDrv.sys.w10"
|
Type: files; Name: "{app}\SbieDrv.sys.w10"
|
||||||
Type: files; Name: "{app}\SbieDrv.sys.rc4"
|
Type: files; Name: "{app}\SbieDrv.sys.rc4"
|
||||||
Type: files; Name: "{app}\SbieIni.exe.sig"
|
Type: files; Name: "{app}\SbieIni.exe.sig"
|
||||||
|
Type: files; Name: "{app}\libcrypto-1_1-x64.dll"
|
||||||
|
Type: files; Name: "{app}\libssl-1_1-x64.dll"
|
||||||
|
; Delete existing .pdb files before installing new ones.
|
||||||
|
Type: files; Name: "{app}\*.pdb"
|
||||||
|
|
||||||
|
|
||||||
[Registry]
|
[Registry]
|
||||||
|
@ -667,7 +671,7 @@ begin
|
||||||
exit;
|
exit;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
// remove shell integration.
|
// Remove shell integration.
|
||||||
ShellUninstall();
|
ShellUninstall();
|
||||||
|
|
||||||
end;
|
end;
|
||||||
|
|
|
@ -954,6 +954,10 @@ NoTrendMicro:
|
||||||
|
|
||||||
Upgrade:
|
Upgrade:
|
||||||
|
|
||||||
|
; Delete obsolete files
|
||||||
|
Delete "$INSTDIR\${SBIEDRV_SYS}.rc4"
|
||||||
|
Delete "$INSTDIR\${SBIEDRV_SYS}.w10"
|
||||||
|
Delete "$INSTDIR\${SBIEINI_EXE}.sig"
|
||||||
Call DeleteProductKey
|
Call DeleteProductKey
|
||||||
Call DeleteSystemKeys
|
Call DeleteSystemKeys
|
||||||
Call DeleteShortCuts
|
Call DeleteShortCuts
|
||||||
|
@ -1141,7 +1145,7 @@ WriteOk:
|
||||||
SkipCopyInstaller:
|
SkipCopyInstaller:
|
||||||
|
|
||||||
;
|
;
|
||||||
; Delete old files
|
; Delete obsolete files
|
||||||
;
|
;
|
||||||
|
|
||||||
Delete "$DESKTOP\${PRODUCT_NAME} Quick Launch.lnk"
|
Delete "$DESKTOP\${PRODUCT_NAME} Quick Launch.lnk"
|
||||||
|
@ -1180,8 +1184,9 @@ Function DeleteProgramFiles
|
||||||
Delete "$INSTDIR\${SBIEMSG_DLL}"
|
Delete "$INSTDIR\${SBIEMSG_DLL}"
|
||||||
|
|
||||||
Delete "$INSTDIR\${SBIEDRV_SYS}"
|
Delete "$INSTDIR\${SBIEDRV_SYS}"
|
||||||
Delete "$INSTDIR\${SBIEDRV_SYS}.rc4" ; leftover
|
; Delete obsolete files
|
||||||
Delete "$INSTDIR\${SBIEDRV_SYS}.w10" ; leftover
|
Delete "$INSTDIR\${SBIEDRV_SYS}.rc4"
|
||||||
|
Delete "$INSTDIR\${SBIEDRV_SYS}.w10"
|
||||||
|
|
||||||
Delete "$INSTDIR\KmdUtil.exe"
|
Delete "$INSTDIR\KmdUtil.exe"
|
||||||
Delete "$INSTDIR\UpdUtil.exe"
|
Delete "$INSTDIR\UpdUtil.exe"
|
||||||
|
@ -1210,7 +1215,8 @@ Function DeleteProgramFiles
|
||||||
Delete "$INSTDIR\Manifest2.txt"
|
Delete "$INSTDIR\Manifest2.txt"
|
||||||
|
|
||||||
Delete "$INSTDIR\${SBIEINI_EXE}"
|
Delete "$INSTDIR\${SBIEINI_EXE}"
|
||||||
Delete "$INSTDIR\${SBIEINI_EXE}.sig" ; leftover
|
; Delete obsolete file
|
||||||
|
Delete "$INSTDIR\${SBIEINI_EXE}.sig"
|
||||||
|
|
||||||
Delete "$INSTDIR\whatsnew.html"
|
Delete "$INSTDIR\whatsnew.html"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue