Plugin installer not finishing?

I create a plugin installer as Name.rhi and it runs. It puts the plugin directory under “C:\Program Files\Common Files\McNeel\Rhinoceros\6.0\Plug-ins”. When I open Rhino, a window pops up saying

Loading - Name.rhp
Error loading - Name.rhp

No other info…

If I then use the PlugInManager and install it by navigating to the above directory and selecting the rhp file, then everything works fine. So I know I’m building the library correctly, but maybe I’m doing something wrong with the installer.

Following this guide, I place the rhp and the accompanying dll in a folder structure as follows:

 ├── Rhino 6/
 │   ├── Name.rhp
 │   └── NameLib.dll

Then I zip the Name directory and rename it from to Name.rhi.

Well, I uninstalled rhino completely and reinstalled it…and now it works fine.