Skip to content

WiX Preprocessor Extension allowing to check whether a file exist e.g. for inclusion into installer.

Notifications You must be signed in to change notification settings

misuo/WixFileExistExtension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

WixFileExistExtension

WiX Preprocessor Extension allowing to check whether a file exist e.g. for inclusion into installer.

This extension solves issue #3335 / #1538

Build

Builds using Visual Studio solution. Source code in C# and implements a preprocesor extension as desribed in:

  1. Creating a Skeleton WiX Extension

  2. Creating a Preprocessor Extension

Usage

In a WiX source file you can use:

<?if $(fs.FileExist(...) = "1" ?>
<?endif>

where ... is the path to the file to examine. May itself contain WiX variables.

About

WiX Preprocessor Extension allowing to check whether a file exist e.g. for inclusion into installer.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages