`tlbregister` registers with exact path instead of relative path
mgaffigan opened this issue · 4 comments
mgaffigan commented
Hello! Thank you for publishing such a useful project. It was a pleasure to find and easy to get started. As a minor nit, one of the "tripping points" I experienced was that unlike regasm
, dscom tlbregister
does not expand the path provided to be a full path.
Actual behavior:
PS C:\path\to\project> dscom tlbregister foo.tlb
Type library was registered successfully
PS C:\path\to\project> (Get-ItemProperty 'hklm:Software\Classes\TypeLib\{F50810FE-4FA5-3CFF-9523-530867891B55}\1.0\0\win64')."(default)"
foo.tlb
Expected behavior:
PS C:\path\to\project> dscom tlbregister foo.tlb
Type library was registered successfully
PS C:\path\to\project> (Get-ItemProperty 'hklm:Software\Classes\TypeLib\{F50810FE-4FA5-3CFF-9523-530867891B55}\1.0\0\win64')."(default)"
C:\path\to\project\foo.tlb
If you prefer a PR, let me know.
marklechtermann commented
Many thanks for your feedback.
I think we can fix that quickly and easily.
marklechtermann commented
@mgaffigan you are welcome to reopen this issue if you have problems with the bugfix.
mgaffigan commented
Just tested. Worked perfect. Thanks again.