Public Attributes | |
string | Id |
string | File |
YesNoType | DeleteOnInstall |
YesNoType | DeleteOnUnInstall |
YesNoType | CheckIfExists |
May be nested under Product, Module, Fragment. Deletes a file outside of component rules.
<Wix ... xmlns:AppSecIncSystemTools="http://schemas.appsecinc.com/wix/SystemToolsExtension"> <Product ...> ... <AppSecIncSystemTools:DeleteFile Id="test1" File="[INSTALLLOCATION]OldFile.txt" DeleteOnInstall="yes" CheckIfExists="yes" /> </Product> </Wix>
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).
© Application Security Inc. - All Rights Reserved | http://msiext.codeplex.com |