02-20-2013 07:05 PM
Hey Michael,
That is a good answer and helpful, but I'm still having troubles. I've downloaded the free version of Protection PLUS (before shelling out $350 for a license) and generated a key using the example here: https://decibel.ni.com/content/docs/DOC-13906. Now I have a .lf file that just has "password" as the password.
Next, go to VIPM Pro, add the library to be protected and the .lf created above, and click "Bind License to library at build time." The "License file password" is "password", and the Activation Method and Library Protection are as in the video.
VIPM builds and installs with no errors. When restarting Labview, there is no indication that the add-on registered, and when adding VIs from the custom palette, there is no restriction to the block diagram on the ones that should be protected.
I'm missing something and it is really frustrating!
I appriciate all the help y'all have given so far and will keep at it.
Austin
02-20-2013 07:21 PM
Sorry you're having problems.
What version of LabVIEW are you using?
A few things:
If you want, you can contact VIPM support offline and I can walk you through the process together.
02-20-2013 08:00 PM
Hey Michael,
Labview 2012, and in response to the bullet points:
Reckon we can hash out these issues here if folks don't mind. Maybe it will help out some others since VIPM might be getting pretty popular these days
Thanks,
Austin
02-20-2013 09:35 PM
What I meant by taking it offline, was that we could connect with join.me or other remote software and I could do a one on one with you. It would speed up the resolution and then report back here with findings. Still offering this if you want.
Another thought: Make sure the LF file and LVLIB is indeed located on disk at the path you specified in the Licensing & Activation page of VIPM. There's a reported bug which we're fixing where VIPM does not report an error if the paths specified in those fields point to nonexisting files during build.
02-20-2013 09:46 PM
Sure, let's setup a time remote desktop or share screens and I can write up the results afterwards. I'll email JKI support and we can go from there.
The files both definately exist.
Hold on folks, answer is coming up soon!
Austin
02-21-2013 08:54 AM
I'd be interested if you guys find anything interesting in your debugging session. Here are a few things to consider:
1) Which version of Windows are you using? If Windows XP, we've seen some issues with XP pre-SP1 with licensing due to the signature of the licensing DLL not being recognized as valid in the older OS. There is a workaround I can dig up if you can't upgrade to XP SP1 or later and you think this applies.
2) If Windows Vista or later, keep in mind problems with UAC Licensing for a toolkit writes registry entries and requires administrative rights during installation (when RegisterAddon.exe is called).
I'm away from my office most of the day today, but I'll try to check in with the progress periodically if the community can't come to the rescue. Thanks to Michael and Jack for the extra help here!
David
02-21-2013 09:44 AM
Issue 1 that David refers to has to do with the certificate store or root certificates being out of date on an older XP system - there is a regular update distributed to update the list of trusted authorities and we encountered an older system where the service used to digitally sign the Protection Plus DLLs was not a trusted authority. You can confirm this by looking at the properties of the Protection Plus DLLs for the signature status:
The status under 'Digital Signature Information' will not indicate the "The digital signature is OK." when the signature cannot be confirmed. The reason this affects the license mechanism in LabVIEW is we ignore the DLL calls and the licensing mechanism is halted to protect licensed code on machines where the we believe a person is attempting to hack the licensing scheme by tampering with the DLLs.
I found a somewhat recent update for XP Root Certificates from Microsoft here:
http://www.microsoft.com/en-us/download/details.aspx?id=35945
02-21-2013 10:05 AM
This is all under Windows 7 x64. There is a custom DLL that is included in the project Labview has been ok with it every step of the way so far.
I'll also be out of the office today, but hopefully tomorrow Michael and I can figure it out. Probably something stupidly minor on my end. Will let y'all know.
02-22-2013 04:57 PM
So Austin and I spent an hour and half debugging this issue and have found the problem.
It turns out that there is a certain configuration that VIPM dynamic license binding doesn't like. Specifically:
When we removed the comma and set a target destination for the VIs to be a directory instead of an LLB. Everything worked as indicated in the video I posted here.
I'm investigating this to find the source of the problem and hopefully fix it in the next release of VIPM.
Thanks to Austin for allowing me to help and being so patient with this.
Edit-Follow up:
02-22-2013 05:54 PM
Hey Michael,
I had another issues later on, but solved it by deleting the license file from the C:\ProgramData\National Instruments\Partners directory to fix the issue.
Austin