${PRODUCT_UNINST_KEY} because for reasons this installer should be allowed to be installed several times and in different folders.... we can say that it's like an add-on.So to have an unique uninstaller for unique path, I thought to convert the
InstallPath
${StrFilter} $INSTDIR "-" "" "" $R0
;convert to Hexadecimal
${registry::StrToHex} $R0 $HexPathValue
${registry::Unload}well, now I would like to change ${PRODUCT_UNINST_KEY} like ${PRODUCT_UNINST_KEY} = "${PRODUCT_UNINST_KEY} $HexPathValue" so I tried to use command but this is wrong.StrCpy
I don't want to do something like this:
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY} $HexPathValue" "DisplayName" "$(^Name)"Can you please explain me how to do that?By the way the value should be used automatically by the uninistalller later after to have wrote these strings:
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Path" "$INSTDIR"
WriteUninstaller "$INSTDIR\Program\Uninstall${PRODUCT_NAME} ${PRODUCT_VERSION}.exe"
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)"
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\Program\Uninstall${PRODUCT_NAME} ${PRODUCT_VERSION}.exe"
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}"
Thank you in advance for the explanation