From: theadib Date: Sat, 24 Jun 2006 17:09:09 +0000 (+0000) Subject: check Context before doing shortcuts X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4e37d840772fbc144e0992fe39ed3d3818fc1cff;p=inkscape.git check Context before doing shortcuts --- diff --git a/packaging/win32/inkscape.nsi b/packaging/win32/inkscape.nsi index f5c2e5514..d54592d00 100644 --- a/packaging/win32/inkscape.nsi +++ b/packaging/win32/inkscape.nsi @@ -525,6 +525,14 @@ Section $(lng_Alluser) SecAlluser ; disable this option in Win95/Win98/WinME SectionIn 1 2 3 StrCpy $MultiUser "1" + StrCmp $MultiUser "1" "" SingleUser + DetailPrint "admin mode, registry root will be HKLM" + SetShellVarContext all + Goto endSingleUser + SingleUser: + DetailPrint "single user mode, registry root will be HKCU" + SetShellVarContext current + endSingleUser: SectionEnd SectionGroup $(lng_Shortcuts) SecShortcuts