Source code of Windows XP (NT5)
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.

27 lines
959 B

  1. @echo off
  2. setlocal enableextensions
  3. e:
  4. cd \BuildTools
  5. set PATH=%PATH%;E:\BuildTools
  6. set ROOTDIR=E:\EaBuild.Raptor
  7. set VERSION=%1
  8. if '%VERSION%' EQU '' goto Usage
  9. if not exist %ROOTDIR%\Bin\IntelRelease md %ROOTDIR%\Bin\IntelRelease
  10. echo Compiling %ROOTDIR%\Bin\IntelRelease\ADMigration.msi
  11. attrib -r %ROOTDIR%\Dev\Raptor\Setup\Wise\ADMigration.wsi
  12. rem CScript.exe CompileWsi.vbs %ROOTDIR%\Dev\Raptor\Setup\Wise\ADMigration.wsi /P ROOTDIR=%ROOTDIR%\ /O %ROOTDIR%\Bin\IntelRelease\ADMigration.msi
  13. "C:\Program Files\Wise for Windows Installer\WfWi.exe" %ROOTDIR%\Dev\Raptor\Setup\Wise\ADMigration.wsi /c /P ROOTDIR=%ROOTDIR%\
  14. if exist %ROOTDIR%\Bin\IntelRelease\ADMigration.msi del /f %ROOTDIR%\Bin\IntelRelease\ADMigration.msi
  15. if exist %ROOTDIR%\Dev\Raptor\Setup\Wise\ADMigration.msi copy %ROOTDIR%\Dev\Raptor\Setup\Wise\ADMigration.msi %ROOTDIR%\Bin\IntelRelease\ADMigration.msi
  16. goto End
  17. :Usage
  18. echo Usage: RaptorCreateInstall.cmd Version
  19. :End
  20. endlocal