Public Attributes

Wix::Extensions::SystemTools::DeleteFile Class Reference

List of all members.

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

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

Delete a file at install time.

Delete a file at uninstall time.

Name of the file to be deleted.

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