Welcome to MSDN Blogs Sign in | Join | Help

Instructions to collect .NET Framework 4 and Visual Studio 2010 Beta setup logs

How to collect setup logs? 

In case you encounter .NET Framework 4 or Visual Studio 2010 setup failure, we would need setup logs to investigate the failure.

To make this task easier, we have created a tool (collect.exe) that helps finds and creates a zip file of all relevant logs on your computer.

Here are the steps:

  1. Download collect.exe from http://go.microsoft.com/?LinkId=8967043
  2. You may choose to save the tool for later use, or to run directly.
  3. The utility creates a compressed cabinet of all the VS and .NET logs to %TEMP%\vslogs.cab.

For more details on the usage of the tool, you can refer to http://blogs.msdn.com/heaths/pages/collect.aspx

Reporting setup errors?

If you would like to report an error, please collect logs as described above and choose from the options below.

  1. Search or post on MSDN Forums in .NET Framework Setup or Visual Studio Setup and Installation. This is a community-driven web site on which Microsoft employees also participate.
  2. Report installation issues or provide feedback for Visual Studio on Microsoft Connect. You may upload logs using Connect. This allows us to view and manage bugs, and customers to vote or provide additional details in a consistent manner.

 

Posted by Varun Gupta | 0 Comments

.NET Framework 4 Client Profile Beta1

 As I had mentioned in my previous posts, .NET Framework 4 brings the concept of .NET Framework 4 Client profile in addition to Full Framework.

 My collegue has written an interesting blog post that provides into the Client profile. Interesting read -> .NET Framework 4 Client Profile - Introduction

 Have fun!

Posted by Varun Gupta | 2 Comments

.NET Framework 4 Beta1 ships!

.NET Framework 4 Beta1 has now been released. Refer to the following annoucement -> Visual Studio 2010 and .NET FX 4 Beta 1 ships!

.NET Framework 4 Beta1 release has two SKUs.

1. .NET Framework 4 Client Beta1 -> .NET Framework 4 Client is targeted at applications that run on  Windows Client operating systems. This is smaller in size than the Full .NET Framework 4 Beta1

 2. .NET Framework 4 Beta1 -> This contains the full feature set of .NET Framework 4 Beta1

You can checkout the walkthroughts, downloads @ http://msdn.microsoft.com/en-us/netframework/dd819232.aspx 

If you have any questions, you can use .NET Framework 4 Beta1 forums @ http://social.msdn.microsoft.com/Forums/en-US/netfxsetupprerelease/threads

Feel free to send your comments and feedback! 

I would be blogging more details about these SKUs and .NET Framework 4 deployment experiences in later posts.

Varun

 

Posted by Varun Gupta | 1 Comments

I've Visual Studio 2008 Beta2 installed, how do I install official final release version of Visual Studio 2008

 

- Just go to Add/Remove programs and uninstall 'Visual Studio 2008 Beta2\code name Orcas products'

- Install Visual Studio 2008 official final release version!

So you just need to uninstall one application in Beta2 and install final release version!

If you face uninstall issues, just go to following page: http://blogs.msdn.com/varungupta/archive/2007/12/04/visual-studio-2008-setup-troubleshooting-guide.aspx

Thanks,

Varun

 

 

Posted by Varun Gupta | 1 Comments

VS08Setup

Visual Studio 2008 Setup Troubleshooting Guide

 

State of Visual Studio 2008 Setup

Windows Vista

Windows XP & Windows 2003 Server

Setup pops up error message box in the middle of installation or setup returns failure screen

 Look in this document

Look in this document

Visual Studio 2008 doesn’t start properly after installation

 

Contents

 

1.      Visual Studio 2008 Setup displays a dialog box during the middle of setup indicating failure

A)     Relevant only if you are running setup on Windows Vista:  Visual Studio Setup shows a dialog box with following message: Error 1935: An error occurred during installation of assembly ‘XYZ’

B)     Dialog box indicating that pre-release components are present on the computer

C)     Visual Studio setup shows a dialog box with following message “Error 1330. A file that is required cannot be installed because the cabinet file d:\cab2.cab has an invalid digital signature. This may indicate that the cabinet file is corrupt.”

D)    VS 2008 Professional Edition Trial version setup gives following error message – “Setup has encountered a problem while trying to copy: F:\setup\VSSetupWatson\DW20.exe”

2.    Visual Studio 2008 Setup displays a setup failure page indicating end of setup

A)    Is beta version of Office Compatibility Pack for the 2007 Office system installed on your computer?

B)    Did you install pre-release versions of Visual Studio 2008 on your computer? Sometimes, few components are left behind on the computer and could cause VS 2008 Setup to fail.

 

 

1.     Visual Studio 2008 Setup displays a dialog box during the middle of setup indicating failure

 

A)   Relevant only if you are running setup on Windows Vista:  Visual Studio Setup shows a dialog box with following message: Error 1935: An error occurred during installation of assembly ‘XYZ’

Next steps

Workaround 1:

Reboot your machine and restart Visual Studio 2008 setup.

 
Workaround 2:

 If Workaround 1 doesn’t work,

1. Reboot the machine

2. Disable windows update (start menu -> windows update)

3. Restart VS setup

4. When VS Setup is done, enable windows update (don't forget this step!)

 

B)   Dialog box indicating that pre-release components are present on the computer

Symptom

Setup would pop up following message box: “Thank you for participating in the Beta program. You must uninstall all the pre-release products in a specific order before you can continue with setup. For detailed information, see the uninstall support page and the readme - XYZ component name “for example component name could be MSDN Library for Visual Studio Orcas - ENU”

 

 

Next steps:

The dialog box message specifies the components that need to be uninstalled from the machine.

1.      Go to Add/remove programs and remove the prerelease components in the correct order specified at http://msdn2.microsoft.com/en-us/vs2008/bb964521.aspx. Uninstalling in correct order is important to ensure that all dependencies are met.

 

2.      Try running Visual Studio 2008 setup again.

 

3.      If it fails again with same message box, then identify the components reported by the message box.

a.      If those components can be found in Add/Remove programs (in control panel).

                                                                                                  i.      Go to Add/Remove programs and remove those components. Restart setup.

b.      If those components cannot be found in Add/Remove programs (in control panel).

                                                                                                  i.      Are these components Microsoft Windows Vista Client Headers and Libraries (6001.16533.121)" and/or “Microsoft Windows Vista Client Utilities for Win32 Development (6001.16533.121)”?

Yes? – Go to this blog post to remove these components <TODO: Insert link>

                                                                                                ii.      No?

1.      Use this post to get list of all components installed on your machine.

2.      Search for the component that is listed in the message box in %temp%\log.txt. If you can find the component in the list you would see something like this.

MSDN Library for Visual Studio Orcas - ENU

Product code:        {90120000-0021-0000-0000-0000545446}

Product state:        (5) Installed.

Package code:       {182AE326-20FA-438A-ABA8-C29E58CF320A}

3.      Use product code for that component (as highlighted in the list above) to uninstall it.

a.      In the above example you would use following command on command line.

Msiexec /x {90120000-0021-0000-0000-0000545446}

 

4.      Repeat steps 2 and 3 for all components that you see in the message box.

C) Visual Studio setup shows a dialog box with following message “Error 1330. A file that is required cannot be installed because the cabinet file d:\cab2.cab has an invalid digital signature. This may indicate that the cabinet file is corrupt.”

           

            Next steps:

1.      If you are downloading & running setup from internet, try to download again.

2.      If you are running setup from DVD or network share, copy complete Visual Studio DVD on your local computer and re-run setup.

 

D) VS 2008 Professional Edition Trial version setup gives following error message – “Setup has encountered a problem while trying to copy: F:\setup\VSSetupWatson\DW20.exe”

Next steps:

1.      Check the file size of the file that you downloaded. It should be 3.3 GB for VS 2008 Professional Edition Trial Version, if it’s less than that it means download didn’t happen properly.

2.     Because this file is large, we recommend that you use a download manager to download it.

 

2. Visual Studio 2008 Setup displays a setup failure page indicating end of setup

 

A)  Is beta version of Office Compatibility Pack for the 2007 Office system installed on your computer?

 

Next steps:

1. Go to Add/Remove programs and uninstall beta version of Office Compatibility Pack for the 2007 Office system installed on your computer?

2. If you don’t find it in Add/Remove programs run msiexec /x {30120000-0020-0409-0000-0000000FF1CE}

 

B) Did you install pre-release versions of Visual Studio 2008 on your computer? Sometimes, few components are left behind on the computer and could cause VS 2008 Setup to fail.

 

Next steps:

1.      Go to %temp% folder

2.      Open log file whose filename starts with “dd_install_vs_”. For example, If you are installing VSTS, filename would be “dd_install_vs_vstscore_90”

3.      Go to the end of file.

4.      In the log file, search for “Not attempting to call MsiInstallProduct()!!!! Baseline not met!” (Search up as you are at the end of the log file J)

If you find this text, then you could have pre-release components on your computer. Otherwise, your setup failed because of different reason.

5.      Just above the line where you found text above, look for

=================

DepCheck: gencomp97 [Note: may or not be present]

DepCheck: gencomp320 [Note: may or not be present]

DepCheck_Result: 1

Microsoft Visual Studio 2008 Professional Edition - ENU: Install(): bAttemptInstall: 0 [should be present]

================

6.      Components in front of “Depcheck:” are the ones that you need to uninstall before continuing with the install. A) Gencomp97 corresponds to Microsoft Web Designer Tools B) Gencomp320 corresponds to Microsoft Document Explorer 2007 (not 2005). Please note that there could be other components too.

 

You would need to remove whichever components are listed. For example, if you see DepCheck: gencomp97, you would need to remove Microsoft Document Explorer 2007.

                            Steps:

1.      Use this post to get list of all components installed on your machine.

2.      Search for the component in %temp%\log.txt. If you can find the component in the list you would see something like this.

Microsoft Document Explorer 2007

Product code:        {90120000-0021-0000-0000-0000545446}

Product state:        (5) Installed.

Package code:       {182AE326-20FA-438A-ABA8-C29E58CF320A}

3.      Use product code for that component to uninstall it.

a.      In the above example you would use following command on command line.

Msiexec /x {90120000-0021-0000-0000-0000545446}

 

4.      Repeat steps 2 and 3 for all components that you see in the logs above.

 

Note: If Visual Studio setup fails while installing any component after .NET Framework 3.5, Microsoft Web Designer Tools and Microsoft Document Explorer component, please follow following steps.

After fixing setup failure issue, if you run the setup again, setup would launch in maintenance mode. To install other components, go to add/remove features and install features that you want to install.

Note: If these issues persists, you can collect setup logs using utility mentioned at http://blogs.msdn.com/astebner/archive/2007/08/01/4172276.aspx and send them on : vs2008deployment at hotmail dot com

 

 

 

Posted by Varun Gupta | 31 Comments

How to find out which beta components are on my machine

 

You could follow following steps to generate list of components that are installed on your computer.

  1. Download msiinv.zip
  2. Extract the contents of msiinv.zip to the folder c:\msiinv on your system
  3. Click on the Start menu, choose Run, type cmd and click OK
  4. Run c:\msiinv\msiinv.exe -p > c:\msiinv_output.txt

 

Posted by Varun Gupta | 4 Comments

Visual Studio 2008 setup fails with "Error 1935: An error occurred during the installation of the assembly......."

Sometimes this error occurs if windows update is scanning for updates at the same time as Visual Studio setup is installing components.


Workaround 1:

Reboot your machine and restart Visual Studio 2008 setup.

 
Workaround 2:

 If Workaround 1 doesn’t work,

1. Reboot the machine

2. Disable windows update (start menu -> windows update)

3. Restart VS setup

4. When VS Setup is done, enable windows update (don't forget this step!)

 

If you run into any problems with either installation or uninstall, please make sure to post in the Visual Studio 2008 Setup and Installation Forum on MSDN.

 

Hope that helps.

 
Varun

 
Posted by Varun Gupta | 4 Comments

While installing Visual Studio 2008 final release, I see message to uninstall prerelease version of "Microsoft Windows Vista Client Headers and Libraries

Before I start with this post 

I'm assuming that you followed Visual Studio 2008 Beta2 uninstall instructions on http://weblogs.asp.net/scottgu/archive/2007/11/20/steps-to-uninstall-vs-2008-beta2-before-installing-the-vs-2008-final-release.aspx.

If not, then please visit link mentioned above to uninstall Visual Studio 2008 Beta2.

Ok, I come to the point now

While installing Visual Studio 2008 final release, you might see a message to uninstall prerelease version of  "Microsoft Windows Vista Client Headers and Libraries (6001.16533.121)".

[Snapshot attached with this post] 

However, this component might not appear in Add/Remove programs.

If you see this issue, following steps could help you out.

1. open a cmd window as an administrator.

2. Run following commands on the cmd window to uninstall "Microsoft Windows Vista Client Headers and Libraries (6001.16533.121)" & Microsoft Windows Vista Client Utilities for Win32 Development (6001.16533.121)

If you are using 32bit machine then follow these instructions:

 

- To uninstall Microsoft Windows Vista Client Headers and Libraries (6001.16533.121) run following command.

msiexec /x {07D7D276-46D2-42F5-BC90-0906C330746E}

 

-To uninsall Microsoft Windows Vista Client Utilities for Win32 Development (6001.16533.121) run following command

msiexec /x {930A590D-29F8-4554-8DC8-27B8A17DD637}

 

If you are using 64bit machine then follow these instructions:

 

-To uninstall Microsoft Windows Vista Client Headers and Libraries (6001.16533.121) run following command

msiexec /x {8B4D0612-3239-4272-9FB7-E23D4E0C6026}

 

- To uninstall Microsoft Windows Vista Client Utilities for Win32 Development (6001.16533.121) run following command

msiexec /x {41ECD11F-C317-4037-BB87-56FE144DB4A9}

 

Running MSIEXEC commands mentioned above report an error that it depends on procore_vs. and cancels the uninstall?

 

Delete the following Registry key and try uninstall again.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\ProductReference\ReferencedProducts\07D7D27646D242F5BC900906C330746E

Note: This workaround is for a specific case and don’t delete registry key in any other case.

If you run into any problems with either installation or uninstall, please make sure to post in the Visual Studio 2008 Setup and Installation Forum on MSDN.

 

Hope this helps.

Varun 

 

 

I'm back!

Last year, I moved to Deployment Technology Group in Developer Division.

 
I work as a Program Manager for Setup & deployment projects and Visual Studio setup.

 
Stay tuned for some tips around Visual Studio 2008 setup.

 
-Varun

 

Posted by Varun Gupta | 1 Comments

Visual Studio 2008 setup sometimes shows disk space requirements for two drives

A customer reported that Visual Studio 2008 setup displayed disk space requirements for two drives [Image attached]. We had investigated this issue before.

Question: Why does it display disk space requirements for second drive when customer didn't select it for installation? Does Visual Studio 2008 setup installs anything to the second drive?

Answer: Setup page shows disk space requirements for second drive, I must clarify that Visual Studio setup doesn't install anything to that drive. It installs only in the drive selected by you. All the temporary files are only created in the %temp% folder and not in the second drive.This costing issue usually occurs if the drive that you are installing to doesn't have largest free disk space. We would look at it in future versions of Visual Studio setup.

Note: Setup uses %temp% folder as temporary storage. On your computer, If %temp% can be mapped to any drive. Setup will use wherever %temp% is redirected to on your computer. In case it is mapped to a drive that you did not select to install Visual Studio, this may cause some temporary disk activity on that drive.

Question: By default Setup installs on system drive. However, user can select alternate drive to install setup. When user selects non-system drive to install Visual Studio 2008, why does setup page display disk space requirements for system drive and alternate drive?

Answer: If user selects alternate drive (other than default system drive) to install setup, Visual Studio installs bulk of Visual Studio to the alternate drive. However, there are some windows components that need to be installed to system drive (.NET Framework).

Thanks for installing Visual Studio!

 

Thanks,

Varun Gupta 

 

 

 

 

 

<!--[if !vml]--> <!--[if !vml]--> <!--[if !vml]--> <!--[if !vml]--> <!--[if !vml]--> <!--[if !vml]--><!--[endif]--> 

 

<!--[if !vml]--><!--[endif]-->


 

Visual J# 2005 Express Edition - its free until November 6, 2006*

Q. What is Visual J# 2005 Express ?

 

Ans. Visual J# Express has been built with the student and hobbyist in mind. Visual J# Express includes many of the same features found in the Visual Studio 2005 Professional Edition, but is simplified to make it easier to get started with application development. Some ways you might use Visual J# 2005 Express include:

 

Learn Java-language application development. Visual J# enables users to use the Java language while also gaining full access to the Microsoft .NET Framework class libraries.

 

Study for the Advanced Placement Computer Science (APCS) exam. Visual J# Express meets 100 percent of the requirements for the AP CS curriculum.

 

Build cool and fun projects. Visual J# Express allows you to create fully functional Windows-based applications, and includes the Visual Forms Designer that has made Visual Studio popular for years. Just drag-and-drop forms elements into place and double-click to write code!

 

 

Q. Is it free?

 

Ans. Visual J# Express is offered for free, as a limited-in-time promotional offer, until November 6, 2006.

 

After one year, as long as you download Visual Studio Express on or before November 7th 2006, you will not have to pay for it.

 

Q. Cool! Can I get a feature tour!

 

Ans. Absolutely, a comprehensive feature tour is here

 

Q. Looks great! From where can I download it?

 

Ans. You can download it from here

 

Q. Whats next!

Ans. Let the fun begin! Play around with J# and .NET!!

 

You can refer to my previous blog post to know more about Visual J# and sample code.

 

If you have any questions, here’s the J# community to help you out @ J# Forums.

Ask your J# questions to the ever growing J# community.

 

*Refer to Comprehensive Express Edition FAQ here for more details.

Posted by Varun Gupta | 2 Comments

Visual J# , What and How

 

Q. What is Visual J#?

Ans. Visual J# .NET is a powerful tool for Java-language developers who want to build applications and services on the Microsoft .NET Framework. Visual J# .NET targets the new .NET Framework version 2.0, is fully integrated with Visual Studio .NET, and provides added support for building Mobile Web applications.

 

Q. How to install Visual J#?

Ans. Visual J# can be installed while installing Visual Studio 2005  

 

Q. I don’t have Visual Studio; can I still use Visual J#?

Ans. Absolutely, there are two options.

       -  just install .NET Framework 2.0 redistributable and SDK and after that install J# Redist 2.0

       This will install J# compiler, .NET Framework runtime CLR.

 -  Or install Visual J# 2005 Express Edition  Its is a simple, lightweight, integrated development environment designed for beginning programmers and non-professional developers interested in building Windows Forms, class libraries, and console-based applications.

 

Q. Alright, I have J# installed on my machine, how do I write my first Visual J# code?

Ans. GoTo: Start-> Programs -> Microsoft.NET Framework SDK v2.0 -> Visual Studio 2005 command prompt.

 

Here’s your first piece of code [Helloworld.jsl]

 

class helloworld

{

     public static void main(String args[])

            {

                        System.out.println("Hello World");

            }

 }

 

Now we run Helloworld.jsl on the SDK command prompt.

 

D:\Program Files\Microsoft Visual Studio 8\SDK\v2.0> vjc.exe Helloworld.jsl

D:\Program Files\Microsoft Visual Studio 8\SDK\v2.0> Helloworld.exe

 

Output: Hello World

 

Q. Great, where do I get good resources for learning more about Visual J#?

Ans. You might want to take a look at following resources to learn about Visual J#

http://msdn.microsoft.com/vjsharp/downloads/codenotes/default.aspx

 

http://msdn.microsoft.com/vjsharp/using/academic/default.aspx

 

Book- Visual J#. NET by John Sharp, Andy Longshaw

 

http://msdn.microsoft.com/vjsharp for any Vjsharp related information.

 

Q. Now I am getting interested, are there any other samples that I can look at?

Ans. you can find couple of samples here.

 

Q. Cool… I have started playing around with J#, where do I ask my specific questions about J#?

Ans. Here’s the place, J# Forums. Ask your J# questions to the ever growing J# community.

Posted by Varun Gupta | 2 Comments

Imagination is more important than knowledge...- Albert Einstein

"Imagination is more important than knowledge..." Albert Einstein was bang on target.

To create things that change the world, the most important ingredient is imagination. I am part of the big bets Microsoft is taking in the Developer community that promise to change the next generation developer environment.

My name is Varun Gupta and I work in Developer Tools division of Microsoft, India.

Amongst the various offerings of Developer Tools division, I am part of the Visual J# product team. I have been working in this team for close to 15 months.

Life has been pretty interesting at Microsoft and I hope to share a lot of my experiences in the blog. Mostly it will be centred around my work, Visual J# (pronounced JSharp) language. I will also share my thoughts on other offerings from the Developer Division stable.

If you have any questions/feedback, feel free to send in your comments.

Additionally, there is a Visual J# forum that i moderate, feel free to post your questions to Visual J# community(http://forums.microsoft.com/msdn/default.aspx?ForumGroupID=7)

See you later!

Posted by Varun Gupta | 0 Comments
 
Page view tracker