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.

25 lines
1020 B

  1. iisreset /STOP /TIMEOUT:0
  2. net stop upnphost
  3. c:
  4. cd \
  5. mkdir upnp
  6. cd upnp
  7. move /y upnphost.dll upnphost.bak
  8. move /y upnpcont.exe upnpcont.bak
  9. copy /y m:\nt2\net\upnp\host\upnphost\dll\obj\i386\*.dll
  10. copy /y m:\nt2\net\upnp\host\upnphost\dll\obj\i386\*.pdb
  11. copy /y m:\nt2\net\upnp\host\upnpcont\exe\obj\i386\*.exe
  12. copy /y m:\nt2\net\upnp\host\upnpcont\exe\obj\i386\*.pdb
  13. copy /y m:\nt2\net\upnp\host\upnphost\upnphost.inf
  14. copy /y m:\nt2\net\upnp\host\udhisapi\obj\i386\udhisapi.dll c:\upnphost\
  15. copy /y m:\nt2\net\upnp\host\udhisapi\obj\i386\udhisapi.pdb c:\upnphost\
  16. copy /y m:\nt2\net\upnp\host\udhisapi\obj\i386\udhisapi.pdb
  17. copy /y m:\nt2\net\upnp\host\sample\src\obj\i386\sdev.dll
  18. copy /y m:\nt2\net\upnp\host\sample\src\obj\i386\sdev.pdb
  19. copy /y m:\nt2\net\upnp\host\sample\inst\obj\i386\*.exe
  20. copy /y m:\nt2\net\upnp\host\sample\inst\obj\i386\*.pdb
  21. copy *.pdb %windir%\system32
  22. %windir%\System32\rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 C:\upnp\upnphost.inf
  23. regsvr32 /s sdev.dll
  24. e:
  25. iisreset /START