Installing Windows Azure SDK 1.5 returns - DSInit setup error

When trying installing Windows Azure SDK 1.6 in your machine, it is possible you might hit an error related with Windows Azure Emulator Storage installation in your machine. This is when you already main SDK components are installed and installed is installing Window Azure Storage Emulation components.

 

Windows Azure Storage Emulator Initialization

 System.InvalidOperationException: There is an error in XML document (0,0). -à

 System.Xml.XmlException: Root element is missing….

 

In the Installer log you will see the following error logged:

  • “Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action RunDSInit, location: C:\Program Files\Windows Azure Emulator\emulator\devstore\DSInit.exe, command: /SILENT /NOGUI /FASTTIMEOUT /INSTALL”

 

The root-cause of this problem is that:

  • DSinit is trying to access is C:\Users\<user>\AppData\Local\DevelopmentStorage\DevelompentStorage.config, and based on the exception details it seems the file is corrupt.

 

To solve this problem:

  • Try deleting DevelompentStorage.config file and rerun the setup to solve this problem

 

If you try to load an existing Windows Azure project in Visual Studio, you might hit the following error:

  • “Unable to find fileDFUI.exe please verify your install is correct”.

 

Please try creating a new Windows Azure solution in visual studio, add the existing projects to the solution, then add web roles and Publishworker roles in solution and finally built and run it again. This should get you going.