Create Addon Setup

Hello Guys,
Does anyone know how to create an SAP Add on installer using Inno Setup 5.1.5?  If you can provide an example *.iss file, it will help.  Thank you.

Hey Gilbert,
We use inno setup to complete this. We had to create some methods to receive the parameters from business one and set them during the installer.
Here is a sample of one of the methods we created:
function GetSBOParam(Ignore: String): String;
var
  Param: String;
  SeparatorPosition: Integer;
  RegFilePath: String;
begin
  Param := ParamStr(ParamCount());
  SeparatorPosition := Pos('|', Param) + 1;
  if SeparatorPosition > 1 then
  begin
       RegFilePath := '"' + Copy(Param, SeparatorPosition, Length(Param) - SeparatorPosition + 2) + '"';
  end else
    RegFilePath := '';
  Result := RegFilePath;
end;
During the installer we also call a command line app to except the params from Business one and complete the rest of the registration calls as executed in the Sample installer included with the SDK.
Hope this helps

Similar Messages

  • Is there any way to create a setup file Like Visual Basic

    Hi,
    I want to create a setup file of all developed foms and reports to install them to desireable location, is there any way to create a setup file in oracle, Like Vb.
    Raza

    I believe there is something from Oracle but it was frustratingly buggy when I used it a few years back and only worked via the Oracle installer.
    Personally, I'd recommend something like Innosetup, which is freeware and a Windows-style installer much like InstallShield etc. so it'll create an executable setup file probably OK if they've already got the Oracle Runtime components installed.

  • Error while creating a setup package .

    Hi ALL,
    We are trying to create a setup package (SP20 client)  for our application
    after assinging the device configurations their roles and conditions to the Hierarchy Group which we created It gives the following error while creation of the setup  package
    Error
    0050  tc.mobile.admin.bl  113101  20080222
    Retrieving device id failed.
    However we tried to dig up for it in help.sap.com and forum we could not resolve the  error .
    Please suggests the neccessary solution,Its urgent.
    Thanks & Regards
    Aditi Vyas

    HI
    This problem is already resolved in SP20.  Kindly make use of the latest patch of NWMADMIN and NWMClient and the error should get resolved.
    Best regards
    Sivakumar

  • "Setup encountered a problem while validating the state of Active Directory: Exchange organization-level objects have not been created, and setup cannot create them because the local computer is not in the same domain and site as the schema master. Run se

    Team,
    I am trying to Install Exchange on my Lab, getting below error
    message.
    The Schema Role is installed on Root Domain and trying to install
    exchange on Child domain.
    1 Root Domain - 1 Child domain. both are located on single site.
    “Setup encountered a problem while validating
    the state of Active Directory: Exchange organization-level objects have not been created, and setup cannot create them because the local computer is not in the same domain and site as the schema master. Run setup with the /prepareAD parameter and wait for
    replication to complete.”
    Followed below articles:
    http://support.risualblogs.com/blog/2012/02/21/exchange-2010-sp2-upgrade-issue-exchange-organization-level-objects-have-not-been-created-and-setup-cannot-create-them-because-the-local-computer-is-not-in-the-same-domain-and-site-as-the-sche/
    http://www.petenetlive.com/KB/Article/0000793.htm
    transferred the schema roles to different server on root domain, still no luck.
    can someone please help me.
    regards
    Srinivasa k
    Srinivasa K

    Hi Srinivasa,
    I guess, you didn't completed the initial setup schemaprep and adprep before starting the installation. You can do it as follows:
    1. Open command Prompt as administrator and browse to the root of installation cd and run Setup.exe /PrepareSchema /IAcceptExchangeServerLicenseTerms
    After finishing this,
    2. Setup.exe /PrepareAD /OrganizationName:"<organization name>" /IAcceptExchangeServerLicenseTerms
    3. To prepare all domains within the forest run Setup.exe /PrepareAllDomains /IAcceptExchangeServerLicenseTerms. If you want to prepare a specific domain run Setup.exe /PrepareDomain:<FQDN of the domain you want to prepare> /IAcceptExchangeServerLicenseTerms
    4. Once you complete all of the 3 steps, install the pre-requisities for Exchange 2013
    5. Finally, run the setup program
    Hope this will help you
    Regards from Visit ExchangeOnline |
    Visit WindowsAdmin

  • How many softwares are there to create a setup file for java programs

    Hi, i am new to java
    I want to know how many softwares are there to create a setup file for java programs.
    I know one software i.e java launcher to create a setup file.
    I want to know about any other softwares are available to create a setup file for java programs.
    I created a setup file for swings program in JCreator.
    And don't think that i am wastiing ur time with this question .
    Help me regarding this topic.
    Thanks in Advance

    superstar wrote:
    I want to know how many softwares are there to create a setup file for java programs.13, no wait, 42.
    I know one software i.e java launcher to create a setup file.You should clearly identify what you think you already know.
    I want to know about any other softwares are available to create a setup file for java programs.
    I created a setup file for swings program in JCreator.Is this the one you talked before, or is this different?
    And don't think that i am wasting ur time with this question .Why should I not think that?

  • How to create a setup for window form application including the related sql database?

    i have created a simple window form application project that have only 2 form..
    1st one for login in which it'll check the userid n password from database.if both are correct then it will go to 2nd form.
    now i want this project to run in another computer.
    i created a setup file but its showing some error regarding the database instances connection..
    so if anyone can tell me in details how to create the setup file then it'll b a great help..
    thanx in advance..

    Hi,
    Consider the above scenario,I suggest you to use the SQL Server Compact+ ClickOnce Deployment, A Compact SQL database is a file that can be bundled with your application installation. Below is a link guiding you through the creation process of a SQL Compact
    database.
    http://technet.microsoft.com/en-us/library/ms173009.aspx
    The following link discusses setting up the necessary dependencies and prerequisites for SQL Server Compact. (Note, you will need to scroll to the section entitled Private File–Based Deployment.)
    http://msdn.microsoft.com/en-us/library/aa983326(v=VS.100).aspx
    A ClickOnce Deployment can help you publish your application attach compact SQL database into client machine.
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Steps to Create Addon

    Dear Experts,
    I am using SAP 8.8 & patch level 10.
    can anybody plz gives me steps of creating addon.
    Regards,
    Pravin

    We Business one is installed you could install the sdk and there it gives code example to develop add on. Also use the B1DE to develop addons.

  • Creat inspection setup entries in quality View using BAPI_MATERIAL_SAVEDAT

    Dear all,
    I am using BAPI_MATERIAL_SAVEDATA to extend Material from one plant to another.
    I am able to extend Quality view to another plant
    But unable to create inspection setup entries for the extended view.
    Please help.
    Regards,
    Gaurav sood

    Issue Resolved

  • Creating addon installers for SBO 9.0 64-Bit (AddOnInstallAPI_x64)

    Hi guys,
    I experience some challenge getting my addon to install successfully on a 64-bit SBO 9.0
    I noticed there are a couple of discussions touching on this very subject.
    So I have successfully installed my addon on the 32-bit edition of SBO 9.0
    My addon is built using VS2010 C# and the addon installer(setup) is built using InstallAware.
    I use the very same setup script for my 64-bit compatible addon (btw, i can manually launch and run this addon successfully in 64-Bit SBO 9.0)
    When I run the addon setup, it runs through to the end but i get an SBO system message  'Add-on XXX : Installation failed'
    During the setup debug, I saw the commandline coming from SBO points to the 32-bit AddOnInstallAPI.dll instead of the 64-bit AddOnInstallAPI_x64.dll
    Could this be the cause of the 'installation failed' message?
    If so, how can I get the commandline pointing to the 64-bit AddOnInstallAPI_x64.dll?
    Thanks in advance.
    Regards,
    Esau

    Hello,
    In the end, i used the 32-bit dll in a 64-bit installer and it worked ok.
    Another point to remember is to call the EndInstallEx function (in my case, i was calling EndInstall)
    Your installer should work ok after this.
    Kind regards,
    Esau

  • Error while installing B1 Integration Addon Setup

    Dear All,
            Myself working on SAP B1 8.81 PL 7. Now When I am installing B1 Integration Addon Setup, I am receiving the below error.
            Failed to install SAP Business One Integration Service.
            Kindly help.
    Regards
    Hitesh Parsawala

    Hi,
    Please refer to link
    <a class="jive_macro jive_macro_message" href="" __jive_macro_name="message" modifiedtitle="true" __default_attr="10642347"></a>
    Make sure to backup your database first or do it your test server.
    Thanks.
    Clint

  • How do I put my jar executables into a cab file to create a setup/install?

    I want to create a setup program for installing my jar executable. I've seen ones that create cab files with a setup.exe program and would like to do the same. Any suggestions?

    Well, JARs generally don't have support files. That's the whole idea. A JAR is designed to be a stand alone application. You don't really need to install it, for that matter. I just thought you might be wanted shortcuts or something.
    Actually, there is some way to install Java programs through Java Web Start, if you want to check that out. I don't know anything about it, though.

  • How to create a setup to install our app to WLS 7.0 SP2?

    My application will be released to our customers. We want to create a setup by
    InstallAnywhere to install our application to Weblogic Server.
    The tasks that the setup should accomplish are:
    (1)add an authectication provider to WLS.
    (2)create the datasource according to the user selectoin of the db servers(SQL
    Server, Oracle etc.)
    (3)deploy the ear into WLS.
    We don't know that whether the setup should modify the config.xml to accomplish
    the task, or WLS provides the APIs for the setup to accomplish the tasks. Which
    is a better choice?
    Thanks for the help!
    Guofeng

    While this is not the sole of your answer, check out medrec in 8.1 and the
    ant scripts in the setup directory.
    mbg
    "Guofeng Zhang" <[email protected]> wrote in message
    news:3ed57527$[email protected]..
    >
    My application will be released to our customers. We want to create asetup by
    InstallAnywhere to install our application to Weblogic Server.
    The tasks that the setup should accomplish are:
    (1)add an authectication provider to WLS.
    (2)create the datasource according to the user selectoin of the dbservers(SQL
    Server, Oracle etc.)
    (3)deploy the ear into WLS.
    We don't know that whether the setup should modify the config.xml toaccomplish
    the task, or WLS provides the APIs for the setup to accomplish the tasks.Which
    is a better choice?
    Thanks for the help!
    Guofeng

  • How to add image file while creating addon...pathsetup?

    Hi friends,
    i have a problem while creating addon.
    while creating addon we can add all the files(.vb,xml).but if i add image files(.bmp,.jpg)they are not displayed in runtime.
    --how to add image file while creating addon..?
    we are useing SAP Business One 2005A(6.80.317)SP:01 PL:04

    Somebody knows like I can indicate to him to a button that I have in a form, that accedes to the image in the route where will settle addon? I have this, but it does not work to me
    oButton.Image = IO.Directory.GetParent(Application.StartupPath).ToString & "\CFL.BMP"

  • Function module to create Inspection setup data

    Hi all,
    Please tell me a function module to create inspection setup data(The tab found in MM01).
    Thank you.

    HI Sanu,
    Check with
    QIBP_INSPPOINT_CREATEFROMDATA
    QPLEXT_INSPECTION_LOT_CREATE
    QPLEXT_INSP_CREATE_REQ_CONF
    for more info search wiht QINSPCREATE*  in the SE37.
    hope it helps you.
    Thanks!

  • Create a Setup Program, someone who have created a setup PGM in C# (VB)?

    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

    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.
    https://www.sdn.sap.com/irj/sdn/businessone-tools

Maybe you are looking for