Addin Registration error

Hello All,

I have created an addin in visual studio 2008. When I run the addin from visual studio it works perfectly but when i try to register the addin manually using regasm.exe it shows error as "Unable to locate input assembly or one of its dependencies". I am opening command prompt through 'Run as administarator' but still this error is there.

When i check the dependencies using Dependency Walker i find error in two dlls "IEFRAME.dll" and "SHLWAPI.dll". But I dunno how to resolve it.

Please help.

Thank you

SolidworksApi macros