Installing on customer PCs

Posted by: peter on 27 December 2019, 12:23 pm EST

    • Post Options:
    • Link

    Posted 27 December 2019, 12:23 pm EST - Updated 30 September 2022, 8:22 am EST

    I’m using VB.net 2017 with AR13 and installing on user PCs using Sam Logic’s Visual Installer 2018.

    I install the GrapeCity DLLs in the PC’s Windows folder using a Visual Installer variable (%SYSDIR%) but when running the application it fails when trying to access any of the AR stuff. When I move all the GrapeCity DLL files into the same folder as my EXE, it works fine.

    The installer program is set to registered the DLLs.

    Am I missing something?

  • Posted 29 December 2019, 9:08 pm EST

    Hello Peter,

    In my understanding, you need to register the dll in the following location as AR looked to the following location for dlls:

    1: GAC folder

    2: C:\Program Files (x86)\Common Files\GrapeCity\ActiveReports 13

    Hope it helps.

    Thanks,

    Mohit

  • Posted 3 January 2020, 11:33 am EST - Updated 30 September 2022, 8:22 am EST

    Tried that - same problem. Screen shots below showing the folders as installed, and error message in detail.

  • Posted 5 January 2020, 10:16 pm EST

    Hello Peter,

    Have you registered them to GAC also? Also, could you please explain

    1: the workflow of your installer

    2: Why do you want to install the AR on the customer PC?

    3: If you are distributing your application to your customer, then it is ideal to place all your dll at the same place of your exe.

    4: Also, please check the location of dll in your exe.

    Thanks,

    Mohit

  • Posted 7 January 2020, 7:08 am EST

    Thanks.

    I haven’t tried the GAC folder - I’ll try when I get back to my desk in a week. To answer your other questions…

    1. I’m not sure what the installer workflow is -it’s a fairly simple VB.net installer from SamLogic https://www.samlogic.net/visual-installer/visual-installer.htm.

    2. I only need to load the GrapeCity DLLs so my customers can view the reports in my VB.net application. Doesn’t this require having the GrapeCity DLLs on the customer’s PC or can I embed them in my EXE?

    3. Not sure what you mean by “please check the location of dll in your exe” - can you please clarify.

    Peter

  • Posted 9 January 2020, 10:19 pm EST

    Hello,

    Doesn’t this require having the GrapeCity DLLs on the customer’s PC or can I embed them in my EXE?

    Yes, It is required to have GrapeCity DLLs on the customer’s PC to run your EXE.

    • can you please clarify.

      I meant the path of dll which you are provided while making the application.

    Could you please check with GAC. If the issue still exists, please let me know.

    Thanks,

    Mohit

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels