Welcome to MSDN Blogs Sign in | Join | Help

The Visual Studio 2005 Service Pack 1 Installation Experience

Visual Studio 2005 Service Pack 1 can take a long time to install and may apply to multiple products on your machine, appearing to install multiple times. This is a large service pack and installs a lot of files, fixing many issues and adding several new features to over 200 Visual Studio 2005 editions.

What follows is a detailed description of the Visual Studio 2005 Service Pack 1 installation experience – or any of our patches for .NET Framework 2.0 and Visual Studio 2005 – describing what is going on during various steps with links to more information and tips to save time and space. Throughout this example, the English Visual Studio 2005 Service Pack 1 for Standard, Professional, and Team editions – among some others – is used, which is by far the largest service pack package shipped to date.

Make sure that before installing the Visual Studio 2005 Service Pack 1 release, you uninstall Service Pack 1 beta if you have it installed.

The installation experience begins when you download the service pack. There are many service packs, split up for Visual Studio 2005 Standard, Professional, and Team editions; and for Visual Studio 2005 Team Foundation Services according to written languages. This optimizes patch size by sharing most of the files for each product in a single embedded cabinet within the .msp file. For Express editions, patch packages are split up for each project language, which optimizes patch size because most of the files are world-wide binaries across project languages resulting in smaller .msp files. Download whichever service pack packages are appropriate for which products you have installed in your environment.

Downloading the package locally will save a lot of time when invoking the patch, but saving the package to a network in appropriate environments makes it available to everyone without having to download it individually. In whichever Windows platform you install the service pack the executable must be mapped into memory when executed. On Windows XP and newer, a SAFER check is performed first to determine if the file can be executed, which also validates a digital signatures if a signature exists. All our patches are signed for customers' safety and security, so this check requires that the whole executable is read into memory in blocks or in whole. Currently, in Windows XP and Server 2003 the file is read in whole, so the more physical memory a machine has the faster this process will go. The more paging that is required, the slower this process will go. In some uncommon cases, this process may even fail, for which a workaround is available.

On Vista the file is read in blocks, and when validated will show the consent dialog as shown in Figure 1 if the patch wasn't already executed from an elevated shell. You won't see this dialog on Windows 2000, XP, or Server 2003.

Figure 1: Windows Vista Consent Dialog

Once you click Continue, the executable is executed. For smaller executables this is much faster because the executable can be scanned if necessary, and validated much faster.

On all supported Windows platforms, the patch wrapper must extract the embedded .msp file because all of the Windows Installer APIs and executables work on file paths. Our patch wrapper is responsible for enabling default logging, cleaning up logs upon success if no command-line parameters were specified or the Windows Installer Logging system policy was not set, and installing the patch on all applicable, installed products before requiring any possible reboots. During this process you'll see an extraction dialog as shown in Figure 2.

Figure 2: Patch Extraction Dialog

When extraction is complete, the patch wrapper will invoke msiexec.exe as an elevated process to install the .msp file to all applicable, installed products. The client process is elevated to mitigate some incorrectly authored custom actions in the original product .msi files.

If not running silently by passing /quiet to the patch wrapper – which means you wouldn't see any dialogs anyway – Windows Installer makes a copy of the .msp file in the user's %TEMP% directory because it is assumed to have write access to that location for user. It does this even though the patch wrapper extracted the .msp file to the %TEMP% directory already. This extra disk I/O is one reason it is worth installing the patch silently by passing the /quiet switch.

During the client installation portion, another SAFER check is performed on the .msp file itself, to provide the user with early indication that the patch package is invalid if that is the case. This is another reason it is worth installing the patch silently by passing the /quiet switch.

Because no dialogs are authored into the target .msi file nor added by the patch transforms, Windows Installer runs using basic UI mode as shown in Figure 3 and skips actions in the InstallUISequence table.

Figure 3: Windows Installer Basic UI

When the Windows Installer finishes processing in the client context, it transfers execution to the Windows Installer service to process the InstallExecuteSequence table. This results in the dialog as shown in Figure 4.

Figure 4: Windows Installer Basic UI during InstallExecuteSequence Processing

The service makes a copy of the .msp file in the %WINDIR%\Installer directory, which is the Windows Installer package cache. The .msp file is cached in whole because it provides the source for files to be patched and overwritten, and is required even during repair scenarios. Again a SAFER check is performed on this file to verify that is unaltered from the publisher. This SAFER check is performed because the client should not be trusted – which would otherwise lead to elevation of privileges – and because during silent installation the client would not have performed a SAFER check.

Installation continues by executing a custom action that prompts for confirmation about installing the patch as shown in Figure 5, followed by an End User License Agreement (EULA) for each patch being installed in the same transaction as shown in Figure 6.

Figure 5: Installation Confirmation Dialog

Figure 6: End User License Agreement Dialog

Windows Installer developers might be wondering why dialogs are shown in the execution sequence. The custom action is legacy code that used to guarantee patch installation sequence in Windows Installer 2.0 – as now supported in Windows Installer 3.0 and newer as a standard feature using the MsiPatchSequence table – followed by the installation confirmation prompt and the EULA dialog. The custom sequencing code has been removed, but the custom action's other purpose to present these dialogs has not. Using the msidbCustomActionTypeFirstSequence (0x100) custom action execution scheduling attribute means this should run during the UI sequence if the UI sequence was run, but since no dialogs are authored and Windows Installer runs in basic UI mode, the InstallUISequence table is not processed.

Windows Installer continues by determining feature and component state, as well as which files must be backed up to the baseline cache, in between the CostInitialize and CostFinalize actions. You can find the feature and component states in a verbose log during the InstallValidate action. This information is handy in determining what should be reinstalled during patch installation and what is actually going to be reinstalled.

Between the InstallInitialize and InstallFinalize actions, Windows Installer will generate a script as shown in Figure 7. This is what makes Windows Installer a transactional installer. While generating the execution script, a rollback script is also generated so that if the execution script fails the rollback script is processed.

Figure 7: Windows Installer Script Generation Dialog

After the script is generated when InstallFinalize is run (or any InstallExecute or InstallExecuteAgain actions, which we don't currently schedule), the script is executed as shown in Figure 8. It is during this time that backup copies of files are created in a hidden directory named Config.msi if they are in use and can be moved, backup copies of all files being overwritten or patched are copied to the baseline cache, and files in the .msp package are copied to their destination locations. That's a lot of disk I/O, so making sure you have closed all your applications can help, as well as disabling the baseline cache – understanding that by doing so source will be required to uninstall the service pack or other patch that targets files installed by the product .msi file.

Figure 8: Windows Installer Script Execution Dialog

When files must be copied out of a source location such as the original installation media or an embedded cabinet in an .msp file, an additional SAFER check is required to validate that each source package has not been tampered with.

Please note that during script execution the time remaining can be incorrect. This is often caused by custom actions that do not report back estimated time or actual progress, or because some custom actions may not be able to accurately estimate progress.

Once the execution script is finished, current patches will display a success dialog as shown in Figure 9.

Figure 9: Patch Success Dialog

If any other products are installed on your machine to which the patch applies, this process repeats starting after patch extraction. With Windows Installer, only one installation transaction for a single product can execute at a time, so even though a patch or patches may target multiple products they can only apply to a single product at a time. To help determine if you have multiple products installed to which a patch can apply, you can extract the .msp file by passing /extract to the patch executable you downloaded, optionally specifying a destination directory, and provide the path to that .msp file to the Patch Applicability Browser.

The larger the patch and the more files it installs, the longer the patch will take to install. There is a lot of disk I/O by design to support robust patching under Windows Installer, but there are workarounds you can use at your own risk to improve performance and decrease disk space required as documented here and in linked material.

Published Friday, December 29, 2006 2:23 AM by Heath Stewart

Comments

Friday, December 29, 2006 9:55 AM by Vasu

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

Do you know if there is a way to run the SP1 install silently?

Friday, December 29, 2006 9:36 PM by Heath Stewart

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

Vasu, yes. In fact, I have mentioned passing the /quiet flag in several posts which can help eliminate a couple of other problems. As with most Windows applications, you can pass /? to view more usage information.

Saturday, December 30, 2006 8:23 PM by Yuval Rakavy

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

Good day!

For me it was almost two days worth of work to install the product. The first time SP1 installation failed for some reason (with a cryptic error message), and left my machine in such state that almost nothing worked, including the old version, so basically my development machine was out of service for two days! and I was close to panic state.

After lot of research, I found out that the installer recovery left the new version of the C runtime menifest and policies in Windows\WinSxS, but removed the actual DLLs!

In general the whole experience is in my opinion unacceptable. It should not take longer than the original installation to apply a service pack.

You must provide a full installs with SP1 for the whole product line. When thinking about the total time that installing Visual Studio 2005 and then installing SP1 on a new machine, I really get cold feets.

Think of this in in terms of productivty lost, multiple this by the amount of developers that would pass through this!

Monday, January 01, 2007 11:24 PM by ScottGu's Blog

# A few VS 2005 SP1 Links and Information Nuggets

In you were out the second half of December, you might have missed some of the VS 2005 Service Pack 1

Monday, January 01, 2007 11:41 PM by Mirror blog entries from the industry

# A few VS 2005 SP1 Links and Information Nuggets

In you were out the second half of December, you might have missed some of the VS 2005 Service Pack 1

Tuesday, January 02, 2007 9:15 AM by Tristan

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

Hi Heath,

I originally installed VS 2005 direct from the MSDN ISO using the Virtual CD tool.  When I try to install SP1, it fails with a error reporting that the original install source cannot be located.

How do I work around this problem?  Is it possible to look up the original install somehow?

Thanks in advance!

Tuesday, January 02, 2007 11:47 AM by Heath Stewart

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

Tristan, there are cases where Windows Installer requires the original source media, often due to files that are missing in a feature being patched, but when such files are not in the patch (perhaps they weren't updated). You will have to mount the MSDN ISO again, or - for future use - burn that ISO to a DVD and use that now for the source.

Wednesday, January 03, 2007 12:49 AM by Carl Daniel

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

It's nice to have some idea what's going on during the install.  But what on Earth is Windows Installer doing during the 'Gathering required information' phase (Figure 7) that leaves a dual core 3Ghz machine with 2Gb of memory running compute bound for nearly an hour (for a full install of Team Suite)!?  Surely the list of files to install can be determined in a fraction of that time!

Wednesday, January 03, 2007 11:19 AM by Aaron Stebner's WebLog

# Links to detailed information about Visual Studio 2005 SP1 setup

Heath Stewart has written several very useful blog posts about Visual Studio 2005 SP1 that I wanted to

Wednesday, January 03, 2007 1:42 PM by Heath Stewart

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

Carl, during this phase the installation script is written, writing all FileCopy and other operations to the script that will actually do the work as shown in figure 8. In order to determine why it took so long, you can look in a verbose log for “Doing action: InstallInitialize” and look at the times in the log between that and “Doing action: InstallFinalize”. At some point you may see a big difference in time which will identify the culprit.

It could also be that you are actually exhibiting an intermittent problem during InstallValidate due an issue in the way that the DuplicateFile table is queried. You will see a big time difference between “Action start [time]: InstallValidate.” and “Action ended [time]: InstallValidate. Return value 1.” when that issue occurs.

Thursday, January 04, 2007 2:56 PM by Joycode@Ab110.com

# 几个VS 2005 SP1连接和一些有用的信息

【原文地址】 A few VS 2005 SP1 Links and Information Nuggets 【原文发表日期】 Monday, January 01, 2007 8:24 PM 如果你在12月份的下半个月出去了,你也许错过了我早先写的几篇关于VS

Thursday, January 04, 2007 10:34 PM by Norman Diamond

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

Saturday, December 30, 2006 8:23 PM by Yuval Rakavy

> It should not take longer than the original

> installation to apply a service pack.

I have the same wish, but actually this is nothing new.  The first time I had service packs take longer than the original installation was Windows NT4 SP3.

> You must provide a full installs with SP1 for

> the whole product line.

Again I have the same wish, but this takes some care.  For Office 97 SR1, full installs were the only way to do it, downloads were not provided[*], and Microsoft charged money for the new full installs even though customers had already paid for the product.

[* Exceptions: downloads were provided for some foreign language versions such as English.]

Friday, January 05, 2007 9:52 AM by Simon

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

I notice that there is a 477Mb .msp file left in the Installer folder after installation. Can I get rid of this?

Friday, January 05, 2007 10:02 AM by Strategic Developer

# Visual Studio 2005 SP1: Good news, bad news

Spurred largely by a blog post by Brad Abrams, I installed Service Pack 1 for Visual Studio 2005. First, the good news: it seems to fix all the bugs I know about, and adds support for ASP.NET AJAX and (in...

Friday, January 05, 2007 4:04 PM by Carl Daniel

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

Heath - Thanks for the follow-up.  I'll take a look in the install log when I get a chance, but I don't think I'm seeing anything out of the ordinary.  I've installed SP1 on a number of machines, and all of them have had the same behavior - nearly an hour of compute-bound work with no visible progress.

Monday, January 08, 2007 3:51 AM by Charlie Calvert's Community Blog

# Community Convergence XVII

Welcome to the XVII Community Convergence. This post is dedicated to Steve Teixeira's Granddad, who died

Monday, January 08, 2007 3:53 AM by Charlie Calvert's Community Blog

# Community Convergence XVII

Welcome to the XVII Community Convergence. This post is dedicated to Steve Teixeira's Granddad, who died

Monday, January 08, 2007 10:04 AM by Team System News

# VSTS Links - 01/08/2007

The Vertigo Software Team System blog on Making the Most of Team System Source Control Mike Azocar...

Tuesday, January 09, 2007 2:08 AM by Jalf

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

Thanks for outlining the install "experience" (Now there's a Microsoft word ;))

And nothing strikes you as... inefficient? Redundant? Ridiculous about this?

I mean, extracting embedded files here and there because "uh, the API doesn't support anything else", performing *multiple* identical validations of the file, copying the file (from temp to temp), and so on...

It's interesting to note that when faced with criticism that you lose up to around one day's work just to install a single product, Microsoft respons by telling what happens under the hood. *Not* by actually considering any improvements to the process.....

*sigh*

It is a bit odd that I could actually recompile the Linux kernel *multiple* times and still have time left over for a nice relaxed lunch, in the time it takes to install an update to Visual Studio...

Tuesday, January 09, 2007 10:07 AM by AJ

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

Hi,

I am using the Vista RTM and install VS2005 team edition for software developers. I am looking at this page http://msdn.microsoft.com/vstudio/support/vs2005sp1/default.aspx

which version should i install?

Visual Studio 2005 SP1 Update for Windows Vista Beta? this one seems to be for windows vista BETA but I have RTM, so should i install the first one # Visual Studio 2005 SP1

Wednesday, January 10, 2007 3:54 AM by Heath Stewart

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

Simon, no, you should not delete that file. This file is needed for any future repairs or patches for Visual Studio. More information is available in http://blogs.msdn.com/heaths/archive/2006/10/06/VS-2005-SP1-Requires-a-lot-of-Disk-Space.aspx. Several links in that post lead to even more information.

AJ, the "beta" there means that the patch for Visual Studio 2005 running on Vista RTM is a beta patch. The release version of the patch is not yet released.

Wednesday, January 10, 2007 10:39 AM by Jeff

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

> AJ, the "beta" there means that the patch for Visual Studio 2005 running on Vista RTM is a beta patch

Now *I'm* confused... I thought you were demonstrating the install of the release version of VS2005 SP1, but you're showing Vista screenshots, right?  How can that be if the patch for VS2005 on Vista is still in beta?

Am I missing something obvious...?

Monday, January 15, 2007 11:13 AM by Stephen Richards

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

I tried installing the service pack and it ran for over an hour and THEN it told me I needed to close Outlook and VB6.  When I closed them, it seemed to start over again so I cancelled it.  Is there a list of programs somewhere that must be closed when installing SP1?

Monday, January 15, 2007 12:18 PM by Heath Stewart

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

Stephen, Windows Installer that processes our service pack (all Visual Studio 2005 patches, actually) decides what programs must be installed based on which files are being replaced. That list could include both Microsoft and third-party applications. It is recommended with all installers that you close all unnecessary applications before installing.

Note that if you choose to click Ignore, Windows Installer will schedule in-use files to be replaced after a reboot.

As to why it seemed to start over (not completely, but pretty close) is because costing is based on what files are to be replaced. If you close the apps those files can then be backed up and replaced, which costs slightly more (for the back up file) than scheduling the file for replacement post-reboot.

Monday, January 15, 2007 12:59 PM by Eric

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

I've was also astonished by the "experience" of the SP1 installation. I had also the same "surprise" with the SP1 of VS2003, now with VS2005, it is even worse: 500 MB used in RAM during the install, but seems to be blocked by the copy of the MSP, and then 5 GB of read, 5GB of write data on HDD!!!

Now the question is: can I somehow clean all the stuff the SP1 copied under Windows\Installer and all sub directories, and also under Windows\WinSxS

My Windows directory grew up to 6 GB, unbelievable!! What a waste of space... I whish I could go back under the 2 GB of a frish XP installation (let say 3 GB)

Monday, January 15, 2007 1:30 PM by Stephen Richards

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

Thanks, I've been afraid to select Ignore, not knowing if it could lead to problems down the road.  It is very hard to schedule a long enough block of time to install SP1 on my work machine with no other apps running.  Unfortunately, Outlook isn't an "unnecessary application" during the business day and it is difficult to run the installer overnight because it stops several times to ask for input, for example, to accept the EULA.

Monday, January 15, 2007 1:57 PM by Heath Stewart

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

Eric, please read http://blogs.msdn.com/heaths/archive/2006/10/06/VS-2005-SP1-Requires-a-lot-of-Disk-Space.aspx. You can disable the baseline cache for Visual Studio while installing SP1. The baseline cache for this product can also be removed and I am working on a tool to assist with that. You must not remove any .msi, .mst, or .msp files from directly under %WINDIR%\Installer, but you can remove directories - understanding that source may be required when installing future patches, or uninstalling future and existing patches - from under %WINDIR%\Installer\$PatchCache% This is a necessary evil of Windows Installer to provide robust patching scenarios at the cost of disk space, which is typically assumed to be plentiful.

Monday, January 15, 2007 3:45 PM by Matthew Vandergrift

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

Thanks for the information about what's really happening during the SP1 installation.  In an age of 750GB hard drives, I appreciate the convenience of not having to hunt down source media.

Tuesday, January 16, 2007 12:26 AM by Scott on Writing

# Error When Installing Visual Studio 2005 SP1:

Tuesday, January 16, 2007 12:37 AM by Community Blogs

# Error When Installing Visual Studio 2005 SP1: "The installation source for this product is not available."

I installed Visual Studio 2005 Service Pack 1 today on my main development box (Windows 2003 Server)

Tuesday, January 16, 2007 12:46 AM by Mirror blog entries from the industry

# Error When Installing Visual Studio 2005 SP1: "The installation source for this product is not available."

I installed Visual Studio 2005 Service Pack 1 today on my main development box (Windows 2003 Server)

Sunday, January 21, 2007 6:03 PM by Zealic

# 让 Visual Studio 2003

Microsoft 给了我们糟糕的用户体验

Friday, January 26, 2007 10:59 AM by Mike

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

This SP is unacceptable in my opinion. Taking longer to install than the original product, no visual feedback, an hour in it tells you to uninstall something and start over.

Where the hell are you all going?

Friday, January 26, 2007 11:04 AM by Bob

# Visual Studio 2005 Service Pack 1 Hangs There

Hi, Heath,

I was trying to install VS 2005 SP1 on a Windows 2003 Standard Edition with its SP1 installed. I got the 1718 error in the first

try. Then I did what the KB925336 asked. Then

I tried again. It seemed working fine. But it

has being hanging there at the last step

(mentioned in your figure 8) since last night.

The messages on the dialog box is:

==

Microsoft Visual Studio 2005 Standard-ENU

Please wait while Windows configure Microsoft Visual Studio 2005 Standard - ENU

Time remaining: 0

==

There was a "Cancel" button in the dialog box.

It disappeared after a short period of time.

I got this dialog box about 11:00PM last night.

I left it running during the night. When I

looked at it this morning, it still hung there.

I guess it will still be there when I go home

this evening.

Would you please tell me what is going on? What

should I do now? Should I reinstall the VS 2005

SP1?

Thank you.

Bob

Friday, January 26, 2007 9:38 PM by Heath Stewart

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

Bob, not only does SP1 take a while to install, it may apply to multiple products on your machine. The Windows Installer works, each product is patched separately so the amount of time to apply the patch multiplies. Please let it run. The Cancel button typically disappears toward the end of the installation, but it can still take a while to complete. There are a lot of fixes in that patch. See my "VS 2005 SP1" tag on this blog for more details and a list of issues and workarounds.

Tuesday, January 30, 2007 3:35 AM by Dev365 -- 红移的博客

# VS2005 SP1

装个SP1还要看这么多文档,真是有点受不了。。。 Release Notes: http://support.microsoft.com/kb/928957/ http://support.microsoft.com/kb/925336

Tuesday, January 30, 2007 5:49 AM by John

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

I installed both the original release (Visual C++ 2005 Express) and SP1 last week. The SP did go through the above dialogue screens but finished very quickly (in just a few minutes - which surprised me). It did claim that the SP1 was installed. However, the 'About' box in Visual Express doesn't mention SP1, but 'Version 8.0.50727.762 (SP.050727.7600)'. So I am left wondering if the SP was actually installed.

Anybody have any thoughts on this?

Tuesday, January 30, 2007 6:58 AM by Heath Stewart

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

John, Express SKUs are much smaller with a lot less disk I/O necessary and pass through SAFER quickly - which accounts for quite a bit of the time required to install as detailed in several other blog posts. Indeed the version 8.0.50727.762 is the file version for VS 2005 SP1.

Wednesday, January 31, 2007 5:13 AM by Oliver Osswald

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

Wow... I tried to run VS80sp1-KB926601-X86-ENU.exe (on Windows XP Pro Engl, SVCP2, against a VS2005 Team Edition for SD) and its status in TaskManager is 'Running' - but CPU usage remains at 0-3% and nothing seems to happen - progress bar on the 'extracting' dialog apparently has freezed, no message - nothing. After 4 hours i hit the Cancel button. This - I'm sorry - is ridiculous. The fact that there is 'a lot' to be updated does not explain such a poor behaviour of an installation routine. Who is dropping such a thing on us? Zut!

Wednesday, January 31, 2007 10:05 AM by Blood

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

My installation failed 3 times in a row. Now in the C:\WNDWS\Installer folder I have 4 msp files that are exactly identical in content of 455 meg... Which one(s) can I remove? or how do I find out?

Wednesday, January 31, 2007 7:54 PM by Doug Welsby

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

The installation was pushed by Microsoft Update and failed a couple of times.  I finally downloaded in, and following some of the workarounds provided here, got it working.  However, I believe due to the failed installs, I now have THREE separate copies of the 466MB .MSP file in the Installer directory.  Ouch - how can I determine which one was finally used, and which ones I can delete???

Wednesday, January 31, 2007 11:34 PM by Heath Stewart

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

Doug, I will post another article describing this seemingly common occurance and determining which files can be deleted.

Wednesday, January 31, 2007 11:35 PM by Heath Stewart

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

Blood, I will post another article describing this seemingly common occurance and determining which files can be deleted.

Thursday, February 01, 2007 2:08 AM by Mike

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

Doesn't work for me either.

I get "The installation source for this product is not available.  Verify that the source exists and that you can access it."  

What do I do?  I have the CD here, but I think this patch is DOA?

Thursday, February 01, 2007 4:44 AM by Craig

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

Just to say that even on a P4 2.2 with 1 GB ram it took over three hours for the install to finish.  And don't even try it without more than 3.5GB of free disk space, it will run out of space.  Then when you clear some and click retry it will error anyway and you'll have to start all over again.

Thursday, February 01, 2007 5:44 AM by Heath Stewart

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

Mike, keep in mind that the patch applies to multiple products, so the package you're being prompted for may not be, for example, VS. Check the dialog title and enable verbose logging so you can check in the log to see which ProductCode Windows Installer is acting on. You'll also find the ProductName in the log in a property dump at the end of the log.

Friday, February 02, 2007 11:36 AM by Phil Stron

# Service Pack 1 Installation using quiet flag

I "installed" the service pack using the /quiet flag and it is no longer in my proc list (task manager).  How do I know it is in fact complete and/or installed?

Sunday, February 04, 2007 12:28 PM by Heath Stewart

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

The wrapper (the EXE that you download) shells out to msiexec.exe for each installed product to which the patch applies and waits on each return code. So, if you don't see VS80sp1-*.exe in the task list anymore SP1 installation is complete. ou can verify this Visual Studio's Help->About box.

Sunday, February 04, 2007 4:35 PM by Oliver Osswald

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

I made some more attempts... It failed again. I tried on a system with 1GB Ram and 7GB free diskspace. When runnig S80sp1-KB926601-X86-ENU.exe with the /quiet param I can watch in the taskmanager how its use of Ram increases, and when it reaches 200 MB it just exits. In the VS about box I can see that I'm still on the previous version. When I run it without the flag, then I can see the same behaviour in the taskmanager as described above, but the dialogbox with the progressbar freezes at the moment, when the 200 MB are reached. Install fails.

Monday, February 05, 2007 12:11 AM by Heath Stewart

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

Oliver, you need to enable logging by passing "/L*vx patch.log" (without quotes) to the command-line when installing the patch in order to diagnose anything. Open a bug in Connect at http://connect.microsoft.com or contact Microsoft Support Services at http://support.microsoft.com.

Thursday, February 08, 2007 9:32 AM by BobC

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

I cannot uninstall sp1 beta, get

Trying to uninstall sp1 beta I get a 1706 error. After running for a half-hour, I get prompted for the VS CD. I point to my cd, but get

" Error 1706. An installation package for the product Microsoft Visual Studio 2005 Professional Edition - ENU cannot be found. Try the installation again using a valid copy of the installation package 'vs_setup.msi'."

I posted the issue on the connect site, no feedback yet.

https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=245859

Friday, February 09, 2007 8:42 AM by Nathan

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

When trying to install Visual Studio 2005 SP1 on Vista I get the following error:

"Error: 1305. Error reading from file C:\Windows\Installer\896fd56.msi". Verify that the file exists and that you can access it.

I checked and the file does exist. I tried to set the security for the "Everyone" to Full Control but still no luck. I can send the msi log file.

Friday, February 09, 2007 12:20 PM by Heath Stewart

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

Do NOT change security under %WINDIR%\Installer. Windows Installer will wipe out the cache if the permissions allow anyone but SYSTEM and Adminstrators with full control. You will have to rebuild your installer cache. Read http://blogs.msdn.com/heaths/archive/2006/11/30/rebuilding-the-installer-cache.aspx for how to do that.

Along with that error should've been a system error code. Once you are able to rebuild the installer cache (or use msizap.exe TW! to clean it up, and reinstall VS 2005, which will likely be easier), if the error occurs again you'll need to look in a verbose log - created by passing "/L*v patch.log" to the patch EXE you downloaded, without quotes - for error 1305. The whole log line has a system error code (an HRESULT as a signed decimal) that reports more information about the error.

You must also install, patch, and uninstall VS 2005 as an administrator.

Saturday, February 17, 2007 9:52 AM by Magnus

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

The dialog box now reports "Time remaining: 345 minutes". No Cancel button, no CPU useage, and its more than 2 hours since I started the SP1 installation. I guess my 3Ghz CPU with 2Gb of memory is to weak to install this service pack.

I dont even know what to do now? Hard-reboot the computer, and having to go through this pain again? Or wait and see if it succeeds, and if so, how long?

Ohh, its down to 344 minutes now.

What a joke!

Monday, February 19, 2007 4:03 AM by Adrian B

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

My install aborted (ran out of disk space on C) and now it gets lots of errors every time i run it. It seems like the rollback was not successful. What options do i have now?

Monday, February 19, 2007 1:19 PM by Heath Stewart

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

Adrian, read http://blogs.msdn.com/heaths/archive/2007/01/31/how-to-safely-delete-orphaned-patches.aspx for how to free-up space consumed by Windows Installer unnecessarily, and http://blogs.msdn.com/heaths/archive/2007/02/05/visual-studio-2005-service-pack-1-rollback-breaks-some-applications.aspx for how to fix VC if you run into errors documented in that post.

Thursday, February 22, 2007 11:30 AM by Anders

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

I'd really appreciate it if Microsoft could make it much quicker to install this SP. It is waaaay too slow, not acceptable when it comes from the biggest company in the world.

Monday, February 26, 2007 4:51 AM by Shaf

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

Hi

I cant be the only one with this problem surely...Although the SP1 install completed successfully, My debugging is completely useless in that I no longer get the unhandled exception information box anymore. All I get is ageneric "The application has encountered an error and needs to close..." error and the application exits. Does anybody know how to fix these please!! I can get no usefull error information whatsoever and fixing errors has become an impossible task.

Monday, February 26, 2007 10:15 AM by Daniel S. Boucher

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

Heath, to say that I concerned with this service pack is a huge understatement. We've decided to upgrade our development PC's with SP1 in an effort to remain secure and keep to Microsoft's best practice recommendations. However now I'm in a jam, we cant work because of the length of time (still) being consumed with this patch, we can't cancel because it seems to take just as long to cancel as it does to install the SP and now I have to explain why the lack of progress in my department. Now I know that you can't tell me anything different than anything listed in the above messages but you can't be serious in assuming this is acceptable to you VS communinty? Is there anything being done to resolve this? Is this the same team that brought us Windows OneCare? I'm not sure though because my OneCare virus scan only took 12 hours.

Monday, February 26, 2007 1:37 PM by Heath Stewart

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

Shaf, please use the forums at http://forums.microsoft.com/msdn or file a bug against Visual Studio using Microsoft Connect at http://connect.microsoft.com.

Monday, February 26, 2007 5:24 PM by Matt C

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

Can I just install Visual Studio 2005 SP1, why do I need to install VS2005 and then patch it?  It seems like it might be a better practice to uninstall VS 2005, and then do a complete reinstall with SP1.  Doesn't look like this is an option though...

Monday, February 26, 2007 6:10 PM by Heath Stewart

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

Matt, normally with Windows Installer you can slipstream the patch while initially installing the product. That scenario is not currently supported in Visual Studio 2002, 2003, or 2005. You can, however, create a patched administrative installation as documented at http://blogs.msdn.com/heaths/archive/2006/12/16/slipstreaming-visual-studio-2005-service-pack-1.aspx.

Thursday, March 01, 2007 6:48 PM by Tristan

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

Similar to one of the previous problems -

error 1305: Error reading from file

C:\WINDOWS\Installer\e1a59.msi Verify that the file exists and that you can access it.

However, the file and the Installer Directory do not exist.

Friday, March 02, 2007 3:05 AM by Heath Stewart

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

Tristan, the directory is hidden. Are you viewing hidden files and folders in Explorer? You can also use "dir /a:h %WINDIR%\Installer" (without quotes). If they truly aren't there, you'll need to rebuild the Installer cache as documented in http://blogs.msdn.com/heaths/archive/2006/11/30/rebuilding-the-installer-cache.aspx, or use msizap.exe to remove all configuration data for the product.

Saturday, March 03, 2007 4:23 PM by Jim Kennelly

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

I too am pissed at MS for this @%$#$

Why doesn't MS slipstream this $@#@# into their product.  I think I could remove the product and reinstall it faster than the 4 attempts so far and be half way certain what I have at the end.  Running dual core/2gig memory and it takes forever.

This is very scary ... dll hell wasn't so bad!

I renewed my MSDN subscription for this??

Wednesday, March 07, 2007 9:01 PM by Philip Long

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

My experience with installing VS2005 SP1 was not as bad as some of the comments above, but I agree with the overall sentiment paricularly about the issue of no indication of progress fro considerable periods of time. My first attempt failed about 40 seconds from the end, 2nd attempt smooth.

My problem is that I uninstalled Web Application project as a condition for installation of SP1. Before reinstall it, download site advises to first install the update package VS80-KB915364-X86-ENU.exe, which I did. Then attempting to run WebApplicationProjectSetup.msi, immediately get a message that VS80-KB915364-X86-ENU.exe must be installed first, directed to same page as before when click [Yes] - if click [no], install closes. So download VS80-KB915364-X86-ENU.exe again, install it again, then attempt run WebApplicationProjectSetup.msi again, get same message.

How do I get out of this roundabout?

Wednesday, March 07, 2007 9:19 PM by Heath Stewart

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

Philip, WAP is included in SP1. You need not and should not attempt ot reinstall the WAP MSI.

Wednesday, March 07, 2007 10:47 PM by Ted

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

I appreciate the detailed explanation of what's going on under the hood. But my core opinion is that it is unacceptable for the service pack application to take so long. It's a really poor user experience, when we are spending up to $5000 on our MSDN licenese, and we lose hours of productivity on our development machine. Can't Microsoft take a fraction of the talented developers over there and come up with a better solution? At the very least, how about a pop-up at the beginning of the install, that says "Hey, if you want to ignore some of the security checking and prompting, select this option, and the installation will be 90% faster". Or at the very least, how about on the download page for the product, putting some better instructions to this effect, rather than assuming that every Visual Studio developer out there is familiar with the MSI framework (or cares to learn a lot about it during a busy work day).

Monday, March 12, 2007 7:45 PM by Tim

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

Heath, is anyone in MS taking the issue of delivering an updated, combined VS2005 with SP1 as an integral download?  I and my colleagues frequently rebuild our machines and the poorly thought out implementation and delivery of SP1 is a major hit on our productivity.  I sincerely hope lessons have been learned for SP2.  Sorry to sound negative but this service pack is not an example to the rest of us about qualtiy design, coding, implementation and customer satisfaction.  I'd get sacked if I caused my customers this amount of problems, and then didnt take every step to make it easier once I saw the issue.

Tuesday, March 13, 2007 1:40 AM by Heath Stewart

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

Tuesday, March 13, 2007 7:02 PM by tim

# re: The Visual Studio 2005 Service Pack 1 Installation Experience

Thanks Heath,  my point wasn't really that it couldn't be done, and you personally have done a lot to help out folks struggling with this monster.  My point was really that this shouldn't be a customer task,  they certainly shouldn't have to chance onto your blog to learn how to do it.  This is a MS task to make this seamless and painless to customers like me.  We lost days of productivity doing this upgrade. Like I said previously,  if I produced this process for my customers, I'd get sacked.  This is 2007 not 1997.

Thursday, March 22, 2007 2:50 PM by Heath Stewart's Blog

# VS 2005 SP1 Update for Vista Requires VS 2005 SP1

If you're attempting to install the Visual Studio 2005 Service Pack 1 Update for Windows Vista without

Monday, October 01, 2007 2:21 AM by Korea Developer Support Team

# Visual Studio 2005 SP1을 Install/Remove 할 때, 1305 Error를 만날 수 있다.

VS 2005 ENU( 영문 ) SP1 을 Install 및 Remove 시에 아래와 같은 오류가 발생할 수 있습니다. “ Error 1305. Error reading from file

New Comments to this post are disabled
 
Page view tracker