SAP fails to find uninstaller or uninstaller parameters are not passed

We have a custom add-on , and we intend to deploy the add-on with professional quality. However I have a issue with the uninstaller area.
Scenario 1;
Installer name = AddOnInstaller.exe
Uninstaller name = AddOnUnInstaller.exe
I have created a proper uninstaller and have created the ARD file with the uninstaller listed there. The proper parameters were given, However when registering the add-on ( with SAP) , SAP throws a message saying that uninstaller could not be found. However the uninstaller is present in the given path. I have checked the path in the ard file too. SAP however installs the add-on properly.
Also During the install SAP copies the Installer.exe to the local profile temp folder, and runs from there. Does this have something to do with SAP not finding the uninstaller?
Scenario2:
This time I tried creating the Install and Uninstall function within the same program. So I have one exe now called AddOnInstaller.exe
I have set the installer in the ard file to the AddOnInstaller.exe  and given the proper parameters. And I have set the Uninstaller in the ard file to another parameter such as “/u|uninstall;”.
When registering the add-on within SAP, SAP now dose NOT give an error ( could not find uninstaller ). And also the add-on installs properly.
Within my AddOnInstaller.exe, I check the command line to see if the command line is for an Install, or an Uninstall.
However when the add-on is removed and deregistered, when I log back in to SAP, and when SAP runs the uninstaller, it passes Install parameters to the AddOnInstaller.exe. I have checked this with message boxes. Should it not pass Uninstall parameters as given in the ard file?
I need a fix for this or a workaround please. all help is appreciated.
regards,
Indika.
Message was edited by: changed the header title
        Indika Dekumpitiya

yes the fixing the parameter helped, now SAP passes the correct parameter. I pass /u ( no | hwoever ).
    vCommand = Split(Trim(Command), "|")
    mInstallPath = Trim(vCommand(0))
    If UBound(vCommand) > 0 Then '---means Install paramaters
        mInstallerPath = Trim(vCommand(1))
    Else
        bUninstall = True
    End If
    If bUninstall Then
        Call UninstallAddOn
    Else
        Call Install
    End If
this code above worked, thanks.

Similar Messages

  • Parameters are not Passed in a Struts(JPDK) Portlet

    Dear All,
    I am getting below problem in Oracle Portal Environment(10.1.2)
    I am passing news_id parameter along with title from one page to another page like below code
    In CompanyNewsShowPage.jsp
    <tr>
    <td class="desc">
    <%
    page_url ="/showpageNews.do?news_id="+com_events[0];
    // System.out.println("value of page url : "+ page_url);
    %>
    <input type="hidden" value="<%=page_url%>" id="hdnpageurl"/>
    <pdk-html:link page="<%=page_url%>" styleClass="desc">
    <%
    String obj_title= com_events[1];
    if((obj_title.length())>30)
    out.println(obj_title= obj_title.substring(0,15)+ "...");
    else
    out.println(com_events[1]);
    %>
    </pdk-html:link>
    </td>
    TO passing
    shownews.jsp
    The code for accepting parameter is below
    <%
    System.out.println("value of newsid :"+ newsid);
    String news_id=request.getParameter("news_id");
    if(news_id !=null)
    newsid= Integer.parseInt(news_id);
    System.out.println("value of newsid :"+ newsid);
    %>
    Kindly any one help me how to pass the parameter from one page to another page above problem, because our go live date is very close.
    But same code it is works in IE browser, but not working after deployed in Oracle Portal Environment.
    However, the
    parameters are not passed from the form to the Struts action. When retrieving the parameters, then
    a null value is retrieved, even when the parameter was specified in the form.
    Regards,
    Chandrashekhara
    Message was edited by:
    user487286
    Message was edited by:
    user487286

    Hi Anton,
    I make some tests and it appeared that it's only the output parameter which is not passed through the step (why ?).
    I get this output parameter by a post-running action which parse the joblog and retrieve the sequence number at the line with the pattern  "vendor" (hereunder) :
    100601 20091008 00 516 Job started  0       
    100601 20091008 00 550 Step 001 started (program ZCO_MANAGE_FILE, variant ECLO2, user ID ABAPUSER)  0 001 ZCO_MANAGE_FILE ECLO2 ABAPUSER   
    100601 20091008 00 001 No vendor specified  0 00233      
    100602 20091008 00 517 Job finished  0
    Here is the postrunning action script wich was working before we upgrade :
      JobFile log = jcsJob.getJobFileByName("log");
      if (log != null)
        com.redwood.scheduler.api.search.SearchResultSet myResultSet = log.search("No vendor specified");
        com.redwood.scheduler.api.search.SearchResult myResult = null;
        while (myResultSet.next())
          myResult = myResultSet.getSearchResult();
          String [] line = myResult.getLineText().split(" ");
          JobParameter jp = jcsJob.getJobParameterByName("VendorCode");
          if (jp != null)
            jp.setOutValueString(line[line.length-1]);

  • XMLHttpRequest with "post" does not work (parameters are not passed to called routine); same code works in Chrome and IE.

    Here is my code:<br />
    <br />
    <pre><nowiki>function evalCtr(Ctr)
    var xxxhttp;
    if (window.XMLHttpRequest)
    {// code for IE7+, Firefox, Chrome, Opera, Safari
    xxxhttp=new XMLHttpRequest();
    else
    {// code for IE6, IE5
    xxxhttp=new ActiveXObject("Microsoft.XMLHTTP");
    xxxhttp.onreadystatechange=function()
    if (xxxhttp.readyState==4 && xxxhttp.status==200)
    alert(xxxhttp.responseText);
    var params = "oper=XXX&Center=YYY";
    xxxhttp.open("post","c_ctr.cfm",true);
    xxxhttp.setRequestHeader("Content-type","application/x-www-form-urlencoded");
    xxxhttp.setRequestHeader("Content-length", params.length)
    xxxhttp.setRequestHeader("Connection", "close");
    xxxhttp.send(params);
    }</nowiki></pre>

    A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.<br />
    The helpers at that forum are more knowledgeable about web development issues.<br />
    You need to register at the mozillaZine forum site in order to post at that forum.<br />
    See http://forums.mozillazine.org/viewforum.php?f=25

  • Create Project Web App Instance - Failed to find Project Site object. Are there any database mounted?

    Hi
    New Installation. Sharepoint 2013, Project Server 2013 and SQL Server 2008 SP1 (another box).
    When I try to create Project Web App Instance, I get 
    Provisioning 'PWA': Post provisioning setup failed. Exception 'Microsoft.SharePoint.SPException: Failed to find Project Site object. Are there any database mounted?
     Followed by:
    Failed to provision site PWA with error: Microsoft.SharePoint.SPException: Failed to find Project Site object. Are there any database mounted?
    Already tried reinstalling the whole farm to no avail. Farm Admin account is used to do everything within this process.
    Thanks in anticipation.

    Hi
    I got the same error when provisioning the PWA
    Log Name:      Application
    Source:        Microsoft-SharePoint Products-Project Server
    Date:          8/29/2013 11:58:12 AM
    Event ID:      6966
    Task Category: Provisioning
    Level:         Error
    Keywords:     
    User:          abc\administrator
    Computer:      mycomputer
    Description:
    Provisioning 'PWA': Post provisioning setup failed. Exception 'Microsoft.SharePoint.SPException: Failed to find Project Site object. Are there any database mounted?
       at Microsoft.Office.Project.Server.Administration.ProvisionFeatureEventHandler.FeatureActivated(SPFeatureReceiverProperties properties)
       at Microsoft.SharePoint.SPFeature.DoActivationCallout(Boolean fActivate, Boolean fForce)
       at Microsoft.SharePoint.SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection props, SPFeatureActivateFlags activateFlags, Boolean fForce)
       at Microsoft.SharePoint.SPFeatureCollection.AddInternal(SPFeatureDefinition featdef, Version version, SPFeaturePropertyCollection properties, SPFeatureActivateFlags activateFlags, Boolean force, Boolean fMarkOnly)
       at Microsoft.SharePoint.SPFeatureCollection.AddInternalWithName(Guid featureId, Int32 compatibilityLevel, String featureName, Version version, SPFeaturePropertyCollection properties, SPFeatureActivateFlags activateFlags, Boolean force, Boolean
    fMarkOnly, SPFeatureDefinitionScope featdefScope)
       at Microsoft.SharePoint.SPFeatureCollection.AddInternal(Guid featureId, Version version, SPFeaturePropertyCollection properties, Boolean force, Boolean fMarkOnly, SPFeatureDefinitionScope featdefScope)
       at Microsoft.SharePoint.SPFeatureCollection.Add(Guid featureId)
       at Microsoft.Office.Project.Server.Administration.PsiServiceApplication.EnsureProvisioningFeature(SPSite site)
       at Microsoft.Office.Project.Server.Administration.PsiServiceApplication.CreateSite(ProjectProvisionSettings provset)'.
    Later found that the service application where I was trying to provision the PWA, it was not associated with the web-application.

  • Com.sap.aii.adapter.file.ftp.FTPEx: 550 You are not allowed to issue this

    hi All,
    We are getting below error while connecting to an FTP location through File Adapter:
    Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: An error occurred while connecting to the FTP server XYZ. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 550 You are not allowed to issue this command'. For details, contact your FTP server vendor.
    Also when we tried to connect to this FTP location through PI server we able to connect, but when we connect to it through channel we are getting above error.
    Please Help!
    Thanks,
    Mayank

    hi All,
    The usedid we are using to connect to FTP location has appropriate access to write(we have an receiver file adapter) the files, when we connected to FTP location from PI server using same useid(as used in channel) we are able to connect to FTP location and also able to write the file there.
    Now error soming is:
    An error occurred while connecting to the FTP server XYZ. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 550 Operation is not supported under Connect:Enterprise FTP server.'. For details, contact your FTP server vendor.
    Thanks,
    Mayank

  • Error: Control parameters are not maintained in the current client

    Hi,
    We have recently installed IDES IS-H 6.04 - HEALTH CARE. In the SAP easy access menu when I go to Hospital>>Basic data administration>>Hospital structure>>Organizational Structure>>Organizational Unit>>Create it throws the following error message
    "Control parameters are not maintained in the current client"
    Any help on this would be greatly appreciated. I can't move ahead without getting to create an OU.
    Warm Regards,
    Prasoon Singh

    Hi Prasoon
    Are you starting from scratch?
    Was the client created after the activation of IS-H?
    For new installation I always recommend to activate the industry solution in client 000 and then to create the new clients as copy of 000.  It will bring you the configuration of the Institution 0001. If not, it's very hard to do all the customizing, specially the SD ones.
    It seams that you have nothing configured, try to do the copy, if not, probably an entry in transaction ON05 is missing.
    I hope it helps
    With best regards
    Matías

  • Odata error: Parameters are not allowed for entity "calculationView" as it is not a calculation or analytical view

    I have created scripted calculation view
    I can add parameter in aforesaid calculation view
    It fetches me right result
    But when I am to call aforesaid calculation view from odata service I am getting following error:
    ERROR      zcustsearch/services/AutoComplete.xsodata
               Parameters are not allowed for entity "calculationView" as it is not a calculation or analytical view.
    Any solutions

    Don't reference it via the catalog object. Otherwise only the runtime Column View will be seen. Instead you should specific the view as the repository object.  This means no schema and use package path::view name.  Like this example from the SHINE content:
    service namespace "sap.hana.democontent.epmNext"  {
       "sap.hana.democontent.epmNext.models::CV_SALESORDER_YEAR_COMPARISON"
        as "salesYear" 
      keys generate local "ID"
        aggregates always
        parameters via entity "InputParams"; 

  • How can i find all included pictures which are not in a album? (only in the Library)

    How can i find all included pictures which are not in a album? (only in the Library)

    Hi there,
    I'm afraid I don't quite understand your question. All images are in your Library and only those you specifically select from that Library would be in an Album. What platform are you using? Revel Mac, Elements, web browser, etc?
    Here is a link with some helpful information:
    FAQ: File Basics: How do I Upload, Download, Share, and Delete files in Revel?
    Thank you,
    Glenyse

  • SSRS,MDX- Passed parameters are not hitting the main query in Dataset

    I have created a SSRS report which has to accept two parameters i.e., store name, Date(to show sales on particular date) in report. which are working fine for me. but, those passed parameters are not hitting the main query in main Dataset. what ever i
    pass in parameters, it is displaying all the rows(every city values). i think i am not correct in creating the statement in  Main dataset query, to receive those 2 parameters into the main query. can anybody please help me how to create the statement
    in main date set to display the results for the exact parameter i am passing(which has to be in MDX).
    ram

    Hi ramprasad74,
    According to your description, you want to use parameter in the report, then after parameter values are selected, corresponding data will be displayed in the report. But the parameters do not work and all the rows are displayed.
    To pass parameter to main report dataset, we need to define parameter for MDX query and assign parameter name same as SSRS report parameter. For detail information, please refer to the following steps:
    Create a Dataset to retrieve data for Store name parameter.
    Create Store name parameter, type name and prompt, set Date type to Text, check Allow multiple values check box, then select get values from the dataset.
    Create a Dataset for Date parameter.
    Create Date parameter, type name and prompt, set Date type to Date/Time, then select get values from the dataset.
    Create a new dataset used to retrieve data for the report, add statement like below to the mdx query: {STRTOMEMBER(@Date)} * {STRTOSET (@Store_name)}.
    In Query Designer pane, click Query Parameters and assign parameter name same as SSRS report parameter.
    For more information about SSRS Report with Single and Multi Selection Parameter using MDX Query, please refer to the following blog:
    http://www.codeproject.com/Articles/799265/SSRS-Report-with-Single-and-Multi-Selection-Parame
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    If you have any feedback on our support, please click
    here.

  • Some parameters are not shown in parameter dialog

    Hello,
    I created a VB.NET program using VS2005 sample.
    When the program refers to CR10's DLLs (VS2005 bundle),
    it prompts all parameters correctly.
    But when the program refers to CR12's DLLs, some parameters are not prompted.
    I installed merge module 12.2.
    I also checked CR11 (merge module 11.5) and  found the result is equal to CS12.
    Thank you

    Sorry. I don't understand. Perhaps creating a phone case will be the better way to go(?). Phone cases can be obtained here;
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300
    Ludek

  • Scheduling parameters are not defined for production orders

    Hi All,
             when i convert the planned order to production order  i got this massage popup coming  Scheduling parameters are not defined for production orders . please let me know this .

    Hi,
    One of major customization steps for the order type is missing. Run OPU3 and maintain settings for the order type you are using. You may copy settings from an older type.
    Regards.

  • RFC Function Module - Message Reference parameters are not allowed with RFC

    Hi,
    I’ve checked the Remote-Enabled Module radio button, declared Import and Export parameters using ‘Type’ typing and checked the ‘Pass Value’ in export and import parameters but I still receive message ‘Reference parameters are not allowed with RFC’ and not able to activate the function module.
    Am I missing something?
    Regards,
    ...Naddy

    Hi all,
                   I faced the same problem and solved it ,
    You have defined a reference parameter for a remotely called
      function module. However, only value parameters are allowed
      for this type of module.
      Procedure
      Change the reference parameter to a value parameter.
    Guys  pls .don't leave the thread un-asnwered when you solved problem , post the solution it might be useful for others also.
    Regards
    Krishna Acharya

  • Exits with parameters are not displaying in CO Substitution

    Hi there...
    I am having this problem...I´ve created a CO substitution following all the steps involved, works fine when I define the parameter:
      exits-param = c_exit_param_none in form GET_EXIT_TITLES
    The transaction code OKC9 displays the exit with the field:
    parameters = "No change"
    but when I changed the parameters in my exit for use parameters:
    exits-param = c_exit_param_field
    After the activating and generating with RGUGBR00, the exit doesn´t display in exits availables in OKC9 in fact all the exits with using parameters are not displaying in OKC9.
    What am I doing wrong here?
    Thanks in advance!!!
    Alfredo
    Amber

    Calibrate your monitor.

  • The MRP parameters are not maintained in plant JK01

    Good morning,
    t-code : md04 (stock req.list) but got an error.
    MRP parameters for plant 'JK01' have not been maintained
    Message no. 61273
    Diagnosis
    The MRP parameters are not maintained in plant JK01.
    Procedure
    Maintain MRP parameters in Customizing.
    how to maintained mrp parameter fro plant JK01 ?
    Thank you.

    Hi Robert,
    First maintain the plant parameter using  tcode OMI8 for the plant JK01.
    this will solve ur issue.
    hope it wud have answered ur question
    reward if useful
    shawn

  • Parameters are not created for M0001 feature

    Hi Friends,
    During Hiring activity in IT0002 after entering all the fields, while saving i got a warning message - parameters are not created in M0001 feature. Please give me your views & answers why i got this message.
    Edited by: sharada vemula on Apr 4, 2010 11:31 AM

    Hi,
    Go to PE03 enter M0001
    create a structure till Personal Area and enter **** unless you want to maintain Administrator group in here.
    Hope this helps
    Ajay

Maybe you are looking for

  • Black 80gb Classic iPod not recognised by Windows My Computer or iTunes

    I live in Australia. I am on my third black 80g ipod classic in two days as Apple support hasnt resolved issue and they keep giving me a case number and having the retailer replace the 80g Classic. It is driving me balmy and I still havent resolved t

  • 3G on iPad (1st gen) fails to reconnect after signal drop

    I mostly use my iPad travelling on the train to and from work. The train travels through several tunnels and other areas best described as 3G signal blackspots. When emerging from a blackspot, I'm seeing the following problems: * iPad reports 3G sign

  • Maintenance Call Date Change Tracking

    How to track the automatically changed call dates of maintenance plans in SAP PM??

  • Multiple images with same filename-how does iphoto deal?

    I recently lost a several pictures from iphoto on my imac running snow leopard. I have tried multiple things with the guidance of a senior advisor from apple, but the pictures are not retrievable. I have multiple backups for many, but I lost about 20

  • ODBC failure with stored procedure

    Procedure runs without error when started from term window. Procedure will run from access using pass through query (module) iff one of the queries is commented out. If the query is present, I receive an ODBC failure on the record insert. It acts lik