Skip to content

Latest commit

 

History

History
45 lines (37 loc) · 2.53 KB

File metadata and controls

45 lines (37 loc) · 2.53 KB
page_type languages products name urlFragment description extendedZipContent
sample
cpp
windows
windows-app-sdk
windows-api-win32
Installer launch sample
installer
Shows how to use CreateProcess to launch the installer without a console window.
path target
LICENSE
LICENSE

Installer launch sample

This sample demonstrates how to launch the Windows App SDK installer, WindowsAppRuntimeInstall.exe, without having a pop-up window appearing while it is running. This sample is intended for Win32 programs which have setup programs that need to embed the Windows App SDK without any pop-up windows.

Prerequisites

Building and running any of the samples

  • Download WindowsAppRuntimeInstall.exe from the Installer and MSIX packages in Downloads for the Windows App SDK or build a version of it, and place it in your local %USERPROFILE%\Downloads folder..
  • Open the solution file (.sln) from the subfolder of your preferred sample in Visual Studio.
  • From Visual Studio, either Start Without Debugging (Ctrl+F5) or Start Debugging (F5).

Caution, this sample will execute whatever executable is at the specified path. It is recommended to build the Installer with test packages from the WindowsAppSDK project or use a simple "Hello, World" console application as the executable to avoid modifying the system with the sample.

Related Links