{"id":3721,"date":"2015-12-18T20:00:23","date_gmt":"2015-12-18T19:00:23","guid":{"rendered":"http:\/\/www.samlogic.net\/blog\/?p=3721"},"modified":"2019-07-07T18:29:48","modified_gmt":"2019-07-07T18:29:48","slug":"easier-to-register-a-type-library-for-a-net-assembly-in-visual-installer","status":"publish","type":"post","link":"https:\/\/www.samlogic.net\/blog\/2015\/12\/easier-to-register-a-type-library-for-a-net-assembly-in-visual-installer\/","title":{"rendered":"Easier to register a type library for a .NET assembly (in Visual Installer)"},"content":{"rendered":"<p>In the previous version of <a href=\"https:\/\/www.samlogic.net\/visual-installer\/visual-installer.htm\" target=\"_blank\" rel=\"noopener noreferrer\">Visual Installer<\/a> we added a function that makes it possible to <a href=\"https:\/\/www.samlogic.net\/blog\/2014\/05\/visual-installer-how-to-register-a-net-assembly\/\">register<\/a> a <strong>.NET assembly<\/strong>. In Visual Installer 2015 (version 10.5.5 and newer) we have extended this functionality so you also can create and register a type library for the .NET assembly.<\/p>\n<p>We have added a new <strong>\/tlb<\/strong> option to the <strong>Register .NET Assembly<\/strong> dialog box. You can see the new option to the right in the <strong>Parameters<\/strong> frame in the screen dump below:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.samlogic.net\/blog\/images\/product-visual-installer\/visual-installer-register-net-assembly--tlb.png\" border=\"0\" alt=\"\"><\/p>\n<p>If you select this option, a type library will be created in the same folder as the .NET assembly. The type library will have the same filename as the assembly (the .DLL file), but with a <strong>.TLB<\/strong> filename extension. For example, if the filename of the DLL is <strong>MyFile.DLL<\/strong>, the filename of the type library will be <strong>MyFile.TLB<\/strong>.<\/p>\n<p>The type library will be automatically registered after creation.<\/p>\n<p><strong>See also<\/strong><br \/>\n<strong><span style=\"color: #ff0000;\">&gt;<\/span><\/strong> <a href=\"https:\/\/www.samlogic.net\/visual-installer\/tips\/tips-pages\/register-net-assembly\/register-net-assembly.htm\">Tip: How to register a .NET assembly<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the previous version of Visual Installer we added a function that makes it possible to register a .NET assembly. In Visual Installer 2015 (version 10.5.5 and newer) we have extended this functionality so you also can create and register a type library for the .NET assembly. We have added a new \/tlb option to &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.samlogic.net\/blog\/2015\/12\/easier-to-register-a-type-library-for-a-net-assembly-in-visual-installer\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Easier to register a type library for a .NET assembly (in Visual Installer)&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[10],"tags":[],"_links":{"self":[{"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/posts\/3721"}],"collection":[{"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/comments?post=3721"}],"version-history":[{"count":1,"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/posts\/3721\/revisions"}],"predecessor-version":[{"id":6060,"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/posts\/3721\/revisions\/6060"}],"wp:attachment":[{"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/media?parent=3721"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/categories?post=3721"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/tags?post=3721"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}