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
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