medfall

A super great game engine
Log | Files | Refs

commit ab105fd09d5c21cef49140725a688a1bc0ea2a3b
parent 3ceade408e2a3b93f6754238e0dd74425f8444e0
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Sat Jul 15 23:00:59 +0300

Write to 64bit registry

Diffstat:
installer.nsi | 21+++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
diff --git a/installer.nsi b/installer.nsi @@ -4,7 +4,6 @@ Name "Medfall" Outfile "MedfallInstaller.exe" InstallDir "$PROGRAMFILES64\Medfall" -InstallDirRegKey HKCU "Software\Medfall" "" RequestExecutionLevel admin !insertmacro MUI_PAGE_DIRECTORY @@ -25,17 +24,18 @@ Section "Install" SectionInstall WriteUninstaller "$INSTDIR\uninstall.exe" # Registry keys - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Medfall" "DisplayName" "Medfall" - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Medfall" "UninstallString" "$INSTDIR\uninstall.exe" - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Medfall" "DisplayIcon" "$INSTDIR\logo.ico" - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Medfall" "Publisher" "Medfall Yes Son" - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Medfall" "DisplayVersion" "0.0.0.0" - WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Medfall" "NoModify" 1 - WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Medfall" "NoRepair" 1 + SetRegView 64 + WriteRegStr HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Medfall" "DisplayName" "Medfall" + WriteRegStr HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Medfall" "UninstallString" "$INSTDIR\uninstall.exe" + WriteRegStr HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Medfall" "DisplayIcon" "$INSTDIR\logo.ico" + WriteRegStr HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Medfall" "Publisher" "Medfall Yes Son" + WriteRegStr HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Medfall" "DisplayVersion" "0.0.0.0" + WriteRegDWORD HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Medfall" "NoModify" 1 + WriteRegDWORD HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Medfall" "NoRepair" 1 SectionGetSize ${SectionInstall} $0 IntFmt $1 "0x%08X" $0 - WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Medfall" "EstimatedSize" $1 + WriteRegDWORD HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Medfall" "EstimatedSize" $1 SectionEnd Section "Uninstall" @@ -60,5 +60,6 @@ Section "Uninstall" RMDir "$SMPROGRAMS\Medfall" # Registry keys - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Medfall" + SetRegView 64 + DeleteRegKey HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Medfall" SectionEnd