ferguslogic
06-08-2009, 10:08 AM
Hello lindersoft team,
I am using a batch file to install sql express 05 with command line parameters as well as some smo setups for our application.
I would like to delete this batch file after the installation completes but I am not able to do so.
When I attempt to delete the file I do not receive any errors at all, the file is just never removed.
Here is the code that I am using toward the end of our script
Register all pending file operations
Display Message Box "%_SB_INSTALLDIR%\05ExpressInstall.bat" -- "file path"
#delete file "%_SB_INSTALLDIR%\05ExpressInstall.bat"
You will notice I am displaying a message box just to verify the path is correct and it definitely appears to be. So I am not sure what the issue may be.
I am running 6.9.2587
thank you
Matt
I am using a batch file to install sql express 05 with command line parameters as well as some smo setups for our application.
I would like to delete this batch file after the installation completes but I am not able to do so.
When I attempt to delete the file I do not receive any errors at all, the file is just never removed.
Here is the code that I am using toward the end of our script
Register all pending file operations
Display Message Box "%_SB_INSTALLDIR%\05ExpressInstall.bat" -- "file path"
#delete file "%_SB_INSTALLDIR%\05ExpressInstall.bat"
You will notice I am displaying a message box just to verify the path is correct and it definitely appears to be. So I am not sure what the issue may be.
I am running 6.9.2587
thank you
Matt