views:

1456

answers:

2

Visual Studio registry capture utility has stopped working....

Windows 7 Shows build error like below everytime I compile my project.

+6  A: 

From Microsoft Connect:

  1. Locate regcap.exe here: C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools\Deployment
  2. Right click and select properties.
  3. Select Compatibility tab
  4. Check box to Run this program in compatibility mode.
  5. Select Windows Vista SP2 in the OS drop-down and Run as Administrator.
  6. Click Ok and Recompile.
Nick Craver
This also works for 64 bit Windows 7 with VS 2010. The path for regcap is C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\Deployment
Guge
@Guge: Lucky you- not working for me in VS2010 on 64bit Win7 :-(
DilbertDave
@DilbertDave: Which part doesn't work for you? Have you completed all 6 steps in the answer and still got the error message?
Guge
@Guge: Senior moment here, VS2008 (running as Administrator) not VS2010. Above fix does not work for VS2008.
DilbertDave
this is no more working. it was working OK but now my Win7 machine gives "WARNING: Unable to create registration information for file named xx.ocx"
Tom
A: 

Sorry. C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\Deployment\regcap.exe Exist.

Problem nothing.

Thank you.

PAO
PAO: your answer was deleted for a reason. Stop posting here and go read the FAQ (http://stackoverflow.com/faq/).
John Saunders