1.    28 Sep 2016 #1
    Join Date : Sep 2016
    Posts : 4
    Windows 10

    Desktop App Converter -- app converted but doesn't run, how to debug?

    I have been able to successfully convert a Win32 app to .appx using Desktop App Converter with the -Sign flag. Then I copied the self-signed certificate to Trusted Root. The .appx seems to install correctly to C:\Program files\WindowsApps\<my_app> and a shortcut to the main executable is added to the Start Menu. However, at this point the app doesn't run, unless I change some permissions* in its installation path.

    How can I debug this issue? I can't seem to have access to an Event Viewer type of log for this sandboxed app.

    Update: Turns out there was a problem with my .exe. I replaced it with the .exe from the Notepad++ package (and added other files required for Notepad++ to run) and all went as expected. I still don't know how to debug a case like this as there is no apparent output when something goes wrong.

    *By default, users cannot open C:\Program files\WindowsApps in Windows Explorer but a user with administrator privileges can take ownership of this folder and its subfolders. I did this and I still couldn't launch the .exe. Then I gave my user full control over the installation folder of my app. Success, now I can launch and run the app by double-clicking the .exe, but not from the app shortcut in the Start Menu.
    Last edited by Pegasone; 29 Sep 2016 at 06:24.
      My ComputerSystem Spec


Similar Threads
Thread Forum
Solved Desktop App Converter -- signing .appx package for distribution?
Anybody know if/how an .appx package created using the Desktop App Converter tool can be digitally signed for distribution, without purchasing a cert from a CA?
Software and Apps
Desktop App Converter - silent installer?
One of the requirements for successfully running the Desktop App Converter app, now available on Windows Store, is a silent installer for the desktop application to convert to appx package. I would like to ask the TenForums users for suggestions on...
Software and Apps
What's new in Desktop App Converter Preview (Project Centennial)
What's new in Desktop App Converter Preview (Project Centennial) Read more and Source: https://msdn.microsoft.com/en-us/windows/uwp/porting/desktop-to-uwp-run-desktop-app-converter
Windows 10 News
Once installed - all desktop shortcuts gone - have a clean slate
I tried to install windows 10 - it seemed to work but then all my desktop shortcuts were gone and I couldn't access anything - unless I searched one by one each file....what have I done wrong and why is everything gone ?? I need all my information...
General Support
Solved Changes made in the desktop folder doesn't change on the desktop.
Hi! I'll describe my problem with an example. Let's say I'm moving a file to the desktop (the folder in Windows Explorer). When I then check the desktop, the file isn't there. My problem is that changes that are either made to the desktop or the...
General Support
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 00:18.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App

Windows 10 Forums