PDA

View Full Version : SB6 set variable [Append Value]



NewsArchive
10-21-2008, 01:32 AM
Hi Friedrich

I am building a variable in separate lines so that I can see it all on screen.
here is an example..

Set Variable %MYSQLCMDLINE% to "-q /norebootchk /qn reboot=ReallySuppress"
Set Variable %MYSQLCMDLINE% to " ADDLOCAL=ALL instancename=%INSTANCENAME%" [Append
Value]

However, sb6 is ignoring the leading space in subsequent [Append Value] lines
so I end up with %MYSQLCMDLINE% containing..

-q /norebootchk /qn reboot=ReallySuppressADDLOCAL=ALL instancename=%INSTANCENAME%
( I lose the space between ReallySuppress and ADDLOCAL)

I can work around the issue by re-organising the way I build the string, but is there
a way to insert a hard-space at the beginning of a string?

Perhaps add a [Append NoTruncate] setting?

Thanks

John Griffiths

NewsArchive
10-21-2008, 01:33 AM
Hi John,

Yes, all leading and trailing spaces are (automatically) removed. I'll see
what we can do here for SB7.

Thanks,

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

"point. click. ship" - that's SetupBuilder
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
10-22-2008, 01:20 AM
G'day mate,

Give a <160> (no-break space) instead of a space a try and see if that
works for you.

Skip

NewsArchive
10-22-2008, 01:21 AM
Gday Skip

Hmm, will try that in the morning. Gettin late here now.
Must catch up with you on Skype in the next few days.

John