NSIS: remove quotes from DWORD values in macro

This commit is contained in:
bitraid 2018-08-01 18:07:07 +03:00
parent bee5681120
commit 77eb0aa080
No known key found for this signature in database
GPG Key ID: 140D99CA504654D3
1 changed files with 2 additions and 2 deletions

View File

@ -42,8 +42,8 @@ var KeepReg
ClearErrors
ReadRegDWORD $R0 ${ROOT_KEY} "${SUBKEY}" "${KEY_NAME}"
${if} ${errors}
${orif} $R0 != "${KEY_VALUE}"
WriteRegDWORD ${ROOT_KEY} "${SUBKEY}" "${KEY_NAME}" "${KEY_VALUE}"
${orif} $R0 != ${KEY_VALUE}
WriteRegDWORD ${ROOT_KEY} "${SUBKEY}" "${KEY_NAME}" ${KEY_VALUE}
${endif}
!macroend