home *** CD-ROM | disk | FTP | other *** search
- @echo off
- rem Performs Unattended UnInstall operation
- rem
- rem command line argument specifying the short filename of the sql install path
- rem is required, e.g., c:\mssql7
- rem
- rem
- rem
- SET SQLPath=%1
- if '%SQLPath%' == '' goto pathnotok
- if exist %SQLPath%\uninst.isu goto pathok
- :pathnotok
- echo "Usage: sql70rem.bat <sql install path>"
- goto endit
- :pathok
- @echo on
- start /wait isuninst.exe -a -y -m -f%SQLPath%\uninst.isu -C%SQLPath%\sqlsun.dll
- @echo off
- :endit