Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
811 B

  1. REM Set directories to use for the build
  2. set ISDRIVE="%HOMEDRIVE%\program files\InstallShield\InstallShield for Windows Installer"
  3. set BUILDMSIDIR=%SDXROOT%\enduser\sakit\buildMSI
  4. REM Make a temp copy of the ism so the original ISM isn't modified
  5. copy %BUILDMSIDIR%\sakit.ism %BUILDMSIDIR%\sakittmp.ism
  6. REM Import the reg files
  7. cscript %BUILDMSIDIR%\sakitreg.vbs
  8. REM Build the ISM
  9. %ISDRIVE%\System\iscmdbld -p "%BUILDMSIDIR%\sakit.ism"
  10. REM Copy the MSI to the correct place and rename it
  11. copy "C:\dev\sa\sa2\sakit\build label 1\My release-1\diskimages\disk1\Remote Administration Tools.msi" %BUILDMSIDIR%\sasetup_.msi
  12. REM Remove the Data.cab
  13. cscript.exe wistream.vbs sasetup_.msi /D Data.Cab
  14. REM Restore the original ISM file
  15. move %BUILDMSIDIR%\sakittmp.ism %BUILDMSIDIR%\sakit.ism