IText File Update Component: Efficient Text Handling
IText File Update Component: Efficient Text Handling
Table of Contents
- Introduction
- Registration
- Using Advanced Installer
- GUI
- Working with Projects
- Installer Project
- Patch Project
- Merge Module Project
- Updates Configuration Project
- Windows Store App Project
- Modification Package Project
- Optional Package Project
- Windows Mobile CAB Projects
- Visual Studio Extension Project
- Software Installer Wizards - Advanced Installer
- Visual Studio integration
- Alternative to AdminStudio/Wise
- Replace Wise
- Migrating from Visual Studio Installer
- Keyboard Shortcuts
- Shell Integration
- Command Line
- Advanced Installer PowerShell Automation Interfaces
* IAdvancedInstaller
* IAdvinstProject
* IProductDetails
* IFolder
* ILaunchConditionsComponent
* IFilesComponent
* IIniFilesComponent
* IShortcut
* ITempFile
* IXmlFile
* IDirectoryMember
* IRegistryComponent
* IInstallParameters
* IBuildComponent
* ITextFileUpdatesComponent
* ITextUpdateFile
* ITextUpdateAppendOrCreate
* ITextUpdateReplace
* IFileAssociations
* IDefaultProgramFA
* IExtensionFA
* IProgIdFA
* IVerbFA
* IEnvironment
* IEnvironmentVariable
* IProductCode
* IUpgradeCode
* IMergeModulesComponent
* IMergeModule
* IDigitalSignature
* ICustomActionsComponent
* ITranslationsComponent
* IDriversComponent
* ISearch
* IServices
* IOrganizationComponent
* IComComponent
* IRemoveFilesComponent
* IRemoveFile
* IUpdatesProject
* IUpdaterComponent
* IPatchProject
* IPropertyComponent
* IProperty
* IPathVariable
* IMsixComponent
* IMsixDependencies
* IMsixDriverDependency
* IMsixDriverConstraint
* IMsixExternalDependency
* IMsixPackageDependency
- Features and Functionality
- Tutorials
- Samples
- How-tos
- FAQs
- Windows Installer
- Deployment Technologies
- IT Pro
- MSIX
- Video Tutorials
- Advanced Installer Blog
- 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.
ITextFileUpdatesComponent
Declaration
ITextFileUpdatesComponent : IDispatch
Overview
This interface facilitates accessing text file update operations and create a new one
Methods
NewTextUpdateFile(IFolder TargetFolder, String FileName) returns ITextUpdateFile
Creates a new text file update.
NewTextUpdateFileS(String PathToTargetFolder, String FileName) returns ITextUpdateFile
Creates a new text file update.
Properties
Array
Gets the collection of text updates file operations
Example
$advinst = new-object -com AdvancedInstaller
$project = $advinst.CreateProjectS(“architect”)
$project.TextFileUpdatesComponent.TextUpdateFiles
$textFileUpdate =
$project.TextFileUpdatesComponent.NewTextUpdateFileS(“appdir\pgsql\data”, “postgresql.conf”)
$textFileUpdate.CreateBackupFileBeforeUpdate = $true
$textFileUpdate.AbortInstallationOnError = $true
$updateCheckpoint = $textFileUpdate.NewReplaceOperation(“checkpoint_completion_target”)
$updateCheckpoint.Find = “#checkpoint_completion_target = 0.\d+”
$updateCheckpoint.UseRegularExpressions = $true
$updateCheckpoint.Replace = “checkpoint_completion_target = 0.9”
$updateCheckpoint.MatchCase = $true
$updateCheckpoint.ReplaceOnlyFirstOccurence = $true
$updateStatementTimeout = $textFileUpdate.NewReplaceOperation(“statement_timeout”)
$updateStatementTimeout.Find = “#statement_timeout = \d+”
$updateStatementTimeout.UseRegularExpressions = $true
$updateStatementTimeout.Replace = “statement_timeout = 1800000”
$updateStatementTimeout.MatchCase = $true
$updateStatementTimeout.ReplaceOnlyFirstOccurence = $true
Copy
See also
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:
- [New] DataGuardian Consultants Insights for 2024
- [New] Tidy Up Video Borders with Smart Edit Techniques
- [Updated] In 2024, Lost and Found 30 Free Speech-to-Text Mac Hits
- 2. Easy Guide to Adjusting Webpage Layouts Through the Design Preferences Dashboard
- 2024 Approved Streamlining Video Editing on Windows 11'S Movie Maker
- Adding Yourself to Our Professional Network: Directory Membership Guide
- Advanced Approaches to OBS-Facebook Streaming
- Detecting & Halting Malware: Effective Strategies Using the Task Manager
- Easy Steps: Setting Up Your Initial Template Conversations
- Exclusive Reviews Top 5 External HDDs for Xbox Gamers for 2024
- How To Teleport Your GPS Location On Honor 90? | Dr.fone
- In-Depth Guide: Best MP4 Downloader Services Beyond Video2MP3
- Mirroring Images with Your iPhone: A Comprehensive Guide
- Sync Your Xiaomi
- Top Free DVD Ripper Software for Windows 11 (Full Download)
- Unable To See Video Sony A6400 Troubleshoot Guide for 2024
- Understanding the LZMA Compression Preferences Window
- Understanding the UWP Bootstrap Interface: Navigating Through Its Tabs
- Your Ultimate Guide: Downloading and Setting Up the Epson WF-3540 Printer Driver in Windows
- Title: IText File Update Component: Efficient Text Handling
- Author: Paul
- Created at : 2024-10-09 18:56:20
- Updated at : 2024-10-11 04:19:24
- Link: https://fox-metric.techidaily.com/itext-file-update-component-efficient-text-handling/
- License: This work is licensed under CC BY-NC-SA 4.0.