Added IfRtlLanguage and GetRegView
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7153 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
5887d6c60d
commit
1f355d992c
8 changed files with 45 additions and 19 deletions
|
@ -167,6 +167,16 @@ Checks the silent flag, and jumps to jump_if_silent if the installer is silent,
|
|||
|
||||
Checks if \R{setshellvarcontext}{SetShellVarContext} is set to \e{all}.
|
||||
|
||||
\S2{ifrtllanguage} IfRtlLanguage
|
||||
|
||||
\c jump_if_true [jump_if_false]
|
||||
|
||||
Checks if active language is a RTL language.
|
||||
|
||||
\NsisWarnBlockContainerBegin
|
||||
\\<b\\>Warning:\\</b\\> Do not call this in [un].onInit because the language file has not been fully initialized.
|
||||
\NsisWarnBlockContainerEnd
|
||||
|
||||
\S2{intcmp} IntCmp
|
||||
|
||||
\c val1 val2 jump_if_equal [jump_if_val1_less] [jump_if_val1_more]
|
||||
|
|
|
@ -14,9 +14,9 @@ Released on ? ?th, 2020
|
|||
|
||||
\S2{} Minor Changes
|
||||
|
||||
\b Added \R{ifshellvarcontextall} IfShellVarContextAll}
|
||||
\b Added \R{ifshellvarcontextall}{IfShellVarContextAll} and \R{ifrtllanguage}{IfRtlLanguage}
|
||||
|
||||
\# Undocumented: \b Added GetShellVarContext | Documenting this would require documenting the all/current to number mapping
|
||||
\# Undocumented: \b Added GetShellVarContext, IfAltRegView and GetRegView | Documenting these would require documenting the parameter name to number mapping
|
||||
|
||||
\H{v3.05} 3.05
|
||||
|
||||
|
|
|
@ -221,11 +221,4 @@ Does not affect \R{ainstalldirregkey}{InstallDirRegKey}. Instead, the registry m
|
|||
\c ReadRegStr $0 HKLM Software\Microsoft\Windows\CurrentVersion ProgramFilesDir
|
||||
\c DetailPrint $0 # prints C:\Program Files
|
||||
\c ${EndIf}
|
||||
|
||||
\c Function .onInit
|
||||
\c ${If} ${RunningX64}
|
||||
\c SetRegView 64
|
||||
\c ReadRegStr $INSTDIR HKLM Software\NSIS ""
|
||||
\c SetRegView Default
|
||||
\c ${EndIf}
|
||||
\c FunctionEnd
|
||||
\c SetRegView Default
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue