locked
Desktop App Converter - Failing in Preparing Virtual File System RRS feed

  • Question

  • Hi,

    I'm trying to convert my desktop Win32 app to universal windows app for WinStore. I'm using DesktopAppConverter and it's failing with following error:

    Preparing Virtual File System

    VERBOSE: Begin Convert-Files...
    VERBOSE: Renaming 'Files' directory to 'VFS'...
    VERBOSE: Removing VFS noise...
    VERBOSE: Filtering out VFS noise based on rules in C:\dac\converter_util\file_pruner_rules.csv
    VERBOSE: Begin stripping unnecessary file metadata...
    VERBOSE: Getting count of files under C:\DesktopAppConverter\ad8a3fd6-6703-47b0-bc16-99709a12e486\output\VFS
    VERBOSE: Processing metadata on 28563 files...
    VERBOSE: An error occurred. Refer to logs in C:\DesktopAppConverter\ad8a3fd6-6703-47b0-bc16-99709a12e486\logs
    MetadataProcessor.exe : Error code: 80004005
    At C:\dac\converter_util\VfsOps.ps1:37 char:9
    +         & $MetadataProcessorExecutable $fileWithBackupMetadata $file. ...
    +         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (Error code: 80004005:String) [], RemoteException
        + FullyQualifiedErrorId : NativeCommandError

    Here's detail of machine environment:

    Build Preview# 14332

    Base Image - BaseImage-14316.wim

    Following is the commandline i'm using:

    PS C:\dac> .\DesktopAppConverter.ps1 -ExpandedBaseImage C:\ProgramData\Microsoft\Windows\Images\BaseImage-14316 -Installer C:\installer\Set-up.exe -InstallerArguments "--mode=silent --deploymentFile=C:\installer\deploy\install\install.xml" -Destination C:\Output\pse14 -PackageName "pse14" -Publisher "CN=APPX_TEST_ROOT" -Version 0.0.0.1 -MakeAppx -Verbose -InstallerValidExitCodes 0


    Following is the complete log:

    [2016-04-29T14:08:48] Log files can be found in C:\DesktopAppConverter\ad8a3fd6-6703-47b0-bc16-99709a12e486\logs
    [2016-04-29T14:08:48] Desktop App Converter Preview 0.1.8.release_2016-04-05_17-47_5aa8cc
    [2016-04-29T14:08:48] --------------------------------------------------


    Checking Prerequisites


    [2016-04-29T14:08:48] Checking Windows Version to ensure it meets minimum requirements
    [2016-04-29T14:08:48] Minimum Windows Version requirement is met.
    [2016-04-29T14:08:48] Testing for required feature enabled...
    [2016-04-29T14:08:50] Required feature is enabled.
    [2016-04-29T14:08:51] Checking if Microsoft Windows 10 SDK is installed...
    [2016-04-29T14:08:51] Checking if makeappx.exe is available in the Microsoft Windows 10 SDK tools...
    [2016-04-29T14:08:51] --------------------------------------------------


    Validating Input


    [2016-04-29T14:08:51] Ensuring the provided Installer (C:\installer\Set-up.exe) exists
    [2016-04-29T14:08:51] Checking if Destination (C:\Output\pse14) exists
    [2016-04-29T14:08:51] C:\Output\pse14 does not exist. Creating it...
    [2016-04-29T14:08:51] Ensuring that this script has write permissions to C:\Output\pse14...
    [2016-04-29T14:08:51] Checking that the ExpandedBaseImage (C:\ProgramData\Microsoft\Windows\Images\BaseImage-14316) is valid
    [2016-04-29T14:08:51] --------------------------------------------------


    Setting up Conversion Environment


    [2016-04-29T14:08:51] Checking network config...
    [2016-04-29T14:08:51] Checking virtual network: "Windows Desktop App Converter Network"
    [2016-04-29T14:08:51] Using virtual network: "Windows Desktop App Converter Network"
    [2016-04-29T14:08:51] Creating folder to share with isolated environment at C:\DesktopAppConverter\ad8a3fd6-6703-47b0-bc16-99709a12e486\shared
    [2016-04-29T14:08:51] Copying contents of C:\installer to C:\DesktopAppConverter\ad8a3fd6-6703-47b0-bc16-99709a12e486\shared to be shared with isolated environment
    [2016-04-29T14:09:19] --------------------------------------------------


    Initializing AppxManifest.xml


    [2016-04-29T14:09:19] Attempting to set appx manifest property 'PackageName' to 'pse14'.
    [2016-04-29T14:09:19] Attempting to set appx manifest property 'Publisher' to 'CN=APPX_TEST_ROOT'.
    [2016-04-29T14:09:19] Attempting to set appx manifest property 'Version' to '0.0.0.1'.
    [2016-04-29T14:09:19] No value provided for appx manifest property 'PackagePublisherDisplayName'. Attempting to set it to the default value 'CN=APPX_TEST_ROOT'
    [2016-04-29T14:09:19] Attempting to set appx manifest property 'PackagePublisherDisplayName' to 'CN=APPX_TEST_ROOT'.
    [2016-04-29T14:09:19] No value provided for appx manifest property 'PackageDisplayName'. Attempting to set it to the default value 'pse14'
    [2016-04-29T14:09:19] Attempting to set appx manifest property 'PackageDisplayName' to 'pse14'.
    [2016-04-29T14:09:19] No value provided for appx manifest property 'AppDescription'. Attempting to set it to the default value 'pse14'
    [2016-04-29T14:09:19] Attempting to set appx manifest property 'AppDescription' to 'pse14'.
    [2016-04-29T14:09:19] No value provided for appx manifest property 'AppDisplayName'. Attempting to set it to the default value 'pse14'
    [2016-04-29T14:09:19] Attempting to set appx manifest property 'AppDisplayName' to 'pse14'.
    [2016-04-29T14:09:19] No value provided for appx manifest property 'AppId'. Attempting to set it to the default value 'pse14'
    [2016-04-29T14:09:19] Attempting to set appx manifest property 'AppId' to 'pse14'.
    [2016-04-29T14:09:19] --------------------------------------------------


    Running Installer in Isolated Environment


    [2016-04-29T14:09:19] No installer valid exit codes specified. Using defaults: 0
    [2016-04-29T14:09:19] Replace any occurence of <log_folder> in -InstallerArguments with
    [2016-04-29T14:09:19] Running installer command in isolated environment:
    [2016-04-29T14:09:19] Command Line = "C:\installer\Set-up.exe" --mode=silent --deploymentFile=C:\installer\deploy\install\install.xml
    [2016-04-29T14:24:21] Moving any logs in C:\DesktopAppConverter\ad8a3fd6-6703-47b0-bc16-99709a12e486\shared\logs to C:\DesktopAppConverter\ad8a3fd6-6703-47b0-bc16-99709a12e486\logs
    [2016-04-29T14:24:21] Output export complete. Moving output from C:\DesktopAppConverter\ad8a3fd6-6703-47b0-bc16-99709a12e486\output\export to C:\DesktopAppConverter\ad8a3fd6-6703-47b0-bc16-99709a12e486\output
    [2016-04-29T14:24:21] Checking installer exit code 0 to ensure it is indicative of success
    [2016-04-29T14:24:21] Isolated Installer Run Complete!
    [2016-04-29T14:24:21] --------------------------------------------------


    Preparing Virtual Registry


    [2016-04-29T14:24:21] Begin Convert-Registry...
    [2016-04-29T14:24:21] Converting Registry Hive Deltas to Registry.dat...
    [2016-04-29T14:24:22] --------------------------------------------------


    Preparing Virtual File System


    [2016-04-29T14:24:22] Begin Convert-Files...
    [2016-04-29T14:24:22] Renaming 'Files' directory to 'VFS'...
    [2016-04-29T14:24:22] Removing VFS noise...
    [2016-04-29T14:24:34] Filtering out VFS noise based on rules in C:\dac\converter_util\file_pruner_rules.csv
    [2016-04-29T14:25:12] Begin stripping unnecessary file metadata...
    [2016-04-29T14:25:12] Getting count of files under C:\DesktopAppConverter\ad8a3fd6-6703-47b0-bc16-99709a12e486\output\VFS
    [2016-04-29T14:25:15] Processing metadata on 28563 files...
    [2016-04-29T14:41:26] An error occurred. Refer to logs in C:\DesktopAppConverter\ad8a3fd6-6703-47b0-bc16-99709a12e486\logs
    [2016-04-29T14:41:26] Error code: 80004005
    [2016-04-29T14:41:26] at Process-BackupMetadata, C:\dac\converter_util\VfsOps.ps1: line 37
    at Convert-Files, C:\dac\converter_util\VfsOps.ps1: line 89
    at <ScriptBlock>, C:\dac\DesktopAppConverter.ps1: line 411
    at <ScriptBlock>, <No file>: line 1

    Please let me know how to fix this error and move forward.

    <object data-extension-version="0.5.0.161" data-install-updates-user-configuration="true" data-supports-flavor-configuration="true" id="__symantecPKIClientMessenger" style="display:none;"></object>
    • Edited by neong87 Thursday, May 12, 2016 9:50 AM
    Thursday, May 12, 2016 9:38 AM

Answers

  • Hi neong87,

    >>Build Preview# 14332 Base Image - BaseImage-14316.wim

    There are known issue in Windows 10 Insider Preview Build 14332, see Known Issue: Cannot run the Desktop App Converter on Windows 10 Insider Preview Build 14332

    Desktop App Converter update for OS Flight 14342 is available. This was an important update because this flight enabled support for Pro sku as well as fixing the problem where previous OS flights broke the converter.

    Please try to upgrade your OS to Build 14342 and try  the latest converter

    Summary of the changes can be found on the "What’s New" section of the MSDN page.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Friday, May 13, 2016 9:34 AM

All replies

  • Hi neong87,

    >>Build Preview# 14332 Base Image - BaseImage-14316.wim

    There are known issue in Windows 10 Insider Preview Build 14332, see Known Issue: Cannot run the Desktop App Converter on Windows 10 Insider Preview Build 14332

    Desktop App Converter update for OS Flight 14342 is available. This was an important update because this flight enabled support for Pro sku as well as fixing the problem where previous OS flights broke the converter.

    Please try to upgrade your OS to Build 14342 and try  the latest converter

    Summary of the changes can be found on the "What’s New" section of the MSDN page.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Friday, May 13, 2016 9:34 AM
  • Hi the download link to the latest version of the converter is not working.

    Is there another way to get it?

    Thanks in advance

    Friday, May 27, 2016 1:30 PM
  • Hi the download link to the latest version of the converter is not working.

    Is there another way to get it?

    Thanks in advance

    Hi CitrixAmsterdam,

    The download link has been fixed now


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Saturday, May 28, 2016 2:01 PM