Atalasoft
Welcome to Atalasoft Community Sign in | Join | Help
in

installing released software on client's machine

Last post 07 Aug 2008, 1:24 PM by david.c. 9 replies.
Sort Posts: Previous Next
  •  16 Feb 2005, 2:15 PM 6552

    installing released software on client's machine

    Hello

    I've got the problem with running my application on customer's machine. My company bought a license for Atalasoft DotImage and now I'm programiing an appliaction using AtalaImage objects and some filters and effects commands. In references of the VS project I added dotImage.dll and generated licenses.licx file in project directory, just like it is described in manual (of course I had problem because there is case-sensitive mistake in manual and first I entered Atalasoft.DotImage instead Atalasoft.dotImage ;-)
    In deployment project I'm adding atalaimaging.dll so it is installed into application folder. I also tried with winnt/system32.
    Now I'm running my application on another machine (customer's machine), where the application will be used and this is the message I get:

    System.ComponentModel.LicenseException: A license key could not be found at the location 'C:\Program Files\MyApplication\atalasoft.dotimage.lic'. Please purchase a license from www.atalasoft.com or request an evaluation key.

    Why? If I copy atalasoft.dotimage.lic into application folder(customer's machine) from GAC folder(my developer's machine), I've got message that MachineID is wrong and of course - it is wrong, because application runs on another machine! And the application should be working with run-time free license, not payed developers license from SDK!

    Am I right?
    What is wrong with it?

    Greetings
    Marcin Paluch
  •  16 Feb 2005, 2:31 PM 6553 in reply to 6552

    RE: installing released software on client's machine

    The problem does sound like the license isn't being embedded into the Are you compiling an EXE or a DLL? Are you using just the Atalasoft.dotImage class library? What other Atalasoft assemblies are you referencing besides Atalasoft.dotImage.dll. If you are using any of the GUI Viewers, then you can drop a viewer onto your form and it will create the licenses.licx file for you, and embed the license properly. Of course, if you are only referencing the DotImage class library, the instructions you followed (with the case correction) should work fine as well.
    Bill Bither
    Atalasoft
  •  16 Feb 2005, 2:53 PM 6554 in reply to 6552

    RE: installing released software on client's machine

    The problem does sound like the license isn't being embedded into the Are you compiling an EXE or a DLL? Are you using just the Atalasoft.dotImage class library? What other Atalasoft assemblies are you referencing besides Atalasoft.dotImage.dll. If you are using any of the GUI Viewers, then you can drop a viewer onto your form and it will create the licenses.licx file for you, and embed the license properly. Of course, if you are only referencing the DotImage class library, the instructions you followed (with the case correction) should work fine as well.

    I'm compiling a class library project (DLL), using only dotImage.dll and this project is referenced into the main application (EXE). I tried dropping imageviewer and deleting it - it makes no difference. My licenses.lcix is created properly, I tried with two entries:

    Atalasoft.Imaging.AtalaImage, Atalasoft.dotImage

    and

    Atalasoft.Imaging.AtalaImage, Atalasoft.dotImage, Version=xxx, Culture=neutral, PublicKeyToken=yyy

    where xxx and yyy are values copied from similar entry auto-generated while I'm dropping (ie.) imageviewer onto form.

    No difference.

    mp
  •  16 Feb 2005, 3:00 PM 6555 in reply to 6552

    RE: installing released software on client's machine

    The problem here is that you are compiling a class library (DLL) that uses DotImage.  The license files cannot be embedded into a DLL project.  Instead you will need to use that licenses.licx file in each EXE that references your dll.  This is taken out of the help topic Compilling DotImage with a License:

    Embedded Component Licensing

    In order to reference DotImage in another component or dll, each developer that uses the dll in their executable application is required to obtain a DotImage SDK license.  A license.licx file must be manually created, or automatically created by dropping a DotImage control onto a form, then deleting it.  This will allow Visual Studio to link to the license file and embed it into the EXE's resource.
    This procedure can be followed when compiling an EXE application referencing a custom library that references DotImage.
    1. Ensure that the DotImage SDK is installed and registered on the developer's machine.
    2. Add a reference to DotImage if one does not already exist.
    3. Force Visual Studio to create a licenses.licx file by dropping a WorkspaceViewer or related control onto a form, then deleting it.  Alternatively, this licenses.licx file can be manually created.
    4. Rebuild the solution to force Visual Studio to embed the license files into the application's resource.
     
    Bill Bither
    Atalasoft
  •  21 Feb 2005, 11:53 AM 6556 in reply to 6552

    RE: installing released software on client's machine

    I tried to do just like you said and I placed license.licx in EXE project and removed it from DLL project. The message during running is the same: I have no atalasof.dotimage.lic file in application folder....

    I have no idea what could be wrong yet. Maybe that one of our employee had installed evaluation version long time ago and after few months we activated our bought license and OS in some way remember some settings... I don't know...

    regards
    Marcin Paluch
  •  21 Feb 2005, 2:38 PM 6557 in reply to 6552

    RE: installing released software on client's machine

    I found the reason and it's not explained in manual clearly (in my opinion;)

    Class Library project (DLL) generates licenses.licx file (or I have to create it by myself BUT I have to add it as existing item to the Windows Form project (EXE using the DLL as reference) from DLL directory and then compile. I noticed that EXE project having itself AtalaImage objects has also it's own licenses.licx file and I cannot do it for DLL project (file licenses.licx doesn't appear in project files tree. It didn't work before because I added DLL's licenses.licx file physically to the EXE's project directory....

    Now I understand ;-)

    Best regards
    Marcin Paluch
  •  11 Apr 2008, 2:54 AM 13669 in reply to 6555

    Re: RE: installing released software on client's machine

    I'm going to run into this problem as well and I can't create an exe to contain the license.  I'm creating an addon/plugin/extension (however you prefer to refer to it) for ArcMap which requires building a dll which then is plugged into the ArcMap toolbars. 

    What do you recommend client installation wise for these type of situations?

  •  03 Jul 2008, 9:48 PM 14752 in reply to 13669

    Re: RE: installing released software on client's machine

    I'm just wondering if anyone has discovered a workaround with the licencing issue when dealing with Microsoft's Add In model? We have appropriate licences for a whole bunch of Atalasoft components, however since Add In's operate within their own separate app domain, the Atalasoft licence check fails to recognise the embedded licence.

     To prove this issue I compiled one of our addins (which includes the Atalasoft.Imaging.WinControls.ImageViewer) as a standalone executable, and running it directly respects the embedded licence. When the same assembly is called into from the AddIn framework Atalasoft explicitly ignores the embedded licence.

     I note that the previous post on this issue is almost 3 months old and has received no response, however surely as extensible technologies continue to increase in popularity it is an issue which must be addressed at some stage?

    Regards,

    David K

  •  03 Jul 2008, 10:38 PM 14753 in reply to 14752

    Re: RE: installing released software on client's machine

    We've just received a response from our formal support request, so hopefully with the 'special licence' we'll be up and running.

     

    David

  •  07 Aug 2008, 1:24 PM 15184 in reply to 14753

    Re: RE: installing released software on client's machine

    Hi, I got the same problem !!

     

    Must create a COM dll with Atalasoft DotImage Component, this COM component MUST loaded by an .EXE.

     I was impossible to make it works on a PC without developper licence !!! tried to generate licence with licenses.licx file, tried all the tip on the forum etc...

     What is this 'special licence'  you are talking about dotnetdave please ??

     

    Best Regards

    Conseil David

     

View as RSS news feed in XML