Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

beyondcompare-np:Add version 5.x.y.z #385

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
95 changes: 95 additions & 0 deletions bucket/beyondcompare-np.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
{
"version": "5.0.4.30422",
"description": "Directory and file compare functions in one package",
"homepage": "https://www.scootersoftware.com",
"license": {
"identifier": "Shareware",
"url": "https://www.scootersoftware.com/kb/licensev5"
},
"notes": [
"The manifest is already updated to v5, if you want to stay on v4 proceed as follows:",
"",
"- Install v4 via 'scoop install versions/beyondcompare4'",
"- Consider uninstalling v5 via 'scoop uninstall nonportable/beyondcompare-np'",
"",
"Or maybe you want to upgrade license from v4 to v5: https://www.scootersoftware.com/kb/upgradepolicy"
],
"innosetup": true,
pohlymorph marked this conversation as resolved.
Show resolved Hide resolved
"architecture": {
"64bit": {
"url": "https://www.scootersoftware.com/files/BCompareSetup-5.0.4.30422.zip",
"hash": "2cfb571c94885fce248e6eac4da3f02c930db35176bd964f22b203a6833f5672",
pohlymorph marked this conversation as resolved.
Show resolved Hide resolved
"installer": {
"file": "BCompareSetup.exe",
"args": [
"/DIR=\"$dir\"",
"/VERYSILENT",
"/SUPPRESSMSGBOXES",
"/NORESTART"
pohlymorph marked this conversation as resolved.
Show resolved Hide resolved
]
}
},
"32bit": {
"url": "https://www.scootersoftware.com/files/BCompareSetup-5.0.4.30422.zip",
"hash": "2cfb571c94885fce248e6eac4da3f02c930db35176bd964f22b203a6833f5672",
"installer": {
"file": "BCompareSetup.exe",
"args": [
"/32",
"/DIR=\"$dir\"",
"/VERYSILENT",
"/SUPPRESSMSGBOXES",
"/NORESTART"
]
}
}
},
"bin": [
"Bcomp.exe",
"BCompare.exe",
"BCClipboard.exe"
],
"shortcuts": [
[
"BCompare.exe",
"Beyond Compare 5"
],
[
"BCClipboard.exe",
"Clipboard Compare"
]
],
"post_install": [
"$dir_escaped = \"$dir\".Replace('\\', '\\\\')",
"\"install-context-$architecture\", \"uninstall-context\", \"delete-entry-apps-and-features\" | ForEach-Object {",
" if (Test-Path \"$bucketsdir\\$bucket\\scripts\\$app\\$_.reg\") {",
" $content = Get-Content \"$bucketsdir\\$bucket\\scripts\\$app\\$_.reg\"",
" $content = $content.Replace('$install_dir', $dir_escaped)",
" if ($global) {",
" $content = $content.Replace('HKEY_CURRENT_USER', 'HKEY_LOCAL_MACHINE')",
" }",
" $outfile_no_arch = $_.Replace(\"-$architecture\", \"\")",
" $content | Set-Content -Path \"$dir\\$outfile_no_arch.reg\"",
" }",
"}",
"",
"if ($cmd -eq 'install') {",
" Invoke-Command {reg import \"$dir\\install-context.reg\" 2>&1 | Out-Null}",
" Invoke-Command {reg import \"$dir\\delete-entry-apps-and-features.reg\" 2>&1 | Out-Null}",
"}",
"Remove-Item -Path \"$dir\\unins*\" -Force -Recurse"
pohlymorph marked this conversation as resolved.
Show resolved Hide resolved
],
"pre_uninstall": [
"",
"if ($cmd -eq 'uninstall') {",
" Invoke-Command {reg import \"$dir\\uninstall-context.reg\" 2>&1 | Out-Null}",
"}"
],
"checkver": {
"url": "https://www.scootersoftware.com/kb/dl5_winalternate",
"regex": "files/BCompareSetup-([\\d.]+)\\.zip"
},
"autoupdate": {
"url": "https://www.scootersoftware.com/files/BCompareSetup-$version.zip"
pohlymorph marked this conversation as resolved.
Show resolved Hide resolved
}
}
Binary file not shown.
31 changes: 31 additions & 0 deletions scripts/beyondcompare-np/install-context-32bit.reg
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
Windows Registry Editor Version 5.00


[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Cached]
"{812BC6B5-83CF-4AD9-97C1-6C60C8D025C5} {000214E4-0000-0000-C000-000000000046} 0xFFFF"=hex(3):01,00,00,00,00,00,00,00,80,96,f0,89,7b,07,db,01








[HKEY_CURRENT_USER\SOFTWARE\Classes\lnkfile\shellex\ContextMenuHandlers\Beyond Compare 5]
""="{812BC6B5-83CF-4AD9-97C1-6C60C8D025C5}"

[HKEY_CURRENT_USER\SOFTWARE\Classes\Folder\shellex\ContextMenuHandlers\Beyond Compare 5]
""="{812BC6B5-83CF-4AD9-97C1-6C60C8D025C5}"

[HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\Background\shellex\ContextMenuHandlers\Beyond Compare 5]
""="{812BC6B5-83CF-4AD9-97C1-6C60C8D025C5}"

[HKEY_CURRENT_USER\SOFTWARE\Classes\CLSID\{812BC6B5-83CF-4AD9-97C1-6C60C8D025C5}\InProcServer32]
"ThreadingModel"="Apartment"
""="$install_dir\\BCShellEx64.dll"

[HKEY_CURRENT_USER\SOFTWARE\Classes\CLSID\{812BC6B5-83CF-4AD9-97C1-6C60C8D025C5}]
""="Beyond Compare 5"

[HKEY_CURRENT_USER\SOFTWARE\Classes\*\shellex\ContextMenuHandlers\Beyond Compare 5]
""="{812BC6B5-83CF-4AD9-97C1-6C60C8D025C5}"
31 changes: 31 additions & 0 deletions scripts/beyondcompare-np/install-context-64bit.reg
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
Windows Registry Editor Version 5.00


[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Cached]
"{812BC6B5-83CF-4AD9-97C1-6C60C8D025C5} {000214E4-0000-0000-C000-000000000046} 0xFFFF"=hex(3):01,00,00,00,00,00,00,00,80,96,f0,89,7b,07,db,01

[HKEY_CURRENT_USER\SOFTWARE\Classes\WOW6432Node\CLSID\{812BC6B5-83CF-4AD9-97C1-6C60C8D025C5}\InProcServer32]
"ThreadingModel"="Apartment"
""="$install_dir\\BCShellEx.dll"

[HKEY_CURRENT_USER\SOFTWARE\Classes\WOW6432Node\CLSID\{812BC6B5-83CF-4AD9-97C1-6C60C8D025C5}]
""="Beyond Compare 5"

[HKEY_CURRENT_USER\SOFTWARE\Classes\lnkfile\shellex\ContextMenuHandlers\Beyond Compare 5]
""="{812BC6B5-83CF-4AD9-97C1-6C60C8D025C5}"

[HKEY_CURRENT_USER\SOFTWARE\Classes\Folder\shellex\ContextMenuHandlers\Beyond Compare 5]
""="{812BC6B5-83CF-4AD9-97C1-6C60C8D025C5}"

[HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\Background\shellex\ContextMenuHandlers\Beyond Compare 5]
""="{812BC6B5-83CF-4AD9-97C1-6C60C8D025C5}"

[HKEY_CURRENT_USER\SOFTWARE\Classes\CLSID\{812BC6B5-83CF-4AD9-97C1-6C60C8D025C5}\InProcServer32]
"ThreadingModel"="Apartment"
""="$install_dir\\BCShellEx64.dll"

[HKEY_CURRENT_USER\SOFTWARE\Classes\CLSID\{812BC6B5-83CF-4AD9-97C1-6C60C8D025C5}]
""="Beyond Compare 5"

[HKEY_CURRENT_USER\SOFTWARE\Classes\*\shellex\ContextMenuHandlers\Beyond Compare 5]
""="{812BC6B5-83CF-4AD9-97C1-6C60C8D025C5}"
31 changes: 31 additions & 0 deletions scripts/beyondcompare-np/uninstall-context.reg
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
Windows Registry Editor Version 5.00


[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Cached]
"{812BC6B5-83CF-4AD9-97C1-6C60C8D025C5} {000214E4-0000-0000-C000-000000000046} 0xFFFF"=-

[HKEY_CURRENT_USER\SOFTWARE\Classes\WOW6432Node\CLSID\{812BC6B5-83CF-4AD9-97C1-6C60C8D025C5}\InProcServer32]
"ThreadingModel"=-
""=-

[HKEY_CURRENT_USER\SOFTWARE\Classes\WOW6432Node\CLSID\{812BC6B5-83CF-4AD9-97C1-6C60C8D025C5}]
""=-

[HKEY_CURRENT_USER\SOFTWARE\Classes\lnkfile\shellex\ContextMenuHandlers\Beyond Compare 5]
""=-

[HKEY_CURRENT_USER\SOFTWARE\Classes\Folder\shellex\ContextMenuHandlers\Beyond Compare 5]
""=-

[HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\Background\shellex\ContextMenuHandlers\Beyond Compare 5]
""=-

[HKEY_CURRENT_USER\SOFTWARE\Classes\CLSID\{812BC6B5-83CF-4AD9-97C1-6C60C8D025C5}\InProcServer32]
"ThreadingModel"=-
""=-

[HKEY_CURRENT_USER\SOFTWARE\Classes\CLSID\{812BC6B5-83CF-4AD9-97C1-6C60C8D025C5}]
""=-

[HKEY_CURRENT_USER\SOFTWARE\Classes\*\shellex\ContextMenuHandlers\Beyond Compare 5]
""=-