29-7-2009 23:34
João Cardoso
KB971092 – Visual Studio 2008 Service Pack 1 ATL Security Update - does not install
EN:
If you are having trouble installing VS2008 SP1 ATL Patch (KB971092) follow this guide. It worked for me and as far as I know there isn’t any other workaround. This is also documented on this feedback entry at connect: https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=478117 .
There are 2 scenarios. One that occurs when you use windows update. On Vista and Windows 7 there are reports of people installing the same update over and over again. The fact is that the update service “thinks” that the installation process went ok but there was in fact an error and the patch is again listed to update. The other scenario is when you try to install the stand alone setup but you get an error.
The best way is still to download the stand alone setup file, and following the steps:
1 - Download VS90SP1-KB971092-x86.exe from here
2 - Start the installation
3 – You will get an error message. Usually: “VC Libraries QFE Patch does not apply, or is blocked by another condition on your system.”
4 - Don’t close the window, and find the temporary folder that was created in one of your drives. You may need to change your setting to see invisible folders. Usually this resides on the C drive and its a bunch of letters and numbers. Its a folder that has the file VS90SP1-KB971092-x86.msp in it. Copy the entire folder to another location and rename it to your liking.
5 - Finally cancel the installation process
6 - Navigate to <drive>:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools and find vsvars32.bat.
7 - Change the permissions (on security) on the file to allow everyone to edit it. This may not be required but better safe than sorry, because the patch will edit this file.
8 - Finally start VS90SP1-KB971092-x86.msp from within the saved folder and the process should complete. Go to windows update and check for new updates. The patch should not be offered again.
Hope this helps.
PT:
Se tem estado a ter problemas na instalação do patch do titulo (KB971092) siga este guia. Funcionou para mim e tanto quanto sei não há outra forma quando o erro ocorre. Este problema também está documentado nesta entrada no connect: https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=478117 .
Existem 2 cenários. Um deles ocorre quando se usa o Windows Update. No Vista e Windows 7 existem noticias de pessoas que acabam por estar a instalar o mesmo patch vezes sem conta. O facto é de que o sistema de actualização “pensa” que o processo de instalação foi concluído com sucesso mas na realidade ocorreu um erro e o patch aparece novamente disponível para ser instalado. O outro cenário ocorre quando se tenta instalar a partir do setup que se faz download manual e dá erro antes do processo começar.
A melhor forma é tanto quanto sei fazer o download do patch manualmente e seguir estes passos:
1 - Download do VS90SP1-KB971092-x86.exe aqui
2 – Comecem a instalação
3 – Irão encontrar este erro normalmente: “VC Libraries QFE Patch does not apply, or is blocked by another condition on your system.”
4 – Não fechem a janela de instalação, e procurem pela directoria temporária que foi criada numa das vossas drives. Pode ser necessário alterar os settings para ver pastas escondidas. Normalmente a pasta é criada na drive C e o nome são uma série de letras e números. É a pasta onde se pode encontrar o ficheiro VS90SP1-KB971092-x86.msp. Copiem a pasta para outra localização com outro nome.
5 - Cancelem o processo de instalação.
6 – Encontrem o ficheiro <drive>:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools and find vsvars32.bat.
7 – Alterem as permissões (security) no ficheiro para que qualquer utilizador possa o editar. Pode não ser necessário fazer este passo, mas o Patch vai editar o ficheiro por isso mais vale prevenir.
8 – Finalmente comecem o processo de instalação novamente correndo o ficheiro VS90SP1-KB971092-x86.msp na pasta que guardaram antes. Se tudo correr bem, quando fizerem a verificação por novos updates no windows, este update não deverá ser listado novamente.
Espero que ajude.
Filed under: Rapidinha, English, Artigos Técnicos, KB, VS2008