Mike Morawski wrote: > I have a program that uninstalls MSDE 1.0 and reinstalls it after a > computer name change. This is used for a few computer labs. I'm having a > real difficult problem (First time user of wpkg and I've spent more time > than I'd like to admit to get this to work!), first, here is the batch > file I'm running: > > REM ======REMOVE====== > > NET STOP "MSSQLServer" > > taskkill /F /IM "sqlmangr.exe" > > start /wait %systemdrive%\WINDOWS\IsUninst.exe -msql70.mif > -f"%systemdrive%\MSSQL7\uninst.isu" -C"%systemdrive%\MSSQL7\sqlsun.dll" > -y -a try to add %COMSPEC% /C before start > > REM ======INSTALL===== > > copy \\205.189.30.226\WPKG\Programs\msde\mike_msde_setup.iss %windir% > \\205.189.30.226\WPKG\Programs\msde\x86\setup\setupsql.exe k=Dk -s -m > -f1 "%windir%\mike_msde_setup.iss" try to add %COMSPEC% /C before copy I would also add /Y to make sure it does not hang on overwrite. > > REM ======DONE====== > > When running the batch file directly on the UNC share, it will complete > fine. When I run wpkg.js through cscript with the same command in wpkg > it will complete fine. When I let the service run, it never completes, > it gets through the uninstall, and I see the install exe running which > never ends and just sits there. WPKG is set to run as the same account > I've tried the batch/direct cscript js call from. > > Why is this? > ------------------------------------------------------------------------- > wpkg-users mailing list archives >> > http://lists.wpkg.org/pipermail/wpkg-users/ > _______________________________________________ > wpkg-users mailing list > wpkg-users at lists.wpkg.org > http://lists.wpkg.org/mailman/listinfo/wpkg-users |