TwoCanPlugIn/TwoCanPluginDrivers

Get NSIS to package the driver files and install to TwoCan_PI\Drivers

Closed this issue · 1 comments

Copy Drivers: axiomtek.dll, cantact.dll, filedevice.dll or kvaser.dll
..\TwoCanPluginDrivers\build\Axiomtek\Release\axiomtek.dll
..\TwoCanPluginDrivers\build\Cantact\Release\cantact.dll
..\TwoCanPluginDrivers\build\FileDevice\Release\filedevice.dll
..\TwoCanPluginDrivers\build\Kvaser\Release\kvaser.dll
Copy to C:\Program Files\OpenCPN\PlugIns\TwoCan_PI\Drivers

Logs (How are these used and where should they go?)
..\TwoCanPluginDrivers\build\CanDumpLog\Release\candumplog.dll
..\TwoCanPluginDrivers\build\KeesLog\Release\keeslog.dll
..\TwoCanPluginDrivers\build\YachtDeviceslog\Release\yachtdevices.dll <---yachtdeviceslog.dll?

For Windows installation, we decided to build the drivers here and then copy them to data/drivers in the twocan_pi plugin.

And similar for the the sample log files which get put in data/sample

Provided these files are located in the twocan_pi repository under the "data" directory, NSIS will include them in the packaging for Windows. Plugin initialization will need to copy the sample log files out to a writable directory (My Documents)