Hi
With your tip, I found a plugin called YARS, and was able to tweak it a bit, and get it to compile. Once I added the proper regsitry entries, I can run MC and my plugin displays a msgbox from within MC so I know that MC is successfully loading the plugin. Perfect!
So I remove the reg entries and built up a MJP file, but I always get a "Invalid Package File. Cannot continue" error when I dbl click the MJP to load it.
Here's the MJP
[Package]
Name=JRiverAssistantService
xxAction=UNZIPDIR
xxURL=file://C:/Dev/Darin/JRiverAssistantBridge/JRiverAssistantService/bin/Debug/JRiverAssistantService.zip
Action=NONE
Version=0.0.1
URL=JRiverAssistantService.dll
[Action]
File1=JRiverAssistantService.dll
File1Action1=COPY_PLUGINDIR
File1Action2=REGISTER
File2=JRiverAssistantService.dll.config
File2Action1=COPY_PLUGINDIR
File3=JRiverAssistantService.tlb
File3Action1=COPY_PLUGINDIR
As you can see, I've tried both with Action=None (and the MJP zipped into the zip) as well and Action=Unzip, with the URL pointed to the FILE: url of the zip file.
Here's the registry entries I'm using:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\JRiver\Media Center 29\Plugins\Interface\JRiverAssistantService]
"IVersion"=dword:00000001
"Company"="drVenture And Associates"
"Version"="0.0.1.0"
"URL"="www.yahoo.com"
"Copyright"="Copyright c 2022 drVenture and Associates"
"PluginMode"=dword:00000001
"ProdID"="JRiverAssistantService"
"Directory"="c:\\Program files\\J River\\Media Center 29\\Plugins"
"Path"="[Install Path]Plugins\JRiverAssistantService.dll"
It seems like my plugin dll is correct (because MC is loading it), so I suspect I'm just missing a step somewhere with the MJP file.
Any idea?
Many thanks
Darin