EndInstall() Call Returns Zero But SAP Still Times Out?

Hi,
I have an add on installer where the setup.exe file was created and compiled using InnoSetup. Since switching from 32 bit to 64 bit it has been a struggle since there is so little documented by SAP on this. I finally found out that we cannot call the EndInstall and EndUninstall functions directly in AddOnInstallAPI_x64.dll like we could in AddOnInstallAPI.dll for 32 bit add ons. I created a Visual Studio wrapper project that contains the calls to EndInstall and EndUninstall and I launch that compiled executable at the end of my setup.exe installation procedure. I have logging inside the wrapper which gives me the result of the EndInstall call and it is returning a 0 which means it was successful. Even still, SAP still sits until it times out and tells me the add on registration failed and it needs to be corrected. Oddly enough, if I run my wrapper executable manually right at the end of my installer, SAP does get the signal and says the add on was installed successfully.
I need to get this resolved so I can do a required add on upgrade. Has anyone else experienced this?  Is there any way yet that we can call the 64-bit functions directly from the DLL file yet?  Why has SAP not addressed this yet?
Thanks,
David

Hi Pedro,
I've tried both EndInstall and EndInstallEx directly from the 64 bit DLL but neither worked. Here was my code in InnoSetup to call EndInstallEx.
function SetAddOnFolder(Path: String): Integer;
external 'SetAddOnFolder@{code:TargetDir}\extern\AddOnInstallAPI_x64.dll';
function RestartNeeded(): Integer;
external 'RestartNeeded@{code:TargetDir}\extern\AddOnInstallAPI_x64.dll';
function EndInstallEx(Info: String; InstallSucess: Boolean): Integer;
external 'EndInstallEx@AddOnInstallAPI_x64.dll';
function GetCustomSetupExitCode: Integer;
var
  nResult: Integer;
begin
nResult := EndInstallEx('', true);
end;
You think this should actually work?
Thanks,
David

Similar Messages

  • I can't download update 5.0.1 and have disabled all security measures and the download still times out shortly after beginning the download.  All other downloads are successful so I know the problem is not in the computer.  Can anyone help?

    Can't download update 5.0.1 to my iPad2.  I disabled all security items in fact have deleted them from computer, but the download still times out advising check settings but all is set right?  Can any one help with this matter?

    I'm still experiencing this problem.  I went to settings, general, software and it says Install now.  But when I try, I get an error message. 

  • 'Vintage' MacBook has lost all wifi connection suddenly and stored settings. I've tried to manually input my IP address and DNS number but it just times out when trying to connect to the network can anyone help?

    'Vintage' MacBook has lost all wifi connection suddenly and stored settings. I've tried to manually input my IP address and DNS number but it just times out when trying to connect to the network can anyone help?

    You said:
    We still couldn't get it to stop timing out. I tried to download the firmware from iClarified but iTunes said it didn't recognise the software.
    Just what did yo do to gt iTunes to see the download:

  • My iPad 2 will not allow me to update my apps. When I hit the update button I get a spinning circle but then it times out and doesn't update. Please help.

    My iPad 2 will not allow me to update my apps. When I hit the update button I get a spinning circle but then it times out and doesn't update. In the past when I have updated successfully, the spinning circle would show me an indicator of time left on the update. I no longer have this Indicator. The circle just spins and times out and nothing happens. I've reset the iPad in the settings menu, reset the router, logged in and out of Apple id, powered ithe iPad off and on, and tried a couple other "fixes" that I've read online. So far no luck. AAny help would be greatly appreciated. Much thanks!

    How much free space do you have? If it is low, installers may not be able to run properly.

  • Hi, I am trying to update OS level on my IPad to OS 5 but network always time out

    Hi, I am trying to update OS level on my IPad to OS 5 but network always time out!

    Tap Settings > General > Reset > Reset Network Settings
    Then restart the device and try again.
    Hold the On/Off Sleep/Wake button down until the red slider appears. Slide your finger across the slider to turn off iPhone. To turn iPhone back on, press and hold the On/Off Sleep/Wake button until the Apple logo appears.
    If that didn't help, try here >  iOS: Troubleshooting Wi-Fi networks and connections

  • I have a Mac Book and purchased a Bose system that uses an antenna to play music from the the laptop - it works great, but the computer times out and shuts down - Help

    have a Mac Book and purchased a Bose system that uses an antenna to play music from the the laptop - it works great, but the computer times out and shuts down - Help

    Check in "System Preferences">"Energy Saver" to see if you have the "Computer Sleep" bar set too low.

  • New ink in Deskjet F380 but pages still coming out blank!!

    New ink in Deskjet F380 but pages still coming out blank!!

    Hi annettepmcp,
    I see that you're having problems with your printer.  I would take a look at the document below.
    Print Quality
    Let me know how it goes. 

  • Can't login to wireless network. Deleted network but still time-out trying to login without asking for new password

    Well I am downgrading (if you can call it that). Leopard and Snow leopard are just superior OS's for power users. All the fancy stuff put in Lion actually slowed it down considerably among all the other bugs..... but anyway
    I changed my network password today. My mbp on lion cannot access the network. I deleted the saved names in network preferences, I rebooted my modem an router, even cleared the DNS cache in Terminal. It still tries to connect to the network and times out... without asking me for the new WEP password I have put on the network.
    My other laptop on snow leapord does what it is supposed to. Deleted the network name in network preferences, clicked on network name to get online, and then it requested the password name. Why doesn't Lion do this??
    Like I said before I did all the above. I don't know what else to do. I also manually deleted the keychain passwords. Still no luck. I guess I have to rename my network lol.

    Access the router's admin area and put in a new password.

  • Volume set to zero but music still plays

    Just as described in the subject, I set the volume to zero but I can still hear the music. Happens with each and every song.
    Problem is - this lowest volume setting is a bit too high for me. So this is pretty annoying. My common sense says that ZERO volume means ZERO volume.
    Please don't tell me to just pause the song, that's not the issue. We should be able to set the volume to zero and hear nothing.
    Appreciate any help.

    Yes! It happens to me too.
    Plus: When I turn the volume to max, it plays on the external speakers too. Pleaseeeee someone help meeeee! I CANT listen to music like this!

  • SAP PORTAL Time-Out Settings / BO iView Reports..?

    We have created BO object-specific iView requests in SAP PORTAL based on Ingo's posting....
    SAP BusinessObjects Enterprise & SAP Enterprise Portal - Part 3 of 4
    Currently, just posting some small CR4E and Analysis for Office (*Design Studio will be added in a few months) report objects that are based on BW queries - and response time is a few seconds.
    However, long-term as our BW grows - and the volume of data/periods expands we may see some reduction in the performance of these reports, and they make take a few-minutes to return data.
    The SAP Portal team already have an issue with an ECC / T-Code report (*no Business Objects involved) which runs over 100 seconds - and hits a Portal time-out....and are wondering if we would hit the same issue if a CR4E within the Portal ran longer than 100 seconds...?
    I think the answer is "NO", the Portal time-out would not apply in that scenario. My assumption is that in our solution-path, the Portal's 100 second time-out rule would ONLY apply to the process of the Portal invoking the iView request - and opening the frame for the CR4E content.
    Once the frame is open - and the RPT / Prompt-Screen is loaded the Portal time-out is "happy".
    After that iView -> BO frame is established....so, even if the CR4E & BW Query took more than 100 Seconds to return/display the data - the SAP Portal would not time-out - as all of that activity is actually taking place at the BOE Platform layer within the frame (and using the time-out settings at the BOE level).
    Can anyone confirm that my assumptions are correct, or explain where the assumption is wrong..?
    Thanks in advance...!

    In our scenario, the SAP PORTAL has a 100 second time-out, but the Business Objects platform where the CR4E content is hosted has a 600 second time-out for "View on Demand" reporting.
    When the SAP PORTAL opens the iView connection, it is opening the CR4E content in a frame on the Portal. Prompts are entered - and the RPT execution begins on the BOE platform.
    There is a "spinning-wheel" displayed from the BOE platform, and if run in BO LaunchPad it could run for up to 600 seconds before a time-out occured.
    When it is presented in SAP PORTAL via iView connection - does that "spinning-wheel" from BOE Platform provide enough of a "heartbeat" to let the PORTAL know not to drop the connection at 100 seconds....?
    My reasoning is that SAP PORTAL should be opening the BOE content with the same rules that apply when the report is opening in the BO LaunchPad.
    We are going to create a "SLOW" report in CR4E (*Lots of charts & sub-reports) to test/compare LaunchPad and Portal display of the same report.

  • My installation of flashplayer still time out at 47%

    I just got this new laptop today,it's with system windows 7,64 bit.
    I try to download the flashplayer but it keeps on showing the dowload is time out at 47% ...
    I did delete and uninstall everything just as what you guys taught us to do ,step by step. but it still doesn't work!!! what should i do!! this is so frustrating!!!
    please help!!!

    Have you tried the offline installers from http://helpx.adobe.com/flash-player/kb/installation-problems-flash-player-windows.html#Ins tall_in_a_firewall_proxy_server_environment ?

  • Used rank mirror script but everyone "connection time-out

    What is going on?
    I can ping google no problem, but like the subject says everything says "connection time-out" when I try to
    pacman -Syy
    or when I try to
    pacstrap /mnt base base-devel
    So what is going on?

    mrhobbeys wrote:
    First, I edited my nameserver and things seemed to be going well but for some reason /etc/resolv.conf reverted back to the origianl...
    What is going on?
    It's being rewritten by dhclient or dhcpcd, most likely. You can put your settings in /etc/resolv.conf.head to get them to stick, because when dhcpcd rewrites resolv.conf it includes the contents of resolv.conf.head at the start of the file. You can also tell dhcpcd not to rewrite resolv.conf by adding "nohook resolv.conf" to /etc/dhcpcd.conf. I assume you can do the same with dhclient, but I don't know how off the top of my head and I'm writing this from a train with very patchy coverage on my phone so I'm having trouble getting the page to load.
    The culprit may also be pppd, if you're running ppp connections off this machine. You can disable usepeerdns in the config for that ppp peer.

  • How do you download is07 I tried to do the update but my computer times out

    How do you download is07 I tried to do the update but my computer times out

    If you are getting a network timeout then try temporarily turning off all your firewall and antivirus software on your computer until the download has completed.
    Before starting the actual update you should force a backup of the iPad via File > Devices > Back Up, and preferably copy any important documents, photos, files etc off the iPad so that you have copies of them outside of the backup.

  • I am playing candy crush on my iPhone , need to pay 69p to move on , given all my acc. Details, but it says time out try again, have done this 10 times but no luck

    I am playing candy crush on my iPhone, I need to pay 69p to move on , all my billing is correct but it just keeps saying time out try again, I have done this time and time again , no luck

    "Is there anything I can do?"
    Yes, you can exchange the handset for a refurbished out-of-warranty product for £216.44 (includes shipping + VAT).  Treat your objects like women - with love, and respect.

  • Locked down computer (means I cannot see network settings) allows IE6 but Firefox always times out.

    The tech guys have locked down the computer and I cannot see the network settings and have no access to the registry. Firefox always times out so I am forced to use IE6. How to set up Firefox to get round this?

    Presumably, you're talking about your company's administrator. It probably wouldn't be wise to try and circumvent their network policy. It might get you fired even.
    A better idea would be to show them how insecure IE6 is - ''it's no longer supported by Microsoft for example and exposes their network to all kinds of attacks'' - and that it's in their own interests to use a secure browser like Firefox 4.0
    Maybe they'll even promote you!

Maybe you are looking for