Skip to main content

Microsoft Silverlight

Unanswered Question Unable to manually remove KB949325 to fix beta 2 install issuesRSS Feed

(0)

pattersonc
pattersonc

Member

Member

17 points

15 Posts

Unable to manually remove KB949325 to fix beta 2 install issues

 According to

 

http://weblogs.asp.net/bradleyb/

 

The installation problem I am having is caused by KB949325, the fix is to manually uninstall via the control panel. However, I am unable to do this because the manually uninstall is failing with an error code of 2337.

 

Please help. 

Daniel Harvey
Daniel H...

Participant

Participant

1282 points

391 Posts

Microsoft

Re: Unable to manually remove KB949325 to fix beta 2 install issues

Error 2337 seems to be could not close a file. The Windows Installer Cleanup Utility may be able to perform an uninstall that doesn't work through the Control Panel: http://support.microsoft.com/kb/290301

pattersonc
pattersonc

Member

Member

17 points

15 Posts

Re: Unable to manually remove KB949325 to fix beta 2 install issues

Chris

Daniel Harvey:

Error 2337 seems to be could not close a file. The Windows Installer Cleanup Utility may be able to perform an uninstall that doesn't work through the Control Panel: http://support.microsoft.com/kb/290301


 

 I am unable to locate "Updates" using the Windows Installer Clean Up utility. Unless there is some way to do this I don't know if that is workable solution.

 

Thanks,


pattersonc
pattersonc

Member

Member

17 points

15 Posts

Re: Unable to manually remove KB949325 to fix beta 2 install issues

pattersonc:
 I am unable to locate "Updates" using the Windows Installer Clean Up utility. Unless there is some way to do this I don't know if that is workable solution.
 

 

Unless I can find the MSI product code somewhere and run msizap.exe ?? 

Daniel Harvey
Daniel H...

Participant

Participant

1282 points

391 Posts

Microsoft

Re: Unable to manually remove KB949325 to fix beta 2 install issues

Are you running into the problem Heath describes here: http://blogs.msdn.com/heaths/archive/2008/03/07/installing-silverlight-2-beta-1-tools-for-visual-studio-2008.aspx ? If you are, I would try his steps, if you aren't, you can follow his steps to extract the KB949325 patch, and then run:
msiexec /uninstall VS90-KB949325.msp /L*vx VS90-KB949325-2.log

To try to uninsall the patch with more complete logging. Then post the log here, and I can take a look.

pattersonc
pattersonc

Member

Member

17 points

15 Posts

Re: Unable to manually remove KB949325 to fix beta 2 install issues

Daniel Harvey:
Are you running into the problem Heath describes here: http://blogs.msdn.com/heaths/archive/2008/03/07/installing-silverlight-2-beta-1-tools-for-visual-studio-2008.aspx ? If you are, I would try his steps, if you aren't, you can follow his steps to extract the KB949325 patch, and then run:
msiexec /uninstall VS90-KB949325.msp /L*vx VS90-KB949325-2.log
 

 

 

I was able to manually reinstall KB949325 after extracting the file from the Beta 2 chainer but when run with the uninstall switch I get the following error message:

 

"This installation package could not be opened. Contact the application vendor to verify that this is a valid Windows Installer package." 

 

 

Here is the log:

=== Verbose logging started: 6/9/2008  15:01:38  Build type: SHIP UNICODE 4.00.6001.00  Calling process: C:\Windows\system32\msiexec.exe ===
MSI (c) (18:60) [15:01:38:368]: Resetting cached policy values
MSI (c) (18:60) [15:01:38:368]: Machine policy value 'Debug' is 0
MSI (c) (18:60) [15:01:38:368]: ******* RunEngine:
           ******* Product: VS90-KB949325.msp
           ******* Action:
           ******* CommandLine: **********
MSI (c) (18:60) [15:01:38:368]: Client-side and UI is none or basic: Running entire install on the server.
MSI (c) (18:60) [15:01:38:368]: Grabbed execution mutex.
MSI (c) (18:60) [15:01:38:493]: Cloaking enabled.
MSI (c) (18:60) [15:01:38:493]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (18:60) [15:01:38:524]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (D4:A8) [15:01:38:539]: Grabbed execution mutex.
MSI (s) (D4:10) [15:01:38:555]: Resetting cached policy values
MSI (s) (D4:10) [15:01:38:555]: Machine policy value 'Debug' is 0
MSI (s) (D4:10) [15:01:38:555]: ******* RunEngine:
           ******* Product: c:\temp\sl2b2\VS90-KB949325.msp
           ******* Action:
           ******* CommandLine: **********
MSI (s) (D4:10) [15:01:38:555]: Note: 1: 2766 2: c:\temp\sl2b2\VS90-KB949325.msp
MSI (s) (D4:10) [15:01:38:555]: MainEngineThread is returning 1620
MSI (c) (18:60) [15:01:38:555]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
MSI (c) (18:60) [15:01:38:555]: MainEngineThread is returning 1620
=== Verbose logging stopped: 6/9/2008  15:01:38 ===

 

pattersonc
pattersonc

Member

Member

17 points

15 Posts

Re: Unable to manually remove KB949325 to fix beta 2 install issues

Daniel Harvey:
Are you running into the problem Heath describes here:
 

 

I am not receiving the dialog requesting the VS media when uninstalling... 

I am connected to the machine via Remote Desktop at the moment. I will try putting the CD in then attempt the manual uninstall and post my results.

 

Thanks,

Chris 

pattersonc
pattersonc

Member

Member

17 points

15 Posts

Re: Unable to manually remove KB949325 to fix beta 2 install issues

 

pattersonc:

I am not receiving the dialog requesting the VS media when uninstalling... 

I am connected to the machine via Remote Desktop at the moment. I will try putting the CD in then attempt the manual uninstall and post my results.

 

No luck.

pattersonc
pattersonc

Member

Member

17 points

15 Posts

Re: Unable to manually remove KB949325 to fix beta 2 install issues

 Is there anything else I can try? I'm kind of dead in the water here.

 

I've tried telling MSIEXEC to uninstall based on the vs_setup.msi and PATCH GUID. Again, no luck.

 

 

This sucks. Any suggestions appreciated.

 

Thanks,

Chris 

mike.snow
mike.snow

Member

Member

221 points

305 Posts

Microsoft

Re: Unable to manually remove KB949325 to fix beta 2 install issues

Hey Chris, I would like to help you get this issue resolved.

Can you try 2 things for me:

1) Reset your settings by typing "DevEnv /resetsettings" on the command-line against the VS 2008 version of the IDE

2) Re-install Silverlight Tools Beta 2.

If neither of these work can you send me an email directly: msnow@microsoft.com

Thanks for your patience on this.

--Mike

(If this has answered your question, please click on "Mark as Answer" on this post. Thank you!)

Thanks,
Mike Snow
Blog : Silverlight Tips of the Day

pattersonc
pattersonc

Member

Member

17 points

15 Posts

Re: Unable to manually remove KB949325 to fix beta 2 install issues

Ok ... so I have been doing some digging and came up with this command to get the patch removal to give me some logs:

msiexec /package {D7DAD1E4-45F4-3B2B-899A-EA728167EC4F} MSIPATCHRE
MOVE={7654B3C2-0753-4C09-BC2D-AFF9A6E329FE} /L*vx VSKB949325_log.log

 The important part of the log seems to be...

MSI (s) (50:7C) [23:46:44:043]: Executing op: SetTargetFolder(Folder=C:\Program Files\Microsoft Visual Studio 9.0\Common7\Packages\1033\)
MSI (s) (50:7C) [23:46:44:044]: Executing op: SetSourceFolder(Folder=C:\Windows\Installer\$PatchCache$\Managed\4E1DAD7D4F54B2B398A9AE271876CEF4\9.0.21022\)
MSI (s) (50:7C) [23:46:44:044]: Executing op: FileCopy(SourceName=FL_mswebprjui_dll_66398_66398_x86_enu.3643236F_FC70_11D3_A536_0090278A1BB8,SourceCabKey=FL_mswebprjui_dll_66398_66398_x86_enu.3643236F_FC70_11D3_A536_0090278A1BB8,DestName=mswebprjui.dll,Attributes=0,FileSize=205312,PerTick=32768,,VerifyMedia=0,,,,,CheckCRC=0,Version=9.0.21022.8,Language=1033,InstallMode=63176704,,,,,,,)
MSI (s) (50:7C) [23:46:44:046]: File: C:\Program Files\Microsoft Visual Studio 9.0\Common7\Packages\1033\mswebprjui.dll;    Overwrite;    Won't patch;    REINSTALLMODE specifies all files to be overwritten
MSI (s) (50:7C) [23:46:44:046]: Source for file 'FL_mswebprjui_dll_66398_66398_x86_enu.3643236F_FC70_11D3_A536_0090278A1BB8' is uncompressed, at 'C:\Windows\Installer\$PatchCache$\Managed\4E1DAD7D4F54B2B398A9AE271876CEF4\9.0.21022\'.
MSI (s) (50:7C) [23:46:44:050]: Re-applying security from existing file.
MSI (s) (50:7C) [23:46:44:054]: Verifying accessibility of file: mswebprjui.dll
MSI (s) (50:7C) [23:46:44:059]: Note: 1: 2318 2: C:\Program Files\Microsoft Visual Studio 9.0\Common7\Packages\1033\mswebprjui.dll
MSI (s) (50:7C) [23:46:44:060]: File will have security applied from OpCode.
MSI (s) (50:7C) [23:46:44:209]: Executing op: SetTargetFolder(Folder=C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\)
MSI (s) (50:7C) [23:46:44:209]: Executing op: AssemblyCopy(SourceName=WPFDesigner_MicrosoftWindowsDesign_x86_enu.3643236F_FC70_11D3_A536_0090278A1BB8,SourceCabKey=WPFDesigner_MicrosoftWindowsDesign_x86_enu.3643236F_FC70_11D3_A536_0090278A1BB8,DestName=Microsoft.Windows.Design.dll,Attributes=0,FileSize=106496,PerTick=32768,,VerifyMedia=0,,,,,ComponentId={7A515F16-7D3F-4A41-910A-E704ABC9E8CA},IsManifest=1,,,AssemblyMode=1,)
MSI (s) (50:7C) [23:46:44:209]: Source for file 'WPFDesigner_MicrosoftWindowsDesign_x86_enu.3643236F_FC70_11D3_A536_0090278A1BB8' is uncompressed, at 'C:\Windows\Installer\$PatchCache$\Managed\4E1DAD7D4F54B2B398A9AE271876CEF4\9.0.21022\'.
MSI (s) (50:7C) [23:46:44:217]: Assembly Error:The module '%1' was expected to contain an assembly manifest.
MSI (s) (50:7C) [23:46:44:217]: Note: 1: 1935 2:  3: 0x80131018 4: IStream 5: Commit 6: 
MSI (s) (50:7C) [23:46:44:217]: Note: 1: 2337
DEBUG: Error 2337:  Could not close file:  GetLastError:
MSI (c) (84:80) [23:46:44:227]: Font created.  Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg

The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2337. The arguments are: , ,
MSI (s) (50:7C) [23:46:46:371]: Product: Microsoft Visual Studio 2008 Professional Edition - ENU -- The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2337. The arguments are: , ,

Action ended 23:46:46: InstallFinalize. Return value 3.
MSI (s) (50:7C) [23:46:46:384]: User policy value 'DisableRollback' is 0

 

Now all I need is someone to translate that into english for me.

 

Thanks,

Chris 

mike.snow
mike.snow

Member

Member

221 points

305 Posts

Microsoft

Re: Re: Unable to manually remove KB949325 to fix beta 2 install issues

The work-around I discovered was to:

  1. Extract the contents of the Silverlight Tools Beta 2 chainer (silverlight_chainer.exe /x)
  2. Run the newer patch setup (VS90-KB950630.msp) (note if you have SP1 run VS90Sp1-Kb950630.msp).
  3. Go to Add/Remove programs and now uninstall the old patch (949325)
  4. Run silverlight_chainer.exe

This fixed the problem. I have taken a snapshot of your log files and we will try to investigate what the original root cause of the failure was.

 

(If this has answered your question, please click on "Mark as Answer" on this post. Thank you!)

Thanks,
Mike Snow
Blog : Silverlight Tips of the Day

robertlair
robertlair

Member

Member

79 points

43 Posts

Re: Re: Unable to manually remove KB949325 to fix beta 2 install issues

Hi MIke,

I cannot follow step #3 because 949325 does not show up in my Installed Updates.  I also cannot uninstall it manually due to the same error above ("This installation package could not be opened.  Contact the application vendor to verify that this is a valid Windows Installer package").

 
I am thinking the original issue (for me) was caused by when I went to uninstall 949325 originally, I got prompted for the media, which I didn't have available so I rolled back the uninstall.  Even though it appeared to roll back the uninstall, it apparently removed it from the listing in Control Panel.  So clearly, I have it installed, but I can't seem to get it uninstalled. 

I followed the following steps (after getting VS2008 in the messed up state)

  1. Downloaded SL2 Beta 1 Tools for VS2008 (called it silverligth_chainer2.exe)

  2. Extracted the contents using:

    silverlight_chainer2.exe /extract:"%CD%\SL2"

  3. Went to the newly created SL2 directory and ran the following command:

    msiexec /p VS90-KB949325.msp /L*vx VS90-KB949325-2.log ADDLOCAL=KB947520,KB949325

  4. Then, I first attempted to uninstall manually with:

    msiexec /uninstall VS90-KB949325.msp /L*vxVS90-KB949325-2.log

  5. Which gave me the error "This installation package could not be opened.  Contact the application vendor to verify that this is a valid Windows Installer package"

  6. So I followed your steps above and extracted the contents of SL2 Beta2 chainer using silverlight_chainer.exe /x

  7. Ran the new setup using the following command:

    msiexec /p VS90Sp1-Kb950632.msp /L*vx test.log REINSTALL=ALL


  8. Which seems to have installed successfully.

  9. Then I went to uninstall 949325, which is where i am stuck.
Hope the detail helps. :)  In the middle of writing my Silverlight 2 book so fixing this sooner than later would be best.  At this point I am wondering if it would faster/easier to simply uninstall VS2008 entirely and reinstall.  Though I fear I will still have issues.  Any help is appreciated.

 

--
Robert Lair
http://blog.robertlair.net

mike.snow
mike.snow

Member

Member

221 points

305 Posts

Microsoft

Re: Re: Unable to manually remove KB949325 to fix beta 2 install issues

Can you shoot me an email at: msnow@microsoft.com and I can work directly with you to gather more info.

(If this has answered your question, please click on "Mark as Answer" on this post. Thank you!)

Thanks,
Mike Snow
Blog : Silverlight Tips of the Day
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities