Mypal portable mode

This commit is contained in:
K4sum1 2025-03-24 16:06:08 -07:00
commit 633ef1c426
24 changed files with 299 additions and 25 deletions

View file

@ -4972,6 +4972,10 @@
!define INSTALLTYPE_CUSTOM 2
!endif
!ifndef INSTALLTYPE_PORTABLE
!define INSTALLTYPE_PORTABLE 3
!endif
/**
* Checks whether to display the current page (e.g. if not performing a custom
* install don't display the custom pages).
@ -5649,6 +5653,7 @@
Push $R9
IntCmp $InstallType ${INSTALLTYPE_CUSTOM} end +1 +1
IntCmp $InstallType ${INSTALLTYPE_PORTABLE} end +1 +1
${CanWriteToInstallDir} $R9
StrCmp "$R9" "false" end +1
${CheckDiskSpace} $R9