You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@ This repository hosts samples for the [Windows App SDK](https://github.com/micro
15
15
16
16
#### Deployment
17
17
-[Deployment Manager](Samples/DeploymentManager): This sample demonstrates how to initialize and access deployment information for the Windows App SDK runtime.
18
+
-[Installer](Samples/Installer): This sample demonstrates how to launch the Windows App SDK installer without a console window.
18
19
-[Unpackaged](Samples/Unpackaged): These samples demonstrate auto-initialization with the Windows App SDK package from non-MSIX (unpackaged) application.
description: "Shows how to use CreateProcess to launch the installer without a console window."
11
+
urlFragment: installer
12
+
---
13
+
# Installer launch sample
14
+
15
+
This sample demonstrates how to launch the WindowsAppRuntimeInstall.exe without having a pop-up
16
+
window appearing while it is running. This sample is intended for Win32 programs which have setup
17
+
programs that need to embed the WindowsAppSDK without any pop-up windows.
18
+
19
+
## Requirements
20
+
21
+
- This sample requires downloading WindowsAppRuntimeInstall.exe from [here](https://docs.microsoft.com/windows/apps/windows-app-sdk/downloads) or building a version of it.
22
+
23
+
- This sample assumes that WindowsAppRuntimeInstall.exe will be in %USERPROFILE%\Downloads for convenience.
24
+
If a different path is desired, it can be specified in the #define at the top in main.cpp.
25
+
26
+
- Before building the sample, make sure to set up your environment correctly by following the steps [here](https://docs.microsoft.com/windows/apps/windows-app-sdk/set-up-your-development-environment).
27
+
28
+
## Building and running any of the samples
29
+
30
+
1. Download WindowsAppRuntimeInstall.exe from [here](https://docs.microsoft.com/windows/apps/windows-app-sdk/downloads) or build a version of it, and place it in
31
+
%USERPROFILE%\Downloads.
32
+
2. Open the solution file (.sln) in the sample.
33
+
3. Build the solution.
34
+
4. Debug the project.
35
+
36
+
*Caution, this sample will execute whatever executable is at the specified path. It is recommended
37
+
to build the Installer with test packages from the WindowsAppSDK project or use a simple "Hello,
38
+
World" console application as the executable to avoid modifying the system with the sample.*
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
0 commit comments