StartupIndicator.exe exited with error code -1
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][Error] Thrown Exception = ‘E:\Xenapp 65 deploy\XenApp65\XA65\XenApp Server Role Manager\Startup\StartupIndicator.exe’ exited with error code -1.
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
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:
So if you have done the same, set the flag back to 64bit with the following command:
Run your XenApp installation and it should run fine. Then you can clear the flag again.