My code looks like this:
TiA
!define PRODUCT_VERSION "1.2.3"
!include "StrFunc.nsh"
${StrRep}
${StrRep} $0 "${PRODUCT_VERSION}" "." "_"
OutFile "${InstallerPath}\Setup\Application_$0_setup.exe"
4 posts
TiA
!define PRODUCT_VERSION "1.2.3"
!include "StrFunc.nsh"
${StrRep}
${StrRep} $0 "${PRODUCT_VERSION}" "." "_"
OutFile "${InstallerPath}\Setup\Application_$0_setup.exe"