cancel
Showing results for 
Search instead for 
Did you mean: 

Add-On Installation Error

Former Member
0 Kudos

Hi

We're having some trouble installing an Add-On just in some machines (like 3 of N!) the errors we get during installation are:

CustomerLibrary

Error during AddOn installation Index was outside the bounds of the array.

then the next message shows

CustomerLibrary

Error (-2) at EndInstallEx(False) at end of the AddOn installation

any help would be very useful

Regards,

Juan Arias

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Juan,

If last link doesn't work. here is the solution.

The solution that worked was to change the registry access in the SubMain.vb (add-on installer project) and CustomInstallerClass.vb (CustomerLibrary project) to use Registry.LocalMachine instead of Registry.CurrentUser

I hope it works.

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Juan Camilo look at this thread

[|]

They have just what you need...

I hope it helps you...

Former Member
0 Kudos

Hi,

The problem should not be at string connection, because Add-On have not started yet at this point (We tried setting more time in ard file, but the error persists). could anybody explain what kind of problem could appear in CustomerLibrary??? Problem could be there....

Thanks

Former Member
0 Kudos

Mahendra Thank you,

but the problem seems to be with the installer, not with the Add-On connection.

regards

Juan Arias

Former Member
0 Kudos

Hi,

It depends on how you build your connection.

The code I use; you need to open properties of your project in Visual Studio and in tab Debug you need to place the connection string as mention earlier.

If you have a problem with the installer it could be the time set in the installer; increase the time

Rune

Former Member
0 Kudos

Hi Rune,

I'm having the same problem. I built my conncection string as you mentioned.

What do you refer when you said to increase the time set in the installer?

How can i do that?

Thanks

Former Member
0 Kudos

Hi,

After I have build my Add-On in Visual Studio; I use the program AddOnRegDataGen.exe which comes with SAP. When you start this program you have parameters to fill in: Estimated install Time: I write 30, no problem so far...

Thank you,

Rune

Former Member
0 Kudos

Hi Dear,

Please check that the connection string is provided or not while creating the addon in release mode.

If you give the connection string in the debug mode you have to give it in release mode also.

Connection string will be as follows


0030002C0030002C00530041005000420044005F00440061007400650076002C0050004C006F006D0056004900490056

REgards,

Mahendra