0

I am converting my desktop wpf app into uwp, and I am using the desktop app converter, I follow the document here and all works fine, until I run below command:

DesktopAppConverter.exe -Installer "C:\Users\My Name\Desktop\publish installer\setup.exe" -InstallerArguments "/S" -Destination "C:\Result" -PackageName "MyTestApplication" -Publisher "CN=MyTestApplication" -Version 0.0.0.1 -MakeAppx -Verbose

In my desktop app converter screen it shows: Running Installer in Isolated Environment

VERBOSE: No installer valid exit codes specified. Using defaults: 0 VERBOSE: Replace any occurence of in -InstallerArguments with C:\shared\logs VERBOSE: Creating Isolated Environment VERBOSE: Starting the Isolated Environment

Than it seems stuck there forever, is there anyway I can look into what is happening there? It has been running for forty minutes - Shall I still wait for this?

4

1 回答 1

1

Shall I kill my desktop app converter process?

It seems like the application is running in isolated environment that you cannot go on. You may need to stop this progress(may be by Ctrl+C) and retry.

Firstly, please check if your application meet the requirements for converting. See Prepare an app for conversion with the Desktop Bridge. For example, check if your wpf app target version is .Net4.6.1.

Secondly, please try to use InstallerArguments "/S/V/qn" instead of InstallerArguments "/S" since /V pass the parameters to the inside msi from installshield.exe that can avoid pop up. And actually the best practice is that before you convert your app, try to silent install your app by command, if successfully, copy the successful installer arguments to the converter's InstallerArguments, it may ensure converter work well.

In additionally, with installshield packaged, you may need configure the path to your exe file after installation. Details please reference this thread.

于 2017-02-23T09:44:05.877 回答