NewsArchive
12-04-2005, 06:31 AM
Hi Friedrich
Using SB Dev 5.2.1321
I am running the MSDE setup at the end of my script and the Run
command line contains the %_SB_INSTALLDIR% variable. This produces a
syntax error. If I replace the variable with "C:\" it works. It looks
like the variable does not get translated.
This works:
INSTANCENAME=mydb SAPWD=......... DISABLENETWORKPROTOCOLS=0
SECURITYMODE=SQL /L C:\MSDELog.log
this doesn't
INSTANCENAME=mydb SAPWD=......... DISABLENETWORKPROTOCOLS=0
SECURITYMODE=SQL /L %_SB_INSTALLDIR%\Setup\MSDELog.log
Also I tried to include an OutputDebugString to see what the command
line contained but I could not get the debug output to be displayed in
debugview. I sungle stepped through the debugger and used debug mode =
Full.
TIA
Sed Mayne
Using SB Dev 5.2.1321
I am running the MSDE setup at the end of my script and the Run
command line contains the %_SB_INSTALLDIR% variable. This produces a
syntax error. If I replace the variable with "C:\" it works. It looks
like the variable does not get translated.
This works:
INSTANCENAME=mydb SAPWD=......... DISABLENETWORKPROTOCOLS=0
SECURITYMODE=SQL /L C:\MSDELog.log
this doesn't
INSTANCENAME=mydb SAPWD=......... DISABLENETWORKPROTOCOLS=0
SECURITYMODE=SQL /L %_SB_INSTALLDIR%\Setup\MSDELog.log
Also I tried to include an OutputDebugString to see what the command
line contained but I could not get the debug output to be displayed in
debugview. I sungle stepped through the debugger and used debug mode =
Full.
TIA
Sed Mayne