Add-On Deployment Questions

The following is the deployment problem i am facing,
any suggestions will be helpful.
1) Using Install Shield:
Created setup.exe using install-shield and created “.ard” fie using “AddOnRegDataGen.exe”.
I registered the add-on. Logged out and logged in to SAP.
The installer installed successfully but it is not giving a message to B1 saying that the installation is over.
So I see the even after the installer has ended successfully, still the add-on is continuing
the installation and the clock appears in the bottom of SAP screen, after some time I get the message install timed out.
But actually the setup created by Install-shield is installed successfully, but SAP is not marking it is as successful. So I could not able to see the Add-on in the Ado-on manager screen.
Do I need to specify any settings in Install Shield or in .ard file?
2) Using Setup and deployment wizard from VB.net.
I created setup in VB.net using the package and deployment wizard.
This will create 2 files “.exe” and “.msi” files. Then I created the “.ard” file using “AddOnRegDataGen.exe”.
I registered the add-on in SAP. I am getting the following error message.
- the error follows--
An error occurred attempting to install testseup
Unable to locate application file 'testsetup.msi'.
See the setup log file located at 'C:\DOCUME1\ADMINI1\LOCALS~1\Temp\VSD12B.tmp\install.log' for more information.
--- the error ends -
I feel SAP is looking for the “.msi” files. Is there any solution is available for this?
3) Using SAP B1 AddonInstaller.Net Wizard   (B1 Simple Installer Wizard)
If I use this I can make the installation successful and the add-on is running fine.
But, If I make a change in the program and compile new exe and copy the exe to the existing Project and compile the project, this will create a new setup exe.
Finally used the “AddOnRegDataGen.bat” to generate the new “.ard” file.
Using this “.ard” file and the new setup, I registered this to SAP B1.
The installation was successful and when I tried to start running the Add-On ,
I get “Wrong executable digital signature” message.
Currently I am using this to make my addon running and every time I make a change in the program, I create new SAP B1 AddonInstaller.Net Wizard   project and use the exe and the “.ard” file generated by the project automatically.
I would like to avoid creating the new SAP B1 AddonInstaller.Net Wizard every time when I make any change to the program.
Would like to use the existing project created and need to replace the newly generated exe and just re-compile the project and use the “.ard” file generated by “AddOnRegDataGen.bat”
Is there any solution available?
Last but not the least.
4) Used the VB B1 AddOnInstaller Setup .NET ( B1 Professional Installer Wizard)
I created new project using this, the following sub projects are created.
1)     A main project Vb.NET
2)     CustomerLibrary of type library.
But it failed to create  “.NET Setup and Deployment project”
The error I am getting is the
“Cannot add the link because the source file setup.msi cannot be found”
I feel even if I create the setup project how the SAP B1 is going to recognize the “.msi” files.
Any help in this will be useful to me to make the deployment easy.

You should know that at the end of an installation procedure you must call EndInstall() function of the AddOnInstallAPI.dll, otherwise SAP will not know that the installation was successfull and will wait until a timeout occurs and the addon will not be registered in SAP.
This is basically what happens in 1 & 2.
For 3 you have to follow this everytime you want to create a new addon (the order is important):
- copy all your addon dependant files into the ...Installer\AddOnFiles folder
- Open the installer project in visual studio and compile it
- change the version in the ...Installer\AddOnRegDataGenFile.bat file (optional)
- execute the AddOnRegDataGen.bat file (double click) - this will generate a new "ard" file based on your new "exe" file
In the "ard" file some digital signature is created based on the installer.exe and the "exe" of your addon, so everytime your   addon.exe changes you have to generate a new "ard"

Similar Messages

  • Add-On Deployment Error 'System.NotSupportedException'

    Created setup files to install the Add-ons.
    I used the Professional Installer method using .Net2.0.
    I could successfully create the installer and created the ard file.
    Registered successfully in SAP B1.
    During the installation i am getting the following error
    "An unhandled exception('System.NotSupportedException') occured in
    B1AddOnInstallerSetupNet1.exe[2800].
    immediately Visual studio Just-In-time Debugger appears
    <a href="http://www.oaksystems.com.sg/B1installerror.bmp">Please click here to view the error i am getting</a>
    Any solution available?

    Thanks for your feedback.
    I will navigate you step by step.
    1) When I tried to create new VB B1 AddOnInstallerSetup.Net project using .net 2.0, The creation was unsuccessful; it is unable to create an empty Setup project.
    Don’t know why? The error I am getting is <a href="http://www.oaksystems.com.sg/sap/Error2.bmp">(pls click here to view)</a>
    But it successfully created <installer Name> and CustomerLibrary project,
    Leaving the Setup project. Like this
    <a href="http://www.oaksystems.com.sg/sap/Error3.bmp">(pls click here to view)</a>
    So I manually created the “Setup and Deployment project” and added to the solution.
    <a href="http://www.oaksystems.com.sg/sap/Error4.bmp">(pls click here to view)</a>
    Then followed the “TODO.txt” file instruction. Created the setup
    <Installer Name>.exe. Then created the .ard file using “AddOnRegDataGen.exe”.
    Registered in SAP and finally getting the 'System.NotSupportedException' during installation.
    This is how I am doing.
    2)As suggested by you I debug the installer, this is the error I am getting
    System.NotSupportedException was unhandled
      Message="The given path's format is not supported."
      Source="mscorlib"
      StackTrace:
           at System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath)
           at System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath)
           at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
           at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath)
           at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity)
           at Installer.SubMain.CopyInstallFilesToAddOnPath(String addOnPath)
           at Installer.SubMain.Main()
    3) Currently I am using “Simple Installer” method for Add-on deployment and manually copying all the necessary files like images and the screens designed using Screen painter. I would like to use the “Professional Installer” to avoid the manual copy files.
    Can you advice to overcome this?

  • When i try to download an app and i have entered my password i am asked to add some security questions. I can add two questions and an alternative e-mail address, however it will not let me select the third security question.

    when i try to download an app and i have entered my password i am asked to add three security questions. I can add two questions and an alternative e-mail address, however it will not let me select the third security question.

    Thanks Liam. After the second ap download it asked me three security questions on iTunes and on my MAC it allowed me to set up these with no error on the third question. iPAD 3 now downloads apps fine.
    Apple really need to sort out this issue or provide guidance on this. Two days of the unit not really being fit for purpose - what use is an IPAD without the ability to download aps.
    Also NO Response from Apple via online tech support and it's now been nearly 24 hours - I was told by telephone support I would get a response within 24 hours or less, as also stated in the email response too!??
    It would be good to get a formal response from Apple on this rather than radio silence.

  • Add image to question

    Is there any way to add image to question? For example, a gui
    button or just a screen shot?

    Hi mruan
    While editing the question slide, click Insert > Image...
    Works for me... Rick

  • Every time I try to get on the ipod, it says I have to add more security questions, but none are listed, just two buttons that say submit.

    Every time I try to get on the Ipod games, it says I have to add more security questions, but no questions are listed, just two buttons that say "Submit" and places to put the answers to the unstated questions.  It also asks for a second email address.  It then proceeds to lock up.  Is this a scam of some sort.  There is nothing on the apple website about having additional security questions other than the one, or having a second email to operate the ipod.

    You need to contact Apple to get the questions reset. Click here, phone them, and ask for the Account Security team, or fill out and submit this form.
    Whichever method you use, you probably won't get a response until the 26th. If you absolutely must make a purchase before then, create a new Apple ID; you won't be able to transfer previous purchases or iTunes Store credit to it.
    (95471)

  • MDG-F data distribution in case of add on deployment

    Hi Expert
    Can any one describes the procedure for MDG-F data distribution for add-on deployment scenario?
    Is it required to release edition each time? Then what is meaning of check box- Immediately Distribute Change Requests:in MDG 6.1  if you have to replicate edition manually each time? Is data replication model is required for data distribution as well?

    Hello Sanjay
    MDG-F is a Flex model. You have to configure replication model in any case.
    There are 2 ways to replicate data from MDG.
    1. Auto Replication - Here you have to mark  immediately distribute change request while creating edition. With this tick mark, data will get replicated automatically. No need to release any edition.
    2. Manual replication - When you want to replicate the data manually, do not tick the auto distribution option. The data will get stored in the edition. You can release the edition any time. Only thing you need to make sure that there is no open change request in the edition. Once you release the edition, you can view the edition in manual replication option.
    Kiran

  • I forgot my recue email add. and security question

    I forgot my recue email add. and security question. what should I do to recover my account?

    If you don't have a rescue address, you might try contacting Apple through iTunes Store Support

  • 10.7 client .dmg creation for deployment questions.

    Please forgive me if this question is in the wrong forum.
    I've been doing searches online and in the 10.7 Peachpit books (client and server) and I can't seem to find the info I am looking for.
    I am trying to create a 10.7 .dmg to use on new Macs my company is going to deploy. We are not using 10.7 Server at the moment, we
    are using 10.6.8 Server. This will not be an image we are going to deploy over the network either. I know this may not be "best practices"
    but at the moment, this is the way we are going to (re)image new Macs.
    Basically, I want to create a 10.7 .dmg that does NOT contain the recovery partition. I can't seem to find a way to do this. If I am correct,
    even a "clean" install, when booted from a USB 10.7 recovery drive, will create the recovery partition, right?
    I am running 10.7 client and i have the 10.7.3 Server Admin tools.
    I apologize in advance if I am missing something glaringly obvious.
    Also, any tips on best practices for creating 10.7 client .dmgs for deployment that's any different than creating 10.6 images?
    thanks in advance.

    Using information from this site and my own scripting experience I present to you a more secure way to do it which supports munki and other deployment tools without having the password to the ODM or client in clear text on the client or on packages easeliy accessable on a http server:
    On server:
    ssh-keygen
    Save the output of ~/.ssh/id_rsa.pub to your clip board
    Then create a launchd or something so that this runs at startup
    nc -kl 1337 | xargs -n 1 -I host ssh -q -o StrictHostKeyChecking=no root@host /usr/local/bin/setupLDAP diradminpassword localadminpassword > /dev/null 2>&1
    On client:
    Create script (to use in a package as postinstall or something):
    #!/bin/bash
    # Turns on ssh
    systemsetup -f -setremotelogin On
    # Sets up passwordless login to root account from server
    echo "ssh-rsa FROM_YOUR_CLIPBOARD_A_VERYLONGOUTPUTOFCHARACTERS [email protected]" >> /var/root/.ssh/authorized_keys
    # installs setupLDAP
    mkdir -p /usr/local/bin
    cat > /usr/local/bin/setupLDAP <<'EOF'
    #!/bin/sh
    PATH=/bin:/sbin:/usr/bin:/usr/sbin
    export PATH
    computerid=`scutil --get ComputerName`; yes | dsconfigldap -vfs  -a 'server.domain.no' -n 'server' -c $computerid -u 'diradmin' -p $1 -l 'l' -q $2
    EOF
    chmod +x /usr/local/bin/setupLDAP
    End note
    That was the code, now you just add the skeleton And to clearify what this does, first we let the server connect to the client as root even though root access is "disabled" (he has no password and therefore you can't log in as root as default). Then we create a small script to setup OD binding (/usr/local/bin/setupLDAP) but this script doesn't contain the passwords. Then the client send a request to the small socket server on the server with it's hostname, then the server connects to that hostname and executes /usr/local/bin/setupLDAP with the needed passwords.

  • WSA deployment question

    We currently have and inline content filter we are upgrading to a Cisco WSA.  I am in the final stages and I have a couple of questions in regards to the deployment of the device.  I would like to use WCCP to do this and I have a few questions.
    Currently we have four sites all connected via MPLS and Internet at the main site.  All sites have a layer three termination on a 4507 with multiple interface VLANs.  Everything feeds back to the main site ASA cluster for internet. 
    My question is can I deploy the WSA cluster at the main site and use WCCP? Can I config WCCP on the ASA for filtering for everything?   In the deployment guides it says that the hosts have to be layer 2 adjacent to the WCCP redirector.  So according to that should I put WCCP on all the 4507 VLAN interfaces back to the WSA at the main site?    
    I have not used WCCP and trying to get an idea of how it all works the guides are a little confusing to me.  Thanks.

    Josh,
    My question is can I deploy the WSA cluster at the main site and use WCCP? Yes
    Can I config WCCP on the ASA for filtering for everything? Yes
    In the deployment guides it says that the hosts have to be layer 2 adjacent to the WCCP redirector. So according to that should I put WCCP on all the 4507 VLAN interfaces back to the WSA at the main site?  No need to do this, you can just use the WCCP off of the ASA.  You DO have to make sure that its adjacent to the port that you're running the WCCP on (eg if its the inside port, it has to be adjacent to that port, you can't put the WSA in the DMZ)
    One way to think about WCCP is a publish/subscribe model.  The ASA is publishing, but it doesn't send traffic to anyone unless it has subscribers.  You can limit the subscribers access lists...
    A couple of things:
    What version ASA are you running?  Pre 8.2 there were some WCCP issues that made it unstable.
    How many WSA's do you have?  If you have more than 1, you need to add access entries so that outbound traffic from one WSA doesn't get WCCP'd over to the second WSA... (see this article https://ironport.custhelp.com/app/answers/detail/a_id/1603/kw/wccp)
    Hope that helps.
    Ken

  • Cisco ESA Deployment Question

    Hello,
    I have a question about the ESA deployment, In case I have 1 ESA deployed in my network with MX record and the public IP is natted to the ESA IP located on the DMZ.
    If the ESA goes down for any reason like power failure, still I can recieve and send email or not? I mean in this case, can the device work in fail-open mode to relay the emals but without applying the policy?
    Or in this case, the mail system will be completly down, and I need to add 2nd MX record (High avaailbility) to ensure that the email system is UP?
    Thanks.
    Ahmad.

    This is very logical for me.
    I had a discussion with Cisco SE and he insists that ESA acts as a proxy not as email server, so the mail server would still deliver email but without any ESA policies applied to it.
    Here, if you point the exchange server to the ESA and the ESA is down, then the recieving and sending will be down, and only the internal emails will be working.
    Thanks.
    Ahmad.

  • Deploy questions for portal 7

    Hi, BEA portal gurus,
    I have several questions about Portal web application deployment.
    1. If I try to manually deploy a new portal web application(not using the
    wizard hot deployment), it seems that I have to take the following steps to
    make it work. First in the console, I need to modify the application
    descriptor and add a new web module. Second, I need to undeploy the whole
    enterprise application and redeploly the whole application. Is there any
    other easier way to do it? The redeployment of the whole application takes a
    long time.
    2. In http://edocs.bea.com/wls/docs70/webapp/deployment.html#139318, it
    explains a lot about web application deployment in weblogic server. In the
    secion "reploying a web application in exploded directory format", it says:
    ****You can redeploy a Web Application deployed in exploded directory format
    when using auto-deployment by modifying a special file called REDEPLOY, or
    you can use the Administration Console, or you can cause a partial redeploy
    by copying a new version of a class file over an old in the WEB-INF/classes
    directory.*****
    I am more confused than I was before I read this document. I think the first
    approach --- modify the REDEPLOY is not necessary, because when I modify a
    jsp or html in my portal web application, the server can pick it up right
    away. Of course, I change the jsp check interval setting. Besides, I never
    get the third appoach to work. Whenever I modify the classes and copy it to
    the WEB-INF/classes, the server can not do auto-redeployment for me. I have
    to restart the server, or redeploy the web application module in the console
    to make it work.
    Can anyone explain it to me? Thanks a lot in advance.
    Surge.

    Hi Kathleen,
    Please check message server settings on
    <u><i>visual admin tool:</i></u><b>server->kernel->cluster manager</b> and check <b>ms.host</b> and <b>ms.port</b> values from the table. At my first try, I thought the port number was 50000 since it was J2EE message port, after checking it in visual admin tool I realized that, it was the same port you use for local which was 3601.
    If this is still not working either then do it manually as follows:
    Copy your applicationName.ear file into your sever. The directory that you can find the .ear file is <b>C:\documents and settings\admin\documents\SAP\workspace\filename.ear</b>
    **Start your visual admin tool
    server->services->deploy
    on the right hand side you will see <b>server</b>->webdynpro
    ***On the right panel click on <b>deploy&start</b>
    I hope this will work for you,and please do not forget reward points if I could help you a little.
    Cheers,
    Serkan

  • 11.1.2 Deployment question!

    We are using ADF 11.1.1.4 with Webcenter and SOA components but not extensively. We would like to upgrade to 11.1.2 and got little confused after reading note given below.
    "Important Note - This version of JDeveloper doesn't include the SOA and WebCenter pieces - to use these components you'll need to download Oracle JDeveloper 11.1.1.5.0"
    My question is can the code developed using 11.1.2 Jdeveloper be deployed on 11.1.1.4 WLS? If that's the case we are thinking to develop SOA and Webcenter application using 11.1.1.4 and ADF using 11.1.2 and both deployed on 1.1.1.4 WLS!!!!
    Is there any other option for installation like this!!!

    code developed in 11.1.2 will be deployed 10 10.3.5 with sherman patch and adf runtime..
    chk this
    http://tompeez.wordpress.com/2011/06/29/follow-up-upgrading-wls-10-3-5-with-adf-runtime-11-1-2-0-0-sherman-patch/
    you cannot deploy code developer in 11.1.2 to 11.1.1.4 wls.. not possible..

  • How to re-add title to question

    If the title of a question slide is removed, is it possible to re-add it?

    Rod, why wouldn't a typical Text Caption object work?
    Cheers... Rick

  • Add a line question

    Alright, I know this is a question about how to go around the system, but I gotta ask.  I recently got a Palm Pre Plus due to issues I had with my Droid Eris.  Needless to say, I am just not very pleased with the Pre Plus either.  No useful apps, the keyboard tends to leave letters out while typing, it is choppy. Anyway, my question is, since I am not eligible to upgrade, and can't afford to buy a new phone right now, is there a way I could add a line to get a discounted price, then cancel the phone I have now.  I know there would be some sort of termination fee, but it would be cheaper than getting a new phone.  I don't want a used one, and I have bought phones from ebay before, I just would like to have a new one.  Along with that, when I add the line, I would need to have my phone number attached to the new phone so  I could get rid of the phone I currently have. So, my question is, is it possible to add a new line and have my number go to that phone, then terminate the phone I have and go back to just having two lines on the account?

    i think you have 30 days to return the phone, if your in that window, try that
    if not the only way to get the new phone on your number with the add a line would be
    1. add the new line with new number and new phone
    2. change your phone to the new line
    3. change the new phone to your old line
    4. terminate the line with the full etf
    this is expensive, 350 for a smart phone, 175 for a reg phone -  iirc
    keeping the second line would only be 9.99 a month, maybe give it to a family member?

  • [JS][CS3] Script deployment question

    Hi everyone,
    I am currently writing scripts in a corporate environment (~30 users), and I'm contemplating the easiest and most efficient way of deploying the scripts. We have a couple of scripts already with the users that are located locally on their machines. As time goes on we'll be writing more and more scripts and updating the existing ones as necessary.
    My current inclination is to stop saving the files locally on the individual machines and instead put a shortcut to a shared server folder in the scripts folder instead. In my testing it seems to work fine without any significant delay, and it automatically populates all of the files in linked folder. I basically want to be able to make sure that users are always launching the most up-to-date code and that any future scripts can be easily deployed without me walking around to everyone's desk (or worse, e-mailing instructions and hoping for the best).
    Are there any downsides/performance issues to this approach? It's a strictly desktop environment, so I don't have to worry about laptop users who are not connected to the network. Is there an alternate way that would be smoother?
    Thanks!

    We've tried it both ways. On our 12 InCopy machines (OSX), we have a symbolic link from /Applications/Adobe InCopy CS5/Scripts/Scripts Panel/ to a shared folder. This works great as long as our file server doesn't go down, and all sorts of other things would break horribly. And the User scripts folder is still available for any machine-specific customizations.
    For our 4 InDesign machines, we decided that was a little too much risk. So instead we have a script, copyScripts.jsx, that just copies scripts from the file server to the Application scripts folder. So everytime there is a change, we go around to those 4 machines and run copyScripts. This works OK.
    It's a little bit of a pain but it also insulates us a bit from bugs, and it means that whoever is using InDesign can decide to not update the scripts if they are in the middle of something critical. They can choose to defer taking the script updates.
    I think if we had to do it over, we probably wouldn't bother with the copyScripts mechanism. The centralized shared folder works pretty well. But it's not so annoying that we've gotten rid of it. And for 4 machines, it's not a huge burden.
    Also, there are some questions of development. If it's convenient to do development in the ESTK, having the shared folder means you cannot just rightclick in the Scripts panel and choose Edit Script. Or if you do, then any changes you save as you are developing the script are instantly available to everyone, potentially breaking their work if there are problems, or if there is debugging output ,etc., etc. So you need to make sure you do a development in a different place. Just something to keep in mind.

Maybe you are looking for

  • Very Slow Connection

    Hi  Does anyone else have these issues? And BT, please read all of this message... Firstly, none of my queries have been answered or dealt with by BT, secondly, I have done the suggested ‘steps’ to resolve my issue over 30 times. When my upload speed

  • How to count number of raw & put result top of page?

    I try to count number of table raw it work fine  but when I wont to put result top of page it dose not work only count one table raw REPORT  ZTEST. DATA: it_sflight TYPE TABLE OF Sflight WITH HEADER LINE  . DATA counter TYPE i VALUE 0. start-of-SELEC

  • Firefox crashes when i click on the email description in Gmail in order to take me to that website

    on the 'Mail' page of Gmail if i click on the email title on the opening page in order to access the website for that particular service - i.e. Which Magazine, Firefox crashes - it doesn't do this in safe mode.

  • CFZIP Bug in Coldfusion 11

    CFZIP Bug in Coldfusion 11: <cfzip action="unzip" ... storepath="no"> does not work as expected. The files are unzipped to the entry path and not to the root level. My code worked fine with Coldfusion 9, but not with Coldfusion 11. Best regards Jürge

  • Outlook 2003 "whole day" events not synced properly

    Hi everybody I just figured out a little problem with some calendar entries: The following: I have some birthdays in my calendar, for example one on 1979/04/07 it's entered as a "whole day" (i run my PC in German so I don't know the proper term in En