Windows App Cert Kit (WACK) Log Folder? - windows-10-universal

Where is the current location of the log/dump files from using WACK? Does WACK by default generated them or do you have to manually run WACK to generate them?

Generally, if you're using Visual Studio, you can run the Windows App Certification Kit when you create your app package. See Packaging UWP apps to learn how. In this case, the Windows App Certification Kit creates an HTML along with XML reports and saves it in the path:
C:/Users/UserName/AppData/Local/Microsoft/AppCertKit/
The HTML file name should be ValidationResult.htm.
But if you don't want validate your Windows app when you package your app, you can validate your app later by launching the Windows App Certification Kit directly. See Validate your Windows app using the Windows App Certification Kit interactively to get the steps. When you use this way, you need to select the path to the folder where you want to save the test report(the XML file) at the prompt after the test, but the ValidationResult.htm file is still in the path: C:/Users/UserName/AppData/Local/Microsoft/AppCertKit/

Related

UWP App WPF .Net Core has no access right to dependencies

We're making a new application using WPF .Net Core. To use the auto update function we decided to pack it with the MSIX Packaging Tool as a UWP App in VS2019. I was able to host the appinstaller File on an IIS and to Install the App over a link to that file over the web. Auto updating is also working fine.
Now to the problem:
When I run the installed App it's icon is not showing in the task bar but it is shown in the Task-Manager using a lot of cpu. In the Process Monitor it shows that the App tries to access its dependencies (like PresentationFramework.dll) but is not successful as the result is always "File locked with only readers". The DLL itself is present in the WindowsApps/xxx/ Path. Also I can not start the EXE manually as my user do not have the rights. What am I missing here?
Edit: Also I realized now that my app is only starting as a background process in the task manager and not as an app. When I go to the app directory under WindowsApps/xxx/MyApp I can not start the EXE directly because of no rights as mentioned before. But when I copy the whole folder I can start the EXE, the GUI appears and the app is an app again in the task manager.
We found an answer. As the GUI is a WPF .Net Core Project and we make the setup with a Windows Application Packaging Project to generate a UWP App from it the technology used seems to be the so called Desktop Bridge.
In the process monitor it seems that it tries to access the files under the correct path but somehow it does it not in the right way as long as the application path is not set correctly in the WPF Projects App.xaml.cs.
To fix this use the solution from Andrew Leader

Where do I submit XML reports after WACK has finished?

We have WPF desktop application which we have packed in setup executable. Because of SmartScreen we need to certificate our application. We have used Windows App Certification Kit (WACK) from Windows 10 SDK to generate XML reports. And now we have to submit those reports to Microsoft.
https://learn.microsoft.com/en-us/windows/desktop/win_cert/windows-certification-portal
We have created developer account as company, and when I click on submitting reports:
Test locally and upload the results
After your run the Windows App Certification Kit tests, upload the results to the Windows Certification Dashboard.
https://learn.microsoft.com/en-us/windows-hardware/drivers/dashboard/
It directs me to Windows Hardware Dev Center dashboard?!?
Were do we upload our WACK reports for our desktop application certification?
I have opened a ticket with Microsoft regarding this and it turns out the "classic desktop" logo program has been discontinued.
The only way you can "certify" your application is either the Ready for Windows program or the Windows Desktop Application program.

WPF Desktop Bridge App as chromium native messaging host

I have a client WPF app that uses NativeMessagingHost feature in Chromium browsers.
I've packaged my WPF app into Windows Store Package (.appx) via Desktop Bridge using VisualStudio to publish it in Windows Store in the future.
My app works correctly from Store package. Creates ChromeManifest.json file. But cannot link manifest to chrome NativaMessagingHost name via registry.
Desktop Bridge Apps cannot modify HKCU\Software\Google\Chrome\NativeMessagingHosts\. This is allowed but it's modified in sandbox (proof), so chrome do not see the registry value.
Result: chrome extension cannot find NativeMessagingHost.
NOTE: If I change the registry value to valid value manually via regedit.exe - everything works fine!
So, is there any way/workaround to modify registry key or link ChromeManifest.json from Desktop Bridge App? Maybe on package install?
This is not allowed from a Store app. You would also need to take care of the Chrome-specific registration when the user installs/registers the app as Chrome extension.

How to create windows 10 iot core application icon

I have created an windows 10 iot core application and i created the app bundle in appx format. That's installing properly in windows 10 machine. But i want to install in IOT core board
The package file which i have created like below:
ABC_1.0.9.0_AnyCPU_Debug.appxbundle
I have created through visual studio
You can follow this tutorial to create the the appxbundle.
Then in the windows iot device portal, select add button to install your app like this:
After that, you will see this Dialogļ¼š
Select browse option to find your app bundle and make sure "I want to specify optional packages" selected like this:
Add all the dependencies(.appx). If you're building for MinnowBoard Max, they are in dependencies\x86 path. If you're building for Raspberry Pi 2, Raspberry Pi 3 or the DragonBoard, they are in dependencies\ARM folder.
After that, select next will start the install process. After the process is done successfully you can see your app in the apps list of device portal.

How to publish Windows Phone 8.1 Silverlight app to Windows Phone store?

I created Windows Phone 8.1 Silverlight app, and I can't to upload it into WP store. I want to use Create App Packages tool in Visual Studio 2013 Professional, but it's impossible for Silverlight apps. I read many guides on dev.windows.com. It's necessary to upload only .appx, .appxbundle or .appxupload files, but I have .xap file only in Bin\ARM\Release folder. May anyone help me?
I'm having the same problem, which I just solved.
WP8.1 Silverlight application may not be packaged with the "Create App Packages" tool, so you have to perform several operations manually.
The process is described on msdn (https://msdn.microsoft.com/en-us/library/windows/apps/dn655122%28v=vs.105%29.aspx)
- First you have to start the submission of the app on your msdn dashboard.
- From here, you'll get some informations, such as reserved application name, and several IDs that you have to edit into both WMAppManifest.xml and Package.appxmanifest
- Then you can deploy your app (or run the emulator for release)
- This last step will create the package you can upload.

Resources