Fix writing install dir reg key.

This commit is contained in:
Andreas 2015-04-17 21:49:25 +02:00
parent 9deb331399
commit d2bb07ead6
1 changed files with 1 additions and 1 deletions

View File

@ -343,7 +343,7 @@ Section "Clementine" Clementine
@NORMAL@ IntCmp $R0 6 HasDefaultPrograms NoDefaultPrograms HasDefaultPrograms
; Write the installation path into the registry
@NORMAL@ WriteRegStr HKLM SOFTWARE\NSIS_Example2 "Install_Dir" "$INSTDIR"
@NORMAL@ WriteRegStr ${PRODUCT_ROOT_KEY} ${PRODUCT_INST_KEY} "Install_Dir" "$INSTDIR"
@NORMAL@ HasDefaultPrograms:
@NORMAL@ ; Register Clementine with Default Programs