cancel
Showing results for 
Search instead for 
Did you mean: 

How to import a addon into SBO

Former Member
0 Kudos

Hello everyone,


I intend to learn how to import a add-on into SBO


Here is the steps I took up below

1.use vs2013 to build up the exe file of the sample code SimpleForm

2.use AddOnRegDataGen to build up the ard file

3.use the function in SBO to register add-on

Administration -> Add-Ons -> Add-On Administration

unfortunately it doesn't work, Was something wrong?

Please find out the attachment to see the situation

Best regards,

John Lee

Accepted Solutions (1)

Accepted Solutions (1)

pedro_magueija
Active Contributor
0 Kudos

Hi John,

Old style installers have to be handwritten. The ARD only describes the registration, you have to create the installer by hand (there is a sample on how to do this in the samples directory).

However, that sort of installer is being replaced with the new generation installer, that you can find in the Tools directory of the SDK.

Just fill the information in and when finished press "Package".

This will generate a zip file that can be imported using the Lightweight Deployment:

Good luck.


Best regards,

Pedro Magueija


View Pedro Magueija's profile on LinkedIn

Former Member
0 Kudos

Hello Pedro,


I have tried the two methods you applied me, They got a same error:

Failed to write local registration file for add-on

do you know why?

Best regards,

John Lee

ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi John,

Can you please check which SAP Business One client you are using? Is it a 32 bit client or 64?

Kind regards,

ANKIT CHAUHAN

SAP Business One Global Support

former_member185682
Active Contributor
0 Kudos

Hi Pedro,

I usually use inno setup to create an installer, but this way sounds like great. I have tested and works fine. Thanks for this information.


Best regards,

Diego Lother


View Diego Lother's profile on LinkedIn

Former Member
0 Kudos

Hi Ankit,


I am using the 64 bit client.


best regards,

John Li

pedro_magueija
Active Contributor
0 Kudos

Hi Diego,

You're welcome. On a side note, it is possible to use that tool on the command line together with some XML metadata. You can have a build server such as Teamcity or TFS build the installer right after making a commit to the VCS.

Cheers.


Best regards,

Pedro Magueija


View Pedro Magueija's profile on LinkedIn

ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi John,

Then create your add-on compatible to 64 Bit Client. You need to create add-on with the Flag x64 while you are using x86.

Error 'Continue working without this add-on' occurs because your add-on is not compatible to Business One Client. Refer to Add-on Compatibility Guide for the same.

Hope it helps.

Kind regards,

ANKIT CHAUHAN

SAP Business One Global Support

edy_simon
Active Contributor
0 Kudos

Hi John,


I have tried the two methods you applied me, They got a same error:

Failed to write local registration file for add-on

Can you make sure you have authorization to write on your  SAP Business One folder ?

This by default is C:\Program Files (x86)\SAP Business One or C:\Program Files\SAP Business One

And also, make sure you ran your SAP Business One with the elevated 'Run as Administrator'

Regards

Edy

Former Member
0 Kudos

Hi Edy,

Yes, I have made sure what you said, but still can not solve the problem!

Best regards,

John Lee

edy_simon
Active Contributor
0 Kudos

Hi John,

Under the SBO folder, there is a file named

AddOnsLocalRegistration.sbo

Can you try to manually make changes on it and save it both on Program Files and Program Files(x86) ?

Also, try to delete the file, maybe it is corrupted (please back up the file first).

Regards

Edy

Former Member
0 Kudos

Hi Ankit,

That's right, you have solved my problem. Thank you so much!

Best Regards,

John Lee

Former Member
0 Kudos

Hi Pedro,

Your information help me learn more about how to use the SBO add-on, and I am so happy to solve my problem finally. thanks again!

Best regard,

John Lee

Answers (1)

Answers (1)

former_member241304
Active Participant
0 Kudos

Hi John lee,

Also select the Install as a part of registration, after that you will get the Window ->Click on next -> next -> Finish. then Update the Add -on registration window. now check the add-on is working or not.

Regards,

P.Pallavi

Former Member
0 Kudos

Hello Pallavi,

I have no idea with your opinion, can you send me some picture to explain more about it.

Best Regards,


John Lee

former_member241304
Active Participant
0 Kudos

Hi John lee,

After creating the Add-on,we will register add-on in SAP B1.

After click->ok

wait for 2 mints you will get a window for addon installation ->click next->click next->last click finish,then update add-on administration screen.

Former Member
0 Kudos

Hello Pallavi,


I have tried the method you applied me, I got an  error before the window for add-on installation appear:

Failed to write local registration file for add-on

do you know why?

Best regards,

John Lee