mirror of
https://github.com/i2p/i2p.firefox.git
synced 2024-12-06 19:16:37 +01:00
Set install dir to local app data if the user is not elevated
This commit is contained in:
@@ -147,7 +147,7 @@ Function .onInit
|
||||
UserInfo::GetAccountType
|
||||
pop $0
|
||||
${If} $0 != "admin"
|
||||
InstallDir "$LOCALAPPDATA\${COMPANYNAME}\${APPNAME}"
|
||||
StrCpy INSTDIR "$LOCALAPPDATA\${COMPANYNAME}\${APPNAME}"
|
||||
${EndIf}
|
||||
!insertmacro MUI_LANGDLL_DISPLAY
|
||||
Call ShouldInstall64Bit
|
||||
|
||||
Reference in New Issue
Block a user