on 01-30-2008 9:47 PM
Hi,
Are there someone who have created a setup program in C# (VB)
Thank you,
Rune
The program look like this...
'EndInstall - Signals SBO that the installation is complete.
Declare Function EndInstall Lib "AddOnInstallAPI.dll" () As Int32
'SetAddOnFolder - Use it if you want to change the installation folder.
Declare Function SetAddOnFolder Lib "AddOnInstallAPI.dll" (ByVal srrPath As String) As Int32
'RestartNeeded - Use it if your installation requires a restart, it will cause B1 application to close itself after the installation is complete.
Declare Function RestartNeeded Lib "AddOnInstallAPI.dll" () As Int32
if you want to create a setup program i recommend you to have a look at the samples
C:\Programme\SAP\SAP Business One SDK\Samples\COM UI\CSharp\14.AddOnInstaller
its not perfect but the frmInstall.cs is helpful.
thats where i started from
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi David,
Thank you very much for your feedback.
Could you please forward your code so I could start where you are now?
I do not understand why not SAP provides the code or we could have a place to share common code.
My email address RBrattas @ Forgestik . com
Thank you very much for help and support.
Rune
Hi Rune,
i can't send you the code from my company. but its very similar to the frminstall.cs
if you don't want to programm a setup exe you should try this:b1 development environment.
i've never tried it because i develop everything on my own but i heard that it is possible to create very easy setup programms with it.
Thank you,
Rune
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.