-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve NSIS installer and uninstaller (#5893)
* Check that parsec is not running when running the uninstaller * Fix refresh icon * Rename icon registry keys and fix the corresponding cleanup * Prioritize parsec icon handlers by using a space before the keyname * Invert the order of 32 and 64-bit checkUninstaller routine * Add newsfragment * Cleanup older artefacts before removing the install directory * Improve routine to delete or move the DLL used by the file explorer * Appending the program version to the install directory was a bad idea in the end * Add vcruntime to cspell
- Loading branch information
Showing
4 changed files
with
112 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -442,6 +442,7 @@ userto | |
usertotal | ||
vacuum | ||
Vacuum | ||
vcruntime | ||
verifykey | ||
Vlob | ||
Vlobs | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Check that the Parsec application is not running when executing the uninstaller. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# This list of artefacts have been generated by listing the remaining files when: | ||
# - upgrading from parsec 2.14.1 to 2.16.0, then uninstalling 2.16.0 | ||
# - upgrading from parsec 2.15.0 to 2.16.0, then uninstalling 2.16.0 | ||
# See this issue for more information: | ||
# - https://github.com/Scille/parsec-cloud/issues/5845#issuecomment-1825951434 | ||
!macro CleanupOlderArtefacts dir | ||
Delete "${dir}\nacl\py.typed" | ||
Delete "${dir}\nacl\_sodium.pyd" | ||
RMdir "${dir}\nacl" | ||
Delete "${dir}\psutil\_psutil_windows.cp39-win_amd64.pyd" | ||
RMdir "${dir}\psutil" | ||
Delete "${dir}\setuptools-63.4.3.dist-info\entry_points.txt" | ||
Delete "${dir}\setuptools-63.4.3.dist-info\INSTALLER" | ||
Delete "${dir}\setuptools-63.4.3.dist-info\LICENSE" | ||
Delete "${dir}\setuptools-63.4.3.dist-info\METADATA" | ||
Delete "${dir}\setuptools-63.4.3.dist-info\RECORD" | ||
Delete "${dir}\setuptools-63.4.3.dist-info\top_level.txt" | ||
Delete "${dir}\setuptools-63.4.3.dist-info\WHEEL" | ||
RMdir "${dir}\setuptools-63.4.3.dist-info" | ||
Delete "${dir}\wheel-0.38.4.dist-info\entry_points.txt" | ||
Delete "${dir}\wheel-0.38.4.dist-info\INSTALLER" | ||
Delete "${dir}\wheel-0.38.4.dist-info\LICENSE.txt" | ||
Delete "${dir}\wheel-0.38.4.dist-info\METADATA" | ||
Delete "${dir}\wheel-0.38.4.dist-info\RECORD" | ||
Delete "${dir}\wheel-0.38.4.dist-info\REQUESTED" | ||
Delete "${dir}\wheel-0.38.4.dist-info\top_level.txt" | ||
Delete "${dir}\wheel-0.38.4.dist-info\WHEEL" | ||
RMdir "${dir}\wheel-0.38.4.dist-info" | ||
Delete "${dir}\sqlite3.dll" | ||
Delete "${dir}\_msi.pyd" | ||
Delete "${dir}\_sqlite3.pyd" | ||
!macroend |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters