PDA

View Full Version : Spaces in appended variables



NewsArchive
11-18-2006, 05:24 AM
I need to include a second destination for copying data into a new
install from a data CD.
I have the dialogs working fine and the code at the end to do the
unzipping but I'm having a problem with the default destination folder.
When [INSTALLDIR] is set to %PROGRAMFILESDIR%\csp\[PRODUCTNAME]
and %_SB_INSTALLDIR% is set to [INSTALLDIR]
and %CS_DATADEST% is set to "%_SB_INSTALLDIR%\DATA",
the dialog displays the data destination with a space between the
install directory and the \DATA. - "c:\program files\csp\csrpt \data"
It seems to be a problem with [PRODUCTNAME] as the space disappears when
I replace [PRODUCTNAME] with text in the compiler variables visualizer
entry for [INSTALLDIR]

thanks
chris

NewsArchive
11-18-2006, 05:24 AM
Chris,

Would it be possible for you to send us a small demo script?

Thanks,
Friedrich

--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 5

NewsArchive
11-18-2006, 05:24 AM
friedrich linder wrote:
> Chris,
>
> Would it be possible for you to send us a small demo script?
>
> Thanks,
> Friedrich
>
I think so. Watch your mail.