ID c?a bi: 908077 - Xem s?n ph?m m bi ny p d?ng vo.
This article may contain a link to the Windows Installer Cleanup utility (MSICUU2.exe). If you were directed to this article to solve a problem by using the Windows Installer Cleanup utility, please contact your software manufacturer for installation support on the product, or see the following Microsoft Knowledge Base article for steps to troubleshoot uninstallation issues with products that use Windows Installer:

2438651 How to troubleshoot problems that may occur when you install, uninstall, or upgrade a program on a Windows-based computer
Ch ?
Bai vit nay co th cha mt lin kt n tin ich Windows Installer Cleanup (MSICUU2.exe). Nu ban c dn n bai vit nay giai quyt s c bng cach s dung tin ich Windows Installer Cleanup, hay lin h vi nha san xut phn mm cua ban c h tr cai t san phm hoc xem bai vit sau trong C s Kin thc Microsoft bit cac bc khc phuc s c d cai t cho cac san phm s dung Windows Installer:

Bung t?t c? | Thu g?n t?t c?

? Trang ny

Tm t?t

Ban co th s dung cac phng phap trong bai vit nay khc phuc s c cai t trong Microsoft .NET Framework phin ban 2.0. Bai vit nay thao lun v cac ban cai t trn Microsoft Windows Server 2003, trn Windows 2000 Goi Dich vu 3 (SP3), hoc trn Windows XP Goi Dich vu 2 (SP2). Cac phng phap ma bai vit nay thao lun bao gm ng ky lai Microsoft Windows Installer, va sa cha, loai bo va cai t lai .NET Framework. s dung nhng phng phap nay, ban nn lam quen vi .NET Framework 2.0, Registry Editor va Windows Installer. Ngoai ra, mt trong nhng phng phap nay yu cu ban thay i s ng ky trn may tinh.

GII THIU

Bai vit hng dn tng bc nay m ta cach khc phuc s c ma ban co th gp phai khi ban cai t .NET Framework 2.0.

Khi Microsoft Windows Installer c ng ky khng chinh xac trong s ng ky Windows, chng trinh Thit lp .NET Framework 2.0 khng th truy nhp mt s cu phn Windows Installer. Bai vit nay thao lun cach giai quyt s c nay bng cach huy ng ky ri ng ky lai Windows Installer.

Khng phai luc nao ban cung co th loai bo hoan toan .NET Framework 2.0 bng cach s dung cng cu Thm/Loai bo Chng trinh trong Pa-nen iu khin. Bai vit nay cung thao lun cach giai quyt s c nay bng cach sa cha .NET Framework 2.0 hoc bng cach loai bo thu cng .NET Framework 2.0 khoi may tinh ri cai t lai .NET Framework 2.0.

Yu cu

Danh sach bn di a ra phn cng, phn mm, ha tng mang va goi dich vu c khuyn nghi ma ban cn:
  • Microsoft Windows Server 2003, Microsoft Windows 2000 Goi Dich vu 3 (SP3), hoc Microsoft Windows XP Goi Dich vu 2 (SP2)
  • Microsoft .NET Framework 2.0.
    tai Goi Microsoft .NET Framework Phin ban 2.0 Co th phn phi lai, hay truy cp Web site sau cua Microsoft:
    http://www.microsoft.com/en-us/download/details.aspx?id=6523
Lu y khc phuc s c cai t .NET Framework 2.0, ban phai s dung tai khoan trong nhom Quan tri vin Cuc b trn may tinh ang chay .NET Framework 2.0.

Bai vit nay gia inh rng ban a quen vi cac chu sau:
  • Microsoft .NET Framework 2.0.
  • Registry Editor
  • Windows Installer

Huy ng ky ri ng ky lai Windows Installer

Thao tac nay khc phuc c hu ht cac trng hp. Ngoai ra, thao tac nay khng anh hng ti bt ky chng trinh nao hin c cai t s dung Windows Installer.
  1. Huy ng ky Windows Installer. thc hin vic nay, bm Bt u, bm Chay, go msiexec /unregister trong hp M, ri bm OK.
  2. ng ky lai Windows Installer. thc hin vic nay, bm Bt u, bm Chay, go msiexec /regserver trong hp M, ri bm OK.

Sa cha .NET Framework 2.0

Sau y la ba cach sa cha .NET Framework.

S dung lnh Sa cha trn tp b m n Windows Installer

sa cha .NET Framework 2.0 bng cach s dung tp b m n Windows Installer, hay lam theo cac bc sau:
  1. Bm Bt u, bm Chay, go installer trong hp M, ri bm OK.
  2. Trn menu Xem Windows Installer, bm Chi tit, bm chut phai vao tiu ct Tn, ri bm Nhn xet.
  3. Bm chut phai vao tp Windows Installer c lu trong b m n co nhn xet Microsoft .NET Framework 2.0 RTL x86 enu, ri bm Sa cha.
  4. Sau khi qua trinh sa cha hoan tt, hay thoat Windows Installer.

Chay goi .NET Framework 2.0 Co th phn phi lai tai du nhc lnh

sa cha .NET Framework 2.0 bng cach s dung du nhc lnh, hay lam theo cac bc sau:
  1. Xac inh vi tri tp Dotnetfx.exe ma ban a s dung cai t .NET Framework 2.0. thc hin vic nay, s dung mt trong cac phng phap sau:
    • Nu ban a cai t .NET Framework 2.0 t CD hoc DVD, hay cho ia cai t vao ia CD hoc ia DVD.
    • Nu ban a cai t .NET Framework 2.0 t ia cng, hay tai xung chng trinh Thit lp .NET Framework 2.0 vao ia cng.
    • Nu ban a cai t .NET Framework 2.0 t ia mang, hay kt ni lai vi ia mang.
  2. Bm Bt u, bm Chay, go cmd trong M, ri bm OK.
  3. Tai du nhc lnh, hay chay lnh sau:
    %InstallationPath%\dotnetfx.exe /t:%temp% /c:"msiexec.exe /fvecms %temp%\netfx.msi"
Lu y %InstallationPath% la trinh gi ch cho ng dn cua tp Dotnetfx.exe ma ban a xac inh vi tri trong bc 1.

Loai bo thu cng ri cai t lai .NET Framework 2.0

Quan trong Phn, phng phap hoc tac vu nay cha cac bc chi dn ban cach s?a i s ng ky. Tuy nhin, c th? x?y ra s? c? nghim tr?ng n?u b?n s?a ?i s? ng k? khng ng cch. Do , h?y am bao r?ng b?n thc hin cc b?c sau mt cach c?n trong. ? b?o v? t?t hn, h?y sao lu s? ng k? tr?c khi b?n s?a ?i. Sau , b?n c th? khi ph?c s? ng k? n?u x?y ra s? c?. ? bi?t thm thng tin v? cch sao lu v khi ph?c s? ng k?, h?y b?m s? bi vi?t sau ? xem bi vi?t trong C s? Ki?n th?c Microsoft:
322756 Cch sao lu v khi ph?c s? ng k? trong Windows


Quan trong Cac bc nay co th tng rui ro v bao mt cua ban. Cac bc nay cung co th khin may tinh hoc mang cua ban d bi tn cng hn bi ngi dung nguy him hoc bi phn mm nguy him nh vi-rut. Chung ti khuyn nghi s dung quy trinh ma bai vit nay m ta kich hoat cac chng trinh hoat ng theo thit k hoc thc hin cac kha nng cu th cua chng trinh. Trc khi ban thc hin nhng thay i nay, chung ti khuyn ban nn anh gia rui ro co lin quan n vic thc hin quy trinh nay trong mi trng cu th cua ban. Nu ban chon thc hin quy trinh nay, hay thc hin bt ky bc b sung phu hp nao giup bao v h thng. Chung ti khuyn ban chi nn s dung quy trinh nay khi thc s cn thit.
  1. Loai bo .NET Framework 2.0 khoi b m n Windows Installer:
    1. Bm Bt u, bm Chay, go installer trong hp M, ri bm OK.
    2. Trn menu Xem trong Windows Installer, bm Chi tit.
    3. Bm chut phai vao tiu ct Tn, ri bm Nhn xet.
    4. Bm chut phai vao tp Windows Installer c lu trong b m n co nhn xet Microsoft .NET Framework 2.0 RTL x86 enu, ri bm D cai t.
    5. Sau khi qua trinh d cai t hoan tt, hay thoat Windows Installer.
  2. Xoa thu cng cac muc sau khoi may tinh. Lu y Tuy theo tinh trang hin tai cua ban cai t .NET Framework, cac muc sau co th khng tn tai trn may tinh.
    • Th muc URTTemp
    • Tp Mscoree.dll
    • Th muc v2.0.50727
    thc hin vic nay, hay lam theo cac bc sau:
    1. Bm Bt u, bm Chay, nhp system32 trong hp M, ri bm OK. Ni dung cua th muc System32 xut hin trong Windows Explorer.
    2. Xac inh vi tri ri xoa th muc URTTemp.
    3. Xac inh vi tri ri xoa tp mscoree.dll.

      Lu y Nu .NET Framework 1.1 hoc .NET Framework 1.0 cung c cai t trn may tinh va ban khng inh cai t lai .NET Framework 2.0, ban phai sa cha .NET Framework 1.1 hoc .NET Framework 1.0. bit thm thng tin, hay xem phn "Sa cha .NET Framework" cua bai vit sau trong C s Kin thc Microsoft:
      824643 Cach khc phuc s c cai t Microsoft .NET Framework 1.1 trong Windows XP hoc trong Windows 2000
    4. Bm Bt u, bm Chay, go microsoft.net trong hp M, ri bm OK. Ni dung cua th muc Microsoft.NET xut hin trong Windows Explorer.
    5. Trong th muc Microsoft.NET, bm up vao th muc Framework.
    6. Trong th muc Framework, xoa th muc v2.0.50727.
    7. ong th muc Framework.
  3. Xoa thu cng cac khoa s ng ky lin quan:
    1. Bm Bt u, bm Chay, go regedit trong hp M, ri bm OK khi ng Registry Editor.
    2. Trong Registry Editor, xac inh vi tri ri xoa cac khoa s ng ky sau.

      Lu y Tuy theo tinh trang hin tai cua ban cai t .NET Framework, cac khoa s ng ky sau co th khng tn tai trn may tinh.
      • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v2.0.50727
      • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\policy\v2.0
    3. Thoat khoi Registry Editor.
  4. S dung Tin ich Windows Installer CleanUp (Msizap.exe) xoa thng tin Windows Installer khoi s ng ky. Cac cu phn (Msizap.exe) cua B Phat trin Phn mm Windows Installer c bao gm trong B Phat trin Phn mm (SDK) cua Microsoft Windows.

    Tp sau y co sn tai xung t Trung tm Tai xung cua Microsoft:
    Thu g?n h?nh ?nh nyBung r?ng h?nh ?nh ny
    Tai xung
    Tai xung goi Tin ich Windows Installer CleanUp (Msicuu2.exe) by gi.
    ? bi?t thm thng tin v? cch t?i xu?ng cc t?p h? tr? Microsoft, h?y b?m vao s? bi vi?t sau ? xem bi vi?t trong C s? Ki?n th?c Microsoft:
    119591 Cach tai cac tp h tr cua Microsoft t dich vu trc tuyn (Trang nay co th co bng ting Anh)
    Microsoft a quet vi-rut cho tp nay. Microsoft a s dung ph?n mm phat hin vi-rt cp nht nh?t s?n c t?i th?i i?m t?p ?c ng. Tp nay lu trn may chu c tng cng bao mt giup ngn chn moi thay i trai phep i vi tp.

    bit thm thng tin, hay bm vao s bai vit sau xem bai vit trong C s Kin thc Microsoft:
    290301 M ta v Tin ich Windows Installer CleanUp
    xoa thng tin Windows Installer khoi s ng ky, hay lam theo cac bc sau:
    1. Bm Bt u, bm Chay, go cmd trong M, ri bm OK.
    2. Tai du nhc lnh, xac inh vi tri th muc cha Tin ich Windows Installer CleanUp, ri chay lnh sau:
      Msizap TP {7131646D-CD3C-40F4-97B9-CD9E4E6262EF}
    3. Khi ng lai may tinh.
  5. Tt tt ca cac chng trinh chng vi-rut va tt ca cac chng trinh tng la ma ban a cai t trn may tinh. thc hin vic nay, hay s dung Tin ich Cu hinh H thng (Msconfig.exe) thc hin khi ng sach cho may tinh. Sau o, tt bt ky dich vu nao ma ban khng cn.

    Khi ban s dung Tin ich Cu hinh H thng trong ch chn oan, bt lai Dich vu Windows Installer trn tab Dich vu.

    khi ng Tin ich Cu hinh H thng, bm Bt u, bm Chay, go msconfig trong hp M, ri bm OK.
  6. Xoa ni dung cua th muc Temp:
    1. Bm Bt u, bm Chay, go %Temp% trong hp M, ri bm OK. Ni dung cua th muc Temp xut hin trong Windows Explorer.
    2. Trong th muc Temp, bm Chon Tt ca trn menu Sa.
    3. Trn menu Tp, bm Xoa.

      Lu y Xoa cac tp va th muc khoi th muc Temp nhiu nht co th.
  7. Cai t lai .NET Framework 2.0. tai Goi Microsoft .NET Framework Phin ban 2.0 Co th phn phi lai, hay truy cp Web site sau cua Microsoft:
    http://www.microsoft.com/en-us/download/details.aspx?id=6523
    Lu y Nu ban khng mun cai t lai .NET Framework 2.0, va .NET Framework 1.1 hoc .NET Framework 1.0 a c cai t trn may tinh, ban phai sa cha .NET Framework 1.1 hoc .NET Framework 1.0. Ban phai sa cha nhng ban cai t nay thay th tp Mscoree.dll va th muc URTTemp.

Tham kh?o

bit thm thng tin, hay truy nhp Web site Mang li Nha phat trin Microsoft (MSDN) sau:
Registry Editor
http://msdn.microsoft.com/vi-vn/library/x6kd89c5(vs.71).aspx

Windows Installer
http://msdn.microsoft.com/vi-vn/library/Aa372866.aspx

Cu hoi thng gp
http://msdn.microsoft.com/vi-vn/vstudio/aa496123

Phin ban, tinh tng thich va thc thi song song trong .NET Framework
http://msdn.microsoft.com/vi-vn/vstudio/aa497340.aspx
Chu y y la mt bai vit "XUT BAN NHANH" c tao trc tip t trong trung tm h tr cua Microsoft. Thng tin co trong tai liu nay c cung cp nhm tra li cac vn mi xut hin. Do vic cung cp nhanh chong, tai liu co th co li in n va co th c sa i bt ky luc nao ma khng cn thng bao. Hay xem iu khoan S dung xem xet thm.

Thu?c tnh

ID c?a bi: 908077 - L?n xem xt sau cng: 01 Thang Mi Mt 2012 - Xem xt l?i: 1.0
p d?ng
  • Microsoft .NET Framework 3.5
  • Microsoft .NET Framework 3.0
  • Microsoft .NET Framework 2.0, khi ?c dng v?i:
    • Microsoft Windows Server 2003, Enterprise x64 Edition
    • Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
    • Microsoft Windows Server 2003, Datacenter Edition for Itanium-Based Systems
    • Microsoft Windows Server 2003, Datacenter x64 Edition
    • Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
    • Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems
    • Microsoft Windows Server 2003, Standard Edition (32-bit x86)
    • Microsoft Windows Server 2003, Standard x64 Edition
    • Microsoft Windows 2000 Professional Edition
    • Microsoft Windows 2000 Server
    • Microsoft Windows 2000 Advanced Server
    • Microsoft Windows XP Professional
    • Microsoft Windows XP Home Edition
T? kha:
kbmsicuu2 kbresolve kbsweptvs2008 kbtshoot kbhowtomaster KB908077

Cung cp Phan hi

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com