2021-01-20 01:47:49 -09:00
|
|
|
!macro customInstall
|
2023-04-09 20:29:22 -08:00
|
|
|
WriteRegStr HKCU "Software\Classes\Directory\Background\shell\Hyper" "" "Open &Hyper here"
|
2021-01-20 01:47:49 -09:00
|
|
|
WriteRegStr HKCU "Software\Classes\Directory\Background\shell\Hyper" "Icon" "$appExe"
|
|
|
|
|
WriteRegStr HKCU "Software\Classes\Directory\Background\shell\Hyper\command" "" `$appExe "%V"`
|
|
|
|
|
|
2023-04-09 20:29:22 -08:00
|
|
|
WriteRegStr HKCU "Software\Classes\Directory\shell\Hyper" "" "Open &Hyper here"
|
2021-01-20 01:47:49 -09:00
|
|
|
WriteRegStr HKCU "Software\Classes\Directory\shell\Hyper" "Icon" "$appExe"
|
|
|
|
|
WriteRegStr HKCU "Software\Classes\Directory\shell\Hyper\command" "" `$appExe "%V"`
|
|
|
|
|
|
2023-04-09 20:29:22 -08:00
|
|
|
WriteRegStr HKCU "Software\Classes\Drive\shell\Hyper" "" "Open &Hyper here"
|
2021-01-20 01:47:49 -09:00
|
|
|
WriteRegStr HKCU "Software\Classes\Drive\shell\Hyper" "Icon" "$appExe"
|
|
|
|
|
WriteRegStr HKCU "Software\Classes\Drive\shell\Hyper\command" "" `$appExe "%V"`
|
|
|
|
|
!macroend
|
|
|
|
|
|
|
|
|
|
!macro customUnInstall
|
|
|
|
|
DeleteRegKey HKCU "Software\Classes\Directory\Background\shell\Hyper"
|
|
|
|
|
DeleteRegKey HKCU "Software\Classes\Directory\shell\Hyper"
|
|
|
|
|
DeleteRegKey HKCU "Software\Classes\Drive\shell\Hyper"
|
|
|
|
|
!macroend
|
2021-02-10 09:48:28 -09:00
|
|
|
|
|
|
|
|
!macro customInstallMode
|
|
|
|
|
StrCpy $isForceCurrentInstall "1"
|
|
|
|
|
!macroend
|
2021-02-11 07:03:26 -09:00
|
|
|
|
|
|
|
|
!macro customInit
|
|
|
|
|
IfFileExists $LOCALAPPDATA\Hyper\Update.exe 0 +2
|
|
|
|
|
nsExec::Exec '"$LOCALAPPDATA\Hyper\Update.exe" --uninstall -s'
|
2023-04-09 20:29:22 -08:00
|
|
|
!macroend
|