X-Git-Url: https://repo.jachan.dev/qemu.git/blobdiff_plain/1cdae4573d7613149348d834c605bfbe3c7d405b..e325b49a320b493cc5d69e263751ff716dc458fe:/qemu.nsi diff --git a/qemu.nsi b/qemu.nsi index 0dc1f52693..cc5fafd579 100644 --- a/qemu.nsi +++ b/qemu.nsi @@ -60,7 +60,11 @@ InstallDir $PROGRAMFILES\qemu ; Registry key to check for directory (so if you install again, it will ; overwrite the old one automatically) -InstallDirRegKey HKLM "Software\qemu" "Install_Dir" +!ifdef W64 +InstallDirRegKey HKLM "Software\qemu64" "Install_Dir" +!else +InstallDirRegKey HKLM "Software\qemu32" "Install_Dir" +!endif ; Request administrator privileges for Windows Vista. RequestExecutionLevel admin