Advanced Organizing with iFolder: Mastering Seamless File Handling Operations

Advanced Organizing with iFolder: Mastering Seamless File Handling Operations

Timothy Lv8

Advanced Organizing with iFolder: Mastering Seamless File Handling Operations

Table of Contents

Disclaimer: This post includes affiliate links

If you click on a link and make a purchase, I may receive a commission at no extra cost to you.

IFolderOperations

This interface is meant to specify details about folder removal and overwrite behavior. By default Windows Installer will remove only the resources that were installed by the MSI package. This removal operation is intended to be used for external resources created by custom behaviour.

Declaration

IFolderOperations : IDispatch

Properties

Bool RemoveFolder - Gets or sets the option that will enable folder removal.

Bool RemoveOnlyIfEmpty - Gets or sets the option that specifies if the folder will be removed only if it is empty at the moment the operation will execute or the folder will be removed anyway, no matter if it is empty or not.

IComponent Component - Gets or sets the component which will trigger the folder removal operation.

String RemoveOn - Gets or sets the option that specifies the time when the removal will be executed. Supported values: Install, Uninstall, Both.

String RemoveCondition - Gets or sets the condition for the folder removal.

String OverwriteBehavior - Gets or sets the behavior for overwriting the folder contents.
Supported values: OverwriteOlderFiles if the files from the folder on the target machine are older than the one included in the package, they will be overwritten AlwaysOverwrite the files from this folder in your package will overwrite any similar files already present on the target computer. Usually this can be used when performing a downgrade (install files older than the ones already installed) or for non-versioned files which don’t overwrite the existing files. DoNotOverwrite content will not be overwritten if the OverwriteCondition is satisfied.

String OverwriteCondition - Condition when the folder content will be preserved. Condition will work only for DoNotOverwrite overwrite behavior.

See also

IAdvinstProject

IFolder

IPredefinedFolders

Did you find this page useful?

Please give it a rating:

Thanks!

Report a problem on this page

Information is incorrect or missing

Information is unclear or confusing

Something else

Can you tell us what’s wrong?

Send message

Also read:

  • Title: Advanced Organizing with iFolder: Mastering Seamless File Handling Operations
  • Author: Timothy
  • Created at : 2024-11-15 19:29:13
  • Updated at : 2024-11-21 20:40:53
  • Link: https://fox-within.techidaily.com/advanced-organizing-with-ifolder-mastering-seamless-file-handling-operations/
  • License: This work is licensed under CC BY-NC-SA 4.0.
On this page
Advanced Organizing with iFolder: Mastering Seamless File Handling Operations