The OutFile string doesn't accept variable. But it will accept global name defined with !define.
The output file is then DopravniDenik3.45$MUTACESetup.exe. Am I doing something wrong?...
Var MUTACE
!define PRODUCT_VERSION "3.45"
...
OutFile "Output\DopravniDenik${PRODUCT_VERSION}$MUTACESetup.exe"
...
Function .onInit
${If} ${DDVERZE} == "CD"
StrCpy $MUTACE ""
${Else}
StrCpy $MUTACE "SD"
${EndIf}
FunctionEnd
...
Edit: I forgot - the Name instruction works fine with $MUTACE