Calling regasm without administrative rights for COM interop in Excel VBA -
a workaround calling regasm without admin rights described here already:
i'm trying create com library users can deploy , use excel vba without admin privileges. liked regasm workaround, since seems people don't have success using registration-free com objects excel vba. want binding users can benefit syntax completion.
the accepted answer in question mentioned above, however, doesn't describe put assembly dll on user's computer. admin rights required install assembly in gac, i'm wondering 1 can put dll file. presume application's dir being searched referenced dlls, can't put dll in excel's dir without admin rights again. possible use workaround excel client? there other way call com objects vba without need of admin privileges deploy them first?
calling regasm without administrative rights com interop
i think should possible use registrationservices.registerassembly
, regoverridepredefkey
apis implement automatic registration under hkcu
hive, in uac-friendly way. i've posted more detailed answer here.
Comments
Post a Comment