Skip to Content

Creating An Add-On Registration Data (ARD) file in SAP B1

Dear All,

I have gone through several threads that points out a problem in creating the ARD File for your developed application. I would like to share some points and thoughts  that are as per my knowledge and experience, in creation of ARD File. Hope it will be helpful in some ways.

  1. Once you are done with your application (finished the code), try to build your application in ‘Debug’ and ‘x86’ or ‘Release’ and ‘x86’ Mode. This will facilitate your add-on to be compatible with both 32 and 64 bit system.
  2. Copy the output path of your application that will be something like this : C:\Users\ankit\Desktop\Add-On\Service_Contract\bin\x86\Release (If you have build your application in ‘Release & ‘x86′ Mode’) and C:\Users\ankit\Desktop\Add-On\Service_Contract\bin\x86\Debug(If you have build your application in ‘Debug& ‘x86′ Mode’)
  3. Open Microsoft Visual Studio, click New->Project->Select Visual Basic From Other Languages->Select B1AddOnInstallerNET1.Wizard (This option will be available when B1DE (Business One Development Environment) is installed in your system)  and click next.
  4. A wizard will appear enter the required detail like Add-On Name, Version, Installation time etc and click next.
  5. A wizard will open named as AddOn needed files. Click on ‘Application Exe File’ and paste the application outpath path you had copied in step 2.
  6. If your solution doesn’t contain DIAPI uncheck the Needs DIAPI checkbox. And Click ‘Finish’ button.
  7. Now your new project for generating ARD is developed automatically. It can be referred as ‘Add-On Installer’.
  8. This newly developed project should be compiled as ‘Release’ and ‘X86’.
  9. Open the output path (Bin Folder) of this newly developed project and paste all files in the Bin Folder of your application to this newly developed project’s Bin folder..
  10. Copy the address of output path (Bin Folder) of this newly developed project.
  11. Go to C:\Program Files\SAP\SAP Business One SDK\Tools\AddOnRegDataGen\AddOnRegDataGen.exe
  12. A wizard will appear, enter the required details such as Partner Info, Add-On Info.
  13. One important thing to note in Install Info section enter the EXE file your application, while in Uninstall Info section, enter the installer exe file.
  14. After entering all info, click on ‘Generate File’, if all goes well, your ARD File will be generated in the installer’s Bin Folder.

Hope I am not missing any point. But still if something is missing, please make me correct.

Hope it is helpful….

Thanks & Regards

Ankit Chauhan

You must be Logged on to comment or reply to a post.
  • Hi,

    point 1. Will not work if you are targeting sbo 9 64bit when 32 and 64 bit clients are present.

    and also,

    you can modify the B1DE installer template to target directly 32 or 64 bit.

    Having modified that, you can skip point 7 to 14.

    • Hi Edy Simon,

      Thank you Dear for your valuable comments. But Edy till now I am also using this approach and that's why I wrote that I am writing it with my own experience. I also haven't found any difficulty in add-on by using this approach (Till SAP 9.0 PL 07).

      Still I have a full faith in you. Can you please explain in detail ? Which point can create a problem or what am I doing anything wrong ?

      Thanks & Regards

      Ankit Chauhan

      • Hi

        Ankit i am problem...

        my client server  is  64  bit os ....

        My source code i was compiled at 64

        after making ard  again i had checked  advanced compile option  i made it 64  and build it again..

        but after intall add on manager  it is showing at platform...

        x86  is showing...

        Any information... i never face this issue.

        Any suggestions...plz inform me...

          • Hi. thanks for your reply..

            i am facing... at  64  bit os....

            that is my problem....

            x84  it is showing...

            if i select   x64  also   it is showing  x64......

          • Hi Srinivas,

            Generally What I do in normal practice, I compile my add-on on 64 bit system. In 'Release' and 'x86' or 'Debug' & 'x86' Mode.

            Then while making installer go to Project Properties->Advanced Compile Option->Select Platform as 'x86'.

            Then I create an ARD. Which runs on both 64 bit system and 32 bit system. And never faced such issue.

            Hope it helps.

            Thanks & Regards

            Ankit Chauhan

  • Hi Ankit Chauhan ,

    I did the same way you said but when i build my program with release x86 , the files are not creating into bin\x86\release, its creating into a new folder named obj\x86\release.

    And so i am finding it difficult which of these to copy and finally make an exe file and give it to the client.

    Help me solving this issue.



  • Hi guys,

    Nice post you have going on here.

    Could someone please clarify if, on their 64-Bit SBO 9.0, their commandline returns the path to the normal AddOnInstallAPI.dll or the 64-bit one (AddOnInstallAPI_x64.dll) ?

    I believe this is the reason why my installer does not register my addon correctly on an SBO 9.0 64-Bit system.

    Maybe someone has an idea?

    Fyi, i can confirm my addon is compatible with 64-bit SBO 9.0 because the binaries run fine.