With *an* admin prompt
This commit is contained in:
parent
3777373d71
commit
a47af1b37d
@ -36,7 +36,7 @@ Var /GLOBAL OldInstallDir
|
|||||||
UserInfo::GetAccountType
|
UserInfo::GetAccountType
|
||||||
Pop $0
|
Pop $0
|
||||||
${If} $0 != "Admin"
|
${If} $0 != "Admin"
|
||||||
MessageBox MB_ICONINFORMATION|MB_OK "An old installation of the Modrinth App was detected that requires administrator permission to update from. You will be prompted with admin prompt shortly."
|
MessageBox MB_ICONINFORMATION|MB_OK "An old installation of the Modrinth App was detected that requires administrator permission to update from. You will be prompted with an admin prompt shortly."
|
||||||
${EndIf}
|
${EndIf}
|
||||||
|
|
||||||
ReadRegStr $4 SHCTX "${MANUPRODUCTKEY}" ""
|
ReadRegStr $4 SHCTX "${MANUPRODUCTKEY}" ""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user