Installing files from Hotfix manually


  1. Posts : 57
    Windows 7 Professional x64
       #1

    Installing files from Hotfix manually


    I just can not install Windows6.1-KB979155-x64.msu, even though according to the Microsoft website my OS should be compatible. I extracted Windows6.1-KB979155-x64.cab and tryed installing that, but no luck. What if I just extract the files from the cab and put them in the right directory myself?
      My Computer


  2. Posts : 7,107
    W7 home premium 32bit/W7HP 64bit/w10 tp insider ring
       #2

    Hi PDXmax,

    As that hotfix was issued PRIOR to Service pack 1, there should be no need to install it.

    Suspect thats why you cant install it

    Roy
      My Computer


  3. Posts : 57
    Windows 7 Professional x64
    Thread Starter
       #3

    torchwood said:
    Hi PDXmax,

    As that hotfix was issued PRIOR to Service pack 1, there should be no need to install it.

    Suspect thats why you cant install it

    Roy
    Ah I see, thanks! I am still kinda curious though if it is possible to install hotfixes by extracting the files from the cab and putting them in the right directory?
      My Computer


  4. Posts : 7,351
    Windows 7 HP 64
       #4

    Can you explain what you're trying to achieve?

    Have a look at:
    MS releases SP2 for Windows 7 - Windows 7 Help Forums
      My Computers


  5. Posts : 57
    Windows 7 Professional x64
    Thread Starter
       #5

    Megahertz07 said:
    Can you explain what you're trying to achieve?

    Have a look at:
    MS releases SP2 for Windows 7 - Windows 7 Help Forums
    I'm really just trying to understand how Windows works a bit more, when I was googling how to install the hotfix nobody mentioned the possibility of simply extracting the files from Windows6.1-KB979155-x64.cab to whatever folders the installer would put them in. I assume there's some reason why it wouldn't work and I'm curious why.
      My Computer


  6. Posts : 2,468
    Windows 7 Ultimate x64
       #6

    Lots of reasons why installing an update is not a simple matter of "extracting some files and put them in some folder". The main reason is pretty simple: We have no idea of what an update actually does. Remember that Microsoft is generally secretive about the exact contents of each update, and most important Windows is not open source, so you can never know for sure the actual contents of an update and the correct way of installing it, unless Microsoft decided to tell.

    More specifically, it's not that simple as copying a few files, even if you knew what and where. For one, most updates deal with system files, probably most constantly in use or hard to replace, or even belonging to the kernel itself. Simple copy-paste is not an easy thing for those "special" files. Keeping the system stable during the operation is difficult. The update installer uses the system account for its special permissions, and maybe (just a guess) some kernel-mode code to perform some installs.

    But there is more. Updates aren't just placing files, other things are known to be affected. Updates may create/change registry entries with new configuration, can replace some configurations, create entirely new files or even create scheduled tasks (the "update" that installed the GWX malware was way more complex than just copy files, to give a concrete example).

    Moreover, if you learn the API of the msi/msu installers, there is plenty of possible extension points. Those installers aren't actually "copy a bunch of files" thing, but complete programs where pretty much arbitrary code can be run. And since we don't know what actions that does exactly, we can't somply reproduce them independently.
      My Computer


  7. Posts : 57
    Windows 7 Professional x64
    Thread Starter
       #7

    Alejandro85 said:
    Lots of reasons why installing an update is not a simple matter of "extracting some files and put them in some folder". The main reason is pretty simple: We have no idea of what an update actually does. Remember that Microsoft is generally secretive about the exact contents of each update, and most important Windows is not open source, so you can never know for sure the actual contents of an update and the correct way of installing it, unless Microsoft decided to tell.

    More specifically, it's not that simple as copying a few files, even if you knew what and where. For one, most updates deal with system files, probably most constantly in use or hard to replace, or even belonging to the kernel itself. Simple copy-paste is not an easy thing for those "special" files. Keeping the system stable during the operation is difficult. The update installer uses the system account for its special permissions, and maybe (just a guess) some kernel-mode code to perform some installs.

    But there is more. Updates aren't just placing files, other things are known to be affected. Updates may create/change registry entries with new configuration, can replace some configurations, create entirely new files or even create scheduled tasks (the "update" that installed the GWX malware was way more complex than just copy files, to give a concrete example).

    Moreover, if you learn the API of the msi/msu installers, there is plenty of possible extension points. Those installers aren't actually "copy a bunch of files" thing, but complete programs where pretty much arbitrary code can be run. And since we don't know what actions that does exactly, we can't somply reproduce them independently.
    I see, thank you for your help! I've only recently been learning how to customize Windows and how system files and the registry works, so a lot of this is new to me.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 14:35.
Find Us