本文介绍了Azure存储模拟器将不会安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法通过Web平台安装程序安装Azure存储模拟器。

  ===日志记录开始:2014年4月25日10点34分55秒===
行动开始10点34分55秒:安装。
行动开始10点34分55秒:AppSearch。
行动结束10点34分55秒:AppSearch。返回值1。
行动开始10点34分55秒:FindRelatedProducts。
行动结束10点34分55秒:FindRelatedProducts。返回值1。
行动开始10点34分55秒:LaunchConditions。
行动结束10点34分55秒:LaunchConditions。返回值1。
行动开始10点34分55秒:ValidateProductID。
行动结束10点34分55秒:ValidateProductID。返回值1。
行动开始10点34分55秒:CostInitialize。
行动结束10点34分55秒:CostInitialize。返回值1。
行动开始10点34分55秒:FileCost。
行动结束10点34分55秒:FileCost。返回值1。
行动开始10点34分55秒:SetREINSTALLMODE。
行动结束10点34分55秒:SetREINSTALLMODE。返回值1。
行动开始10点34分55秒:CostFinalize。
行动结束10点34分55秒:CostFinalize。返回值1。
行动开始10点34分55秒:SetCommandForRunInitialize。
行动结束10点34分55秒:SetCommandForRunInitialize。返回值1。
行动开始10点34分55秒:InstallValidate。
行动结束10点34分55秒:InstallValidate。返回值1。
行动开始10点34分55秒:InstallInitialize。
行动结束10点34分55秒:InstallInitialize。返回值1。
行动开始10点34分55秒:RemoveExistingProducts。
行动结束10点34分55秒:RemoveExistingProducts。返回值1。
行动开始10点34分55秒:ProcessComponents。
行动结束10点34分55秒:ProcessComponents。返回值1。
行动开始10点34分55秒:UnpublishFeatures。
行动结束10点34分55秒:UnpublishFeatures。返回值1。
行动开始10点34分55秒:RemoveRegistryValues​​。
行动结束10点34分55秒:RemoveRegistryValues​​。返回值1。
行动开始10点34分55秒:RemoveShortcuts。
行动结束10点34分55秒:RemoveShortcuts。返回值1。
行动开始10点34分55秒:RemoveFiles。
行动结束10点34分55秒:RemoveFiles。返回值1。
行动开始10点34分55秒:InstallFiles。
行动结束10点34分55秒:InstallFiles。返回值1。
行动开始10点34分55秒:RunInitialize。
行动结束10点34分55秒:RunInitialize。返回值1。
行动开始10点34分55秒:CreateShortcuts。
行动结束10点34分55秒:CreateShortcuts。返回值1。
行动开始10点34分55秒:WriteRegistryValues​​。
行动结束10点34分55秒:WriteRegistryValues​​。返回值1。
行动开始10点34分55秒:RegisterUser。
行动结束10点34分55秒:RegisterUser。返回值1。
行动开始10点34分55秒:RegisterProduct。
行动结束10点34分55秒:RegisterProduct。返回值1。
行动开始10点34分55秒:PublishFeatures。
行动结束10点34分55秒:PublishFeatures。返回值1。
行动开始10点34分55秒:PublishProduct。
行动结束10点34分55秒:PublishProduct。返回值1。
行动开始10点34分55秒:InstallFinalize。
CAQuietExec:Windows Azure的存储模拟器3.0.0.0命令行工具
CAQuietExec:错误:没有可用的SQL实例被发现。
CAQuietExec:错误0xfffffff6:命令行返回错误。
CAQuietExec:错误0xfffffff6:CAQuietExec失败
CustomAction RunInitialize返回实际的错误code 1603(注意,这可能不是100%准确的翻译,如果沙箱里面发生了)
行动结束10点38分33秒:InstallFinalize。返回值3。
行动结束10点38分34秒:安装。返回值3。
属性(S):升级code = {CF5CD495-AEDE-42DA-B7CF-A70D398D4E6A}
属性(S):RunInitialize =C:\\ Program Files文件(x86)的\\微软的SDK \\的Windows Azure \\存储模拟器\\ WAStorageEmulator.exe的init -forcecreate -autodetect
属性(S):DOTNET4FULL = 4.5.51641
属性(S):LOCALDBINSTALLED = C:\\ Program Files文件(x86)的\\ Microsoft SQL Server的\\ 110 \\的LocalDB \\ BINN \\ SqlUserInstance.dll
属性(S):SQLEX preSSVERSION = 10.0.2531.0
属性(S):TARGETDIR = G:\\
属性(S):StorageEmulatorMenuFolder = C:\\ ProgramData \\微软\\ WINDOWS \\开始菜单\\程序\\ Windows Azure的\\存储模拟器\\
属性(S):STORAG​​EEMUDIR = C:\\ Program Files文件(x86)的\\微软的SDK \\的Windows Azure \\存储模拟器\\
属性(S):WixUIRMOption = UseRM
属性(S):ALLUSERS = 1
属性(S):ARPNOMODIFY = 1
属性(S):重建= amus
属性(S):WindowsAzureMenuFolder = C:\\ ProgramData \\微软\\ WINDOWS \\开始菜单\\程序\\ Windows Azure的\\
属性(S):ProgramMenuFolder = C:\\ ProgramData \\微软\\ WINDOWS \\开始菜单\\程序\\
属性(S):WINDOWSAZUREDIR = C:\\ Program Files文件(x86)的\\微软的SDK \\的Windows Azure \\
属性(S):MICROSOFTSDKSDIR = C:\\ Program Files文件(x86)的\\微软的SDK \\
属性(S):ProgramFilesFolder = C:\\ Program Files文件(x86)的\\
属性(S):SourceDir = C:\\用户\\ win8的\\应用程序数据\\本地\\微软\\ Web平台安装程序\\安装\\ WindowsAzureStorageEmulator.3.0 \\ 1356EC2B8E2DBE40C737E5555DD11DFA1BE1AB47 \\
属性(S):MSIRMSHUTDOWN = 1
属性(S):WIXUI_INSTALLDIR = INSTALLDIR
属性(S):ARPSYSTEMCOMPONENT = 1
属性(S):DefaultUIFont = WixUI_Font_Normal
属性(S):WixUI_Mode =最小
属性(S):制造商=微软公司
属性(S):产品code = {6DFDA7BE-32F0-4E6F-B304-3567E656D18C}
属性(S):ProductLanguage = 1033
属性(S):产品名称=的Windows Azure存储模拟器 - V3.0
属性(S):=的ProductVersion 3.0.6848.39
属性(S):ErrorDialog = ErrorDlg
属性(S):SecureCustomProperties = NEWERVERSIONDETECTED; OLDEMULATORPACKAGEDETECTED; OLDERVERSIONDETECTED
属性(S):WixPdbPath = o:\\bttemp\\149736\\obj.amd64fre\\services\\xstore\\rdpackages\\storageemulatorpackage\\objfre\\amd64\\en-us\\WindowsAzureStorageEmulator.wixpdb
属性(S):MsiLogFileLocation = C:\\用户\\ win8.hub \\应用程序数据\\本地的\\ Temp \\ WindowsAzureStorageEmulator.txt
属性(S):包code = {C5E0C90F-EFDF-4030-8F5D-2A3AF97D8B80}
属性(S):ProductState = -1
属性(S):包codeChanging = 1
属性(S):重新启动= ReallySup preSS
属性(S):currentDirectory所= C:\\ WINDOWS \\ Syswow64资料
属性(S):CLIENTUILEVEL = 3
属性(S):CLIENTPROCESSID = 5180
属性(S):VersionDatabase = 200
属性(S):VersionMsi = 5.00
属性(S):VersionNT = 603
属性(S):VersionNT64 = 603
属性(S):WindowsBuild = 9600
属性(S):ServicePackLevel = 0
属性(S):ServicePackLevelMinor = 0
属性(S):MsiNTProductType = 1
属性(S):WindowsFolder = C:\\ WINDOWS \\
属性(S):WindowsVolume = C:\\
属性(S):System64Folder = C:\\ WINDOWS \\ SYSTEM32 \\
属性(S):SystemFolder = C:\\ WINDOWS \\ Syswow64资料\\
属性(S):RemoteAdminTS = 1
属性(S):TempFolder = C:\\用户\\ win8.hub \\应用程序数据\\本地的\\ Temp \\
属性(S):CommonFilesFolder = C:\\ Program Files文件(x86)的\\ Common Files文件\\
属性(S):ProgramFiles64Folder = C:\\ Program Files文件\\
属性(S):CommonFiles64Folder = C:\\ Program Files文件\\ Common Files文件\\
属性(S):AppDataFolder = C:\\用户\\ win8的\\应用程序数据\\漫游\\
属性(S):FavoritesFolder = C:\\用户\\ win8的\\收藏夹\\
属性(S):NetHoodFolder = C:\\用户\\ win8的\\应用程序数据\\漫游\\微软\\ WINDOWS \\网络快捷键\\
属性(S):PersonalFolder = C:\\用户\\ win8的\\文档\\
属性(S):PrintHoodFolder = C:\\用户\\ win8的\\应用程序数据\\漫游\\微软\\ WINDOWS \\打印机快捷键\\
属性(S):RecentFolder = C:\\用户\\ win8的\\应用程序数据\\漫游\\微软\\ WINDOWS \\最新\\
属性(S):SendToFolder = C:\\用户\\ win8的\\应用程序数据\\漫游\\微软\\ WINDOWS \\的SendTo \\
属性(S):TemplateFolder = C:\\ ProgramData \\微软\\ WINDOWS \\模板\\
属性(S):COMMONAPPDATAFOLDER = C:\\ ProgramData \\
属性(S):LocalAppDataFolder = C:\\用户\\ win8的\\应用程序数据\\本地\\
属性(S):MyPicturesFolder = C:\\用户\\ win8的\\图片\\
属性(S):AdminToolsFolder = C:\\ ProgramData \\微软\\ WINDOWS \\开始菜单\\程序\\管理工具\\
属性(S):StartupFolder = C:\\ ProgramData \\微软\\ WINDOWS \\开始菜单\\程序\\启动\\
属性(S):StartMenuFolder = C:\\ ProgramData \\微软\\ WINDOWS \\开始菜单\\
属性(S):DesktopFolder = C:\\用户\\公用\\桌面\\
属性(S):FontsFolder = C:\\ WINDOWS \\ Fonts \\中
属性(S):GPTSupport = 1
属性(S):OLEAdvtSupport = 1
属性(S):ShellAdvtSupport = 1
属性(S):MsiAMD64 = 6
属性(S):Msix64 = 6
属性(S):英特尔= 6
属性(S):PhysicalMemory的= 8142
属性(S):虚拟内存= 5083
属性(S):ADMINUSER = 1
属性(S):MsiTrueAdminUser = 1
属性(S):LogonUser的= win8的
属性(S):UserSID = S-1-5-21-1097169495-1557939910-592522955-27415
属性(S):UserLanguageID = 1033
属性(S):计算机= win8的
属性(S):SystemLanguageID = 1033
属性(S):ScreenX = 1024
属性(S):ScreenY = 768
属性(S):CaptionHeight = 23
属性(S):BorderTop = 1
属性(S):BorderSide = 1
属性(S):textHeight不同= 16
属性(S):TextInternalLeading = 3
属性(S):ColorBits = 32
属性(S):TTCSupport = 1
属性(S):时间= 10时38分34秒
属性(S):日期= 2014年4月25日
属性(S):MsiNetAssemblySupport = 4.0.30319.33440
属性(S):MsiWin32AssemblySupport = 6.3.9600.16384
属性(S):RedirectedDllSupport = 2
属性(S):MsiRunningElevated = 1
属性(S):特权= 1
属性(S):USERNAME = win8的
属性(S):数据库= C:\\ WINDOWS \\ Installer程序\\ fab232b.msi
属性(S):OriginalDatabase = C:\\用户\\ win8的\\应用程序数据\\本地\\微软\\ Web平台Installer\\installers\\WindowsAzureStorageEmulator.3.0\\1356EC2B8E2DBE40C737E5555DD11DFA1BE1AB47\\WindowsAzureStorageEmulator.msi
属性(S):UILevel = 2
属性(S):ACTION = INSTALL
属性(S):ROOTDRIVE = G:\\
属性(S):CostingComplete = 1
属性(S):OUTOFDISKSPACE = 0
属性(S):OutOfNoRbDiskSpace = 0
属性(S):PrimaryVolumeSpaceAvailable = 0
属性(S):PrimaryVolumeSpaceRequired = 0
属性(S):PrimaryVolumeSpaceRemaining = 0
属性(S):INSTALLLEVEL = 1
属性(S):SOURCEDIR = C:\\用户\\ win8的\\应用程序数据\\本地\\微软\\ Web平台安装程序\\安装\\ WindowsAzureStorageEmulator.3.0 \\ 1356EC2B8E2DBE40C737E5555DD11DFA1BE1AB47 \\
属性(S):SourcedirProduct = {6DFDA7BE-32F0-4E6F-B304-3567E656D18C}
属性(S):ProductToBeRegistered = 1
MSI(S)(34:88)[10:38:34:039]:产品:Windows Azure的存储模拟器 - 3.0 - 安装失败。MSI(S)(34:88)10:38:34:039]:Windows安装安装产品。产品名称:Windows Azure存储模拟器 - V3.0。产品版本:3.0.6848.39。产品语言:1033制造商:微软公司。安装成功或错误状态:1603。===日志记录停止时间:2014年4月25日10时38分34秒===

我看到但没明白他的意思通过

我只是手动删除它们。重新创建V11.0:

I saw these 2 files

but it still fails to install.

Edit 2

This is the errors I see

Log Name:      Application
Source:        SQLLocalDB 11.0
Date:          5/5/2014 9:44:32 AM
Event ID:      267
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      chobo2
Description:
LocalDB instance is corrupted. See the Windows Application event log for error details.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="SQLLocalDB 11.0" />
    <EventID Qualifiers="35269">267</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2014-05-05T16:44:32.000000000Z" />
    <EventRecordID>74923</EventRecordID>
    <Channel>Application</Channel>
    <Computer>chobo2</Computer>
    <Security />
  </System>
  <EventData>
  </EventData>
</Event>


Log Name:      Application
Source:        SQLLocalDB 11.0
Date:          5/5/2014 9:44:32 AM
Event ID:      261
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      chobo2
Description:
Cannot access LocalDB instance folder: %%LOCALAPPDATA%%\Microsoft\Microsoft SQL Server Local DB\Instances\<instance name>.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="SQLLocalDB 11.0" />
    <EventID Qualifiers="35269">261</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2014-05-05T16:44:32.000000000Z" />
    <EventRecordID>74922</EventRecordID>
    <Channel>Application</Channel>
    <Computer>chobo2</Computer>
    <Security />
  </System>
  <EventData>
  </EventData>
</Event>
解决方案

I encountered similar issues when updating to v2.5. I tried everything outlined in the various blogs and technet forums with no luck but it seems like the advice given was correct, just slightly different for my case.

  • Uninstall all previous version of azure sdks
    • Optional and probably not related to fixing my issue. I uninstalled all azure sdks, authoring tools, azure tools for VS, azure libraries for .Net, storage emulators and compute emulators.
  • Delete WAStorageEmulatorDb files
    • Next up was to clean up any previous WAStorageEmulator database files. For most users these appear to be kept in c:\users\{user}\WAStorageEmulatorDb*.*.
      • sqllocaldb stop v11.0
      • sqllocaldb delete v11.0
      • manually delete c:\users\{user}\WAStorageEmulatorDb*.*
      • sqllocaldb create v11.0
  • At this point reinstalling Azure SDK 2.5 via Web Platform Installer failed to install with the following error.
    • CAQuietExec: Windows Azure Storage Emulator 3.0.0.0 command line toolCAQuietExec: Error: Cannot create database.CAQuietExec: Error 0xfffffff3: Command line returned an error.CAQuietExec: Error 0xfffffff3: CAQuietExec Failed
  • This is where I noticed my environment was different. Running sqllocaldb info I noticed I had 4 instances, V11.0, two instances which hosted personal databases and a 4th one called MSSQLLocalDB. If you open (localdb)\MSSQLLocalDB in Visual Studio - SQL Server Object Explorer you should should see WAStorageEmulatorDb. The problem for me was that my WAStorageEmulatorDb wasn't being stored in v11.0 as it was for other people, so deleting v11.0 didn't help.
  • Delete WAStorageEmulatorDb files again. So now that I knew where my WAStorageEmulatorDb was, I re-ran the following
    • sqllocaldb stop MSSQLLocalDB
    • sqllocaldb delete MSSQLLocalDB
    • sqllocaldb create MSSQLLocalDB
  • Re-install Azure SDK 2.5 via Web Platform Installer completed successfully.
  • Lastly, running c:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\WAStorageEmulator.exe init followed by c:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\WAStorageEmulator.exe start started successfully.
    • To verify you should also have new c:\users\{user}\WAStorageEmulatorDb34.* files.

这篇关于Azure存储模拟器将不会安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-03 16:53