Skip to content

Features

Weatherlights edited this page Oct 23, 2024 · 17 revisions

The MSIX-Power-Wrapper includes many features which are documented in this section.

Process

Process can be used to run a process. It is needed to run the wrapped application.

<Process>
  <Filename>[APPDIR]\mymainapp.exe</Filename>
  <WorkingDirectory>[APPDIR]</WorkingDirectory>
  <Arguments>myargument [ARGS]</Arguments>
</Process>
Filename The path to the EXE file you would like to run. This file can be in your package or somewhere else on the filesystem.
WorkingDirectory A path which specified the working directory of the application.
Arguments The arguments that should be passed to the application.

Virtual File (Copy file)

Virtual file is used to copy a file from one location to another. It is intended to be used to move initial configurations from the application folder to the user profile. You can use the variable [APPDIR] to reference the application directory and [APPDATA] to reference the users appdata folder.

<VirtualFile>
  <File>[APPDIR]\myconfig.ini</File>
  <Target>[APPDIR]\myconfig.ini</Target>
  <Overwrite>1</Overwrite>
</VirtualFile>
File The file that you want to copy. You can use the variable `[APPDIR]` to reference the application directory.
Target The location to which you want to copy the file. Use the variable `[APPDATA]` to reference the users appdata folder
Overwrite Should the file be overwritten if it already exists. Set this to 1 for enabled and 0 for disabled (Default is 0).

Clone this wiki locally