RE: VS2005 SP1 for Vista Not Installing

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Alastair:

Strangley, even after I applied SP1 running the batch file, SP1 was still in
my Windows Update list and it used to hang! Worse yet, since I have auto
install turned on, when I tried to shut down the machine, I had the option,
"Install updates and shutdown". When I chose the option, it was still
updating my machine after 24 hours! And, it warned me not to turn off the
machine myself!

But, I had to. After I restarted, I added the registry entry myself, did
"net stop" and then started Windows Update.

This time it went through successfully and no longer do I get SP1 in the
Windows Update list.

BTW, my About VS 2005 says

Microsoft Visual Studio 2005
Version 8.0.50727.762 (SP.050727-7600)
Microsoft .NET Framework
Version 2.0.50727

Installed Edition: Enterprise Architect

Microsoft Visual Basic 2005 77637-163-9000005-41837
Microsoft Visual Basic 2005

Microsoft Visual C# 2005 77637-163-9000005-41837
Microsoft Visual C# 2005

Microsoft Visual Studio 2005 Tools for Applications 77637-163-9000005-41837
Microsoft Visual Studio 2005 Tools for Applications

Microsoft Visual Studio Tools for Office 77637-163-9000005-41837
Microsoft Visual Studio Tools for the Microsoft Office System

Microsoft Visual Web Developer 2005 77637-163-9000005-41837
Microsoft Visual Web Developer 2005

Microsoft Web Application Projects 2005 77637-163-9000005-41837
Microsoft Web Application Projects 2005
Version 8.0.50727.762

Visual Studio 2005 Team Edition for Architects 77637-163-9000005-41837
Microsoft Visual Studio 2005 Team Edition for Software Architects

Crystal Reports AAC60-G0CSA4B-V7000AY
Crystal Reports for Visual Studio 2005


Microsoft Visual Studio 2005 Team Edition for Software Architects - ENU
Service Pack 1 (KB926601)
This service pack is for Microsoft Visual Studio 2005 Team Edition for
Software Architects - ENU.
If you later install a more recent service pack, this service pack will be
uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/926601

PVCS Version Manager 8.1.3
Serena Software PVCS Version Manager

SQL Server Analysis Services
Microsoft SQL Server Analysis Services Designer
Version 9.00.2047.00

SQL Server Integration Services
Microsoft SQL Server Integration Services Designer
Version 9.00.2047.00

SQL Server Reporting Services
Microsoft SQL Server Reporting Services Designers
Version 9.00.2047.00

So, clearly, SP1 has been installed. I did not check this right after the
first attempt.

Hope this helps.

Venki

"Alastair" wrote:

That's really helpful - thanks!

I followed the instructions and got no error messages... but how do I know
that SP1 was actually applied? I see that my VS2005 version number is
8.0.50727.42, can any of you guys pleae confirm that this is the patched
version?


Alastair

"vvenk" wrote:

Guys:

Thanks to this gentleman from Microsoft, I was able to apply SP1.
Download SP1 to your computer and run the a batch file with the following
lines:

rem It is recommended you leave a domain and reboot before running this script

rem Backup the registry key before changing it to save the current values
reg export HKLM\SOFTWARE\Policies\Microsoft\Windows\Safer\CodeIdentifiers
"%TMP%\safer.reg" /y

rem Set the new value and stop Windows Installer, which will automatically
restart when the patch gets installed
reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\Safer\CodeIdentifiers /v
PolicyScope /t REG_DWORD /d 1 /f
net stop msiserver

rem Replace the name of the patch below according to which patch you
downloaded
rem This exmple silently installs the patch with verbose logging enabled
start /wait VS80sp1-KB926601-X86-ENU.exe /L*v+
"%TMP%\VS80sp1-KB926601-X86-ENU.log" /quiet

rem Delete the new value and restore previous registry values for SAFER
reg delete HKLM\SOFTWARE\Policies\Microsoft\Windows\Safer\CodeIdentifiers /v
PolicyScope /f
reg import "%TMP%\safer.reg"





Venkat, please read
http://blogs.msdn.com/heaths/archive/2007/01/11/known-issues-with-visual-studio-2005-service-pack-1.aspx
for a list of known issues with SP1. From your description, you’re seeing
error 1718 (may manifest in a couple of different ways) with a workaround
documented at
http://blogs.msdn.com/heaths/archive/2007/01/11/workaround-for-error-1718.aspx.



Please try that (leaving the domain is only recommended, but not required)
and see if that works. While you’re about to install the patch, please run it
from the command prompt and pass /L*vx+ patch.log so that if 1718 isn’t the
cause, we can find out what is. If the patch still fails, please ZIP that log
file and send it to me.



Also keep in mind that the install may appear to run more than once. This is
because the patch targets multiple product, or pieces of what you installed
as part of Visual Studio. Please do not cancel the install at any time.





Heath Stewart
Technical Lead
Deployment Technologies Group, Microsoft
http://blogs.msdn.com/heaths


"Alastair" wrote:

I have exactly the same problem. Visa 64-bit, VS2005, and the SP1 will not
install - same message as abakshi has.

Please can someone advise?



"abakshi" wrote:

Nope, nothing yet...


"vvenk" wrote:

were you able to resolve this issue? I also have a similar issue but I am
running Windows 2003 Server.

"abakshi" wrote:

I'm running Win Vista Ultimate x64 and installed VS2005, then ran MS Update,
which found a security patch for VS and installed it. I then went and
downloaded SP1 for Vista, tried to installed it, and it gave this error (says
"Windows Installer" at top):

"The upgrade patch cannot be installed by the Windows Installer because the
program to be upgrade may be missing, or the upgrade patch may update a
different version of the program. Verify that the program to be upgraded
exists on your computer and that you have the correct upgrade patch."

I tried restarting, to no effect. Any ideas?
.



Relevant Pages

  • Re: Updates if no internet connection
    ... Description of the System Update Readiness Tool for Windows Vista ... There are 3 prerequisites updates that are required before instaling the SP1 package that is available from Windows Update. ... I still can't work out if I need to install the three pre-SP1 updates even if I am using the standalone version of SP1. ...
    (microsoft.public.windowsupdate)
  • Re: Virus in microsoft Patch
    ... "Windows must restart because the Remote Procedure Call ... your system and install the patch mentioned above. ... You can also configure Automatic Updates to automatically ...
    (microsoft.public.windowsxp.security_admin)
  • Same Problem
    ... Now as a result can't get windows running again any thoughts on how I can get around this? ... So I am a good techie and patch my system regularly. ... update says I have xx patches to install. ... So I get my Vista DVD and do a repair. ...
    (microsoft.public.windows.vista.general)
  • Re: XP Pro (Gold?) and SP3
    ... The semantics is that it is possible to install sp3 on a system with sp1 or sp2; ... Windows XP SP3 will be available through Windows Update and the Microsoft ...
    (microsoft.public.windowsxp.general)
  • RE: SBS 2003 damaged after removal of Windows Server 2003 SP1
    ... Then I tried to repair RRAS (with SP1 still installed), ... Then the advice appeared NOT to install SP1 on SBS 2003. ... So I removed Windows Server SP1. ...
    (microsoft.public.windows.server.sbs)