Trying to install the flash msi on Azure Wroker role.
Tried the following C# code:
Type type = Type.GetTypeFromProgID("WindowsInstaller.Installer");
Installer installer = (Installer)Activator.CreateInstance(type);
installer.UILevel = MsiUILevel.msiUILevelNone;
installer.InstallProduct(installerpath, "ACTION=INSTALL ACTION=ADMIN
REBOOT=ReallySuppress ALLUSERS=\"\" ");
While locally on the emulator it worked, on the actual VM it failed:
=== Verbose logging started: 10/2/2014 11:17:09 Build type: SHIP UNICODE
5.00.9200.00 Calling process: E:\base\x64\WaWorkerHost.exe ===
MSI (c) (68:EC) : Resetting cached policy values
MSI (c) (68:EC) : Machine policy value 'Debug' is 0
MSI (c) (68:EC) : ******* RunEngine:
MSI (c) (68:EC) : Client-side and UI is none or basic:
Running entire install on the server.
MSI (c) (68:EC) : Grabbed execution mutex.
MSI (c) (68:EC) : Failed to connect to server. Error:
MSI (c) (68:EC) : Note: 1: 2774 2: 0x80070005
1: 2774 2: 0x80070005
MSI (c) (68:EC) : Failed to connect to server.
MSI (c) (68:EC) : MainEngineThread is returning 1601
=== Verbose logging stopped: 10/2/2014 11:17:09 ===
Any idea what "Failed to connect to server. Error: 0x80070005" means ?
I'm not familiar with Azure VMs, and therefore, unfamiliar with Worker Roles in Azure VMs, however, error: 0x80070005 is the standard Microsoft error for Access Denied. Based on the log output you have, the access denied error is being returned when attempting to connect to a server.