Making Data Directory movable
${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?
- Read more about Making Data Directory movable
- 1 comment
- Log in or register to post comments