PDA

View Full Version : SdAskDestPath does not always validate the path properly...



schyfs
05-26-2004, 08:23 AM
Hi

I've created an install using InstallScript (events based) in DevStudio 9. In OnFirstUIBefore, the SdAskDestPath is being used to get the destination path. If you type in

C\Program Files\MyApp (note the missing colon)

it fails stating that the directory is not valid or is write protected (This is GOOD :)) . However, if you type in

C:Program Files\MyApp (note the missing backslash)

then it installs MyApp in the %TMP% directory (this is bad :() . Anyone ever see this? Is this a bug...is there a workaround? I really do not want to have to parse the destination path myself.

Thanks