SLP Code Protector Discussion For conversations regarding usage of Code Protector and issues pertaining to SVM protected code.
InishTech Support Forums > SLP Code Protector Discussion > there has been a problem installing the license Login to add this as a favourite.
User avatar
Member
Member
Ennair - 8/6/2010 8:40:57 PM
   
there has been a problem installing the license

Hi

I have started getting this message which I didn't used to get before when I try to activate the license.

There has been a problem installing the license!!

Any suggestions will be very much appreciated.

E


User avatar
InishTech Dev
InishTech Dev
josullivan - 8/9/2010 12:54:29 PM
   
RE:there has been a problem installing the license

Ennair

This suggests there may have been an issue with the installation of the SLP Runtime components, with the result that the subsequent activation process is unable to install the license.

As a first step you should refer to the following KB article (http://support.inishtech.com/KB7) on how to ensure the SLP Runtime components are correctly installed.

--John


User avatar
Member
Member
Ennair - 8/10/2010 11:22:36 AM
   
RE:there has been a problem installing the license

Hi

I am trying to follow the link you sent out. I can't find these properties mentioned below in Visual Studio!

Add a call to the .NET Managed Installer class from your installer:

  1. Visual Studio Deployment Projects (.vdproj projects) have a Custom Action option - simply tell it to run the Installer during the "Install" phase. Add "Primary Output from YourApp.exe" to the "Install" step, and set the InstallerClass property to True

 

Is this also required for deplyment of SLP protected files? Because it works on the machine where I installed your software, but when I deploy to other machines, my program doesn't run!

 


User avatar
InishTech Dev
InishTech Dev
josullivan - 8/10/2010 4:06:01 PM
   
RE:there has been a problem installing the license

For any SLP protected assembly to run on a machine you must install the Runtime components on that machine, using the process outlined in the KB article (http://support.inishtech.com/KB7) referenced in the earlier post.

[The reason the protection/licensing works on your dev machine (and not on other machines) is that the correct runtime components are already correctly installed if Code Protector is installed on the dev machine.]

Depending on your installation preferences, there are several options for invoking the custom installer class,one of which is to use Visual Studio Deployment/Setup Project.

If you wish to take that option, then, while the KB does not call this out explicitly, the first step is to add a Deployment or Setup Project to your solution. To do this, add a new project to the solution and choose the Setup Project template.

Once added, the setup project opens in File System view. Select the Application Folder, right-click in the right-hand side pane and choose Add Project Output.

Then Select Primary Output for your application project (that contains the installer class) which will add the exe or dll file to the installation folder.

To add the Custom Action to the installer, make sure the setup project is selected in Solution Explorer and select the Custom Actions Editor from the Explorer toolbar.

Then to add the custom action to the Install step, in the Custom Actions view select the Install directory, right click and select Add Custom Action, and then select the Project Output from the Application folder.

Then just build the setup project to get your MSI, which you then run on your target test machine.

--John


User avatar
Member
Member
Ennair - 8/12/2010 8:15:51 AM
   
RE:there has been a problem installing the license

Hi

I have followed the process outlined in KB7, but I am now getting the following error when I run my application on a test machine.

'Cryptographic services failed while processing the OnIdentity call in the system writer object.'

Any suggestions?


User avatar
InishTech Dev
InishTech Dev
josullivan - 8/12/2010 11:08:01 AM
   
RE:there has been a problem installing the license

So we can investigate this further can you please send the slps log file from the test machine to support@inishtech.com?

Please see FAQ107 on how to locate the log file.


1

11 user(s) on-line: 0 registered and 11 guest(s)

  • Sticky
  • Locked sticky
  • Hot sticky
  • Hot locked sticky
  • Thread
  • Hot thread
  • Locked thread