cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with AddOn Installation file

Former Member
0 Kudos

Hello there,

i'm trying to make an AddOn.

Now i read a lot of threads and the help files as well. But there's alway written "create an installation file"

But thats my problem. I think the example from the SDK 'AddOnInstaller' would help me a lot but i can't load it with VisualStudio.NET 2002.

i copied the .vb file with the class "frmInstall" but i don't have the code the creation of an object of this class, so i made a 'sub main'

Sub Main()

Dim oFrmInstall As frmInstall

oFrmInstall = New frmInstall()

oFrmInstall.Show()

End Sub

but i need a 'System.Windows.Forms.Run'

if i put this bevor show() the application is running, and waiting for events, and don't show my form.

If i write it after show() the application may end during the load-event (e.g. if there are not 2 command line arg)

and after that i start the application again?

now i'm in big trouble

can you help me please?

maybe u have the AddOnInstaller Example for VS.NET 2002 or any other complete Sample for the installation file?

i don't have enougth time to learn about how to handle installshield or any other progam

thx

Norbert

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi again,

Ok, now i built a very simple installer, that do nothing but some validation chacks and the endInstall().

that works fine and i got the addOn installed and registert.

i also can start the addOn from the addOn manager and it also makes the entries to the Menu but now my problem:

if i call the form from the menu the BO says :

"AddOn xyz is disconnected."

but i got no error.

If i look at the Add-OnManager my addon is shown as connected befor i try to call the form from the menu.

What's wrong?

Former Member
0 Kudos

Hi

You use a form in your addon?

if you used it you have to copy it to the folder in which you have the exe

kind regards

Salvador Biot