|
07/02/2007, 11:14 PM
#156
 Originally Posted by wowthatisrandom
zbop,
i have created a small script and have attached the cab installer below. i am trying to add a today plugin following your examples, and have been unsucccessful. i had hannip look at it and he says it looks like i have done everythign correctly. if you could take a look and hopefully figure out what i did wrong i would be greatful.
thanks so much
jason
So two things I found. One, the plugin name in the registry key must be the same as the DLL name. There's a long explanation to this, but I'll spare you , they just have to match. There was a note in the instructions above to that effect.
To fix this, I did the following:
- renamed your DLL to "\Program Files\Wow\Vibrate\Wow Vibrate.dll"
- modified the following line in your install script,
RegWriteString("HKLM", KEY, "DLL", "\Program Files\WoW\Vibrate\Wow Vibrate.dll" )
The second thing I did, which I didn't have in the instructions, is that the Line1 parameter must be set to something/anything when the plugin is loaded, otherwise it will skip that Item. So I added this line to your install script:
RegWriteString( "HKLM", ITEM, "Line1", "test" )
And then it loaded fine. I didn't actually go as far to test it, but it brought up the options when I tapped on your plugin, so it looks good
|
|
|