Public Attributes | List of all members
Wix::Extensions::SystemTools::DeleteFile Class Reference

Public Attributes

string Id
 
string File
 
YesNoType DeleteOnInstall
 
YesNoType DeleteOnUnInstall
 
YesNoType CheckIfExists
 

Detailed Description

May be nested under Product, Module, Fragment. Deletes a file outside of component rules.

Example:
<Wix ... xmlns:AppSecIncSystemTools="http://schemas.appsecinc.com/wix/SystemToolsExtension">
<Product ...>
...
<AppSecIncSystemTools:DeleteFile Id="test1" File="[INSTALLLOCATION]OldFile.txt" DeleteOnInstall="yes" CheckIfExists="yes" />
</Product>
</Wix>

Member Data Documentation

YesNoType Wix::Extensions::SystemTools::DeleteFile::CheckIfExists

Check whether a file exists before deleting it. If CheckIfExists is "no" and the file doesn't exist, the custom action will fail.

YesNoType Wix::Extensions::SystemTools::DeleteFile::DeleteOnInstall

Delete a file at install time.

YesNoType Wix::Extensions::SystemTools::DeleteFile::DeleteOnUnInstall

Delete a file at uninstall time.

string Wix::Extensions::SystemTools::DeleteFile::File

Name of the file to be deleted.

string Wix::Extensions::SystemTools::DeleteFile::Id

Identifier for the file deleted operation (primary key).


The documentation for this class was generated from the following file:


© Application Security Inc. - All Rights Reserved http://msiext.codeplex.com