Efficient File Management Techniques Using iFolder Operations

Efficient File Management Techniques Using iFolder Operations

Kenneth Lv8

Efficient File Management Techniques Using iFolder 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.

https://techidaily.com

Declaration

IFolderOperations : IDispatch

https://techidaily.com

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.

https://techidaily.com

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: Efficient File Management Techniques Using iFolder Operations
  • Author: Kenneth
  • Created at : 2024-10-08 03:40:03
  • Updated at : 2024-10-10 22:04:53
  • Link: https://fox-sys.techidaily.com/efficient-file-management-techniques-using-ifolder-operations/
  • License: This work is licensed under CC BY-NC-SA 4.0.
On this page
Efficient File Management Techniques Using iFolder Operations