Enterprise Resource Planning Blogs by Members
Gain new perspectives and knowledge about enterprise resource planning in blog posts from community members. Share your own comments and ERP insights today!
cancel
Showing results for 
Search instead for 
Did you mean: 
ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert

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

12 Comments
Labels in this area