StartupIndicator.exe exited with error code -1

29 Nov

Today I ran into a nice one installing XenApp 6.5 on a fresh Server 2008R2 installation. When clicking on the part to install the XenApp server role I got a popup saying StartupIndicator.exe exited with error code -1. In the logfile I found 2 different errors:

[11/29/2012 4:20:17 PM][4336][Error] Thrown Exception = ‘E:\Xenapp 65 deploy\XenApp65\XA65\XenApp Server Role Manager\Startup\StartupIndicator.exe’ exited with error code -1.
Inner Exception:
System.ComponentModel.Win32Exception: Unknown error (0xffffffff)

&&

16:22:16: Information – CIniParser::parseInput(86) – Path to .Net 32-bit: \dotnetfx35setup.exe
16:22:16: Information – CIniParser::parseInput(89) – Path to .Net 64-bit: \dotnetfx35setup.exe
16:22:16: Error – IniFile::getKeyValue(29) – Failed to find the value for section NETEXECUTABLE key DotNetRequiredVersion

Solution

It took me a while before I realised that in an earlier part of our deployment I cleared the COMPLUS_ENABLE_64BIT flag (some of our apps require this). You can clear it with the following command:

C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Ldr64.exe setwow

So if you have done the same, set the flag back to 64bit with the following command:

C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Ldr64.exe set64

Run your XenApp installation and it should run fine. Then you can clear the flag again.

Comments

  • George, is saying:

    I am still getting the same erro msg

    Reply this message
  • George, is saying:

    StartupIndicator.exe exited with code -1. I have rebuild my vm win server 2k8 std, entp again back to square one. Any help would be gr8

    Reply this message
  • mark, is saying:

    Hi George. It can ofcourse be that you’re presented with the same error with a different cause. If you send me your installation logfile I’ll have a look. You can send it to support (at) markbrilman (dot) nl

    Reply this message

Leave a Reply