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.

13 lines
360 B

  1. Function InstallCab()
  2. Dim strTemp, strProCab, strServerCab
  3. Dim objHCU
  4. strTemp = Session.property("SourceDir")
  5. strProCab = strTemp & "sup_pro.cab"
  6. strServerCab = strTemp & "sup_srv.cab"
  7. Set objHCU = CreateObject("hcu.pchupdate")
  8. objHCU.UpdatePkg strProCab , true
  9. objHCU.UpdatePkg strServerCab , true
  10. Set objHCU = Nothing
  11. InstallCab = 1
  12. End Function