diff options
| author | Adib Taraben <theadib@gmail.com> | 2006-06-24 17:09:09 +0000 |
|---|---|---|
| committer | theadib <theadib@users.sourceforge.net> | 2006-06-24 17:09:09 +0000 |
| commit | 74527c473352093a3aa18ac47718c31a8f8e18be (patch) | |
| tree | 6b95848e72a851ac459e4da06bba85c8af986518 | |
| parent | small changes to allow compilation on windows (diff) | |
| download | inkscape-74527c473352093a3aa18ac47718c31a8f8e18be.tar.gz inkscape-74527c473352093a3aa18ac47718c31a8f8e18be.zip | |
check Context before doing shortcuts
(bzr r1273)
| -rw-r--r-- | packaging/win32/inkscape.nsi | 8 |
1 files changed, 8 insertions, 0 deletions
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 |
