${SegmentFile}
Var CustomDataDir
${SegmentInit}
StrCpy $CustomDataDir "Data"
${ReadUserOverrideConfig} $0 SettingsDirectory
${IfThen} $0 != "" ${|} StrCpy $CustomDataDir $0 ${|}
${SetEnvironmentVariable} PAL:DataDir "$EXEDIR\$CustomDataDir"
!macroend
This does not seem to work.. Any suggestions?
You can't do that. It won't work and I will never make it work.
I am a Christian and a developer and moderator here.
“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1