Optimizing Service Configuration with IServiceSetup
Optimizing Service Configuration with IServiceSetup
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
* IBaseServiceOperation
* IServiceControlOperation
* IServiceFailureOperation
* IServiceInstallOperation
* IServiceConfigureOperation
* 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.
IServiceConfigureOperation
Declaration
IServiceConfigureOperation : IBaseServiceOperation
Overview
This interface is meant to edit service configure operation properties. A service Configure Operation allows you to modify the settings a service that is already installed or being installed by the current package.
Properties
Bool ConfigureOnInstall - Gets or sets the configure option during component’s installation.
Bool ConfigureOnUninstall - Gets or sets the configure option during component’s uninstallation.
Bool ConfigureOnReinstall - Gets or sets the configure option during component’s reinstallation.
String SettingToChange - Gets or sets which setting will be changed. Supported values: “DelayAutoStart”, “TimeToRunFailureActions”, “AddSidToProcessToken”, “AddPrivileges”, “TimeInMilisecToWaitBeforeOtherShutdownOperations”.
“DelayAutoStart” is applied only on auto-start services or services installed by the package configured with “Automatic” StartType.
The specified change takes effect next time the system is started.
String SettingsValue - Gets or sets the setting value that will be applied.
The setting value depends on theSettingToChange property value:
- “DelayAutoStart”
- “0” turn off auto-start service delay
- “1” start the service after other auto-start services plus a time delay - “TimeToRunFailureActions”
- “0” run failure actions only if the service terminates without reporting SERVICE_STOPPED
- “1” run failure actions only if the service terminates reporting SERVICE_STOPPED - “AddSidToProcessToken”
- “0” SERVICE_SID_TYPE_NONE
- “1” SERVICE_SID_TYPE_UNRESTRICTED
- “2” SERVICE_SID_TYPE_RESTRICTED - “AddPrivileges”
The list of privileges required by the service. The privileges must be separated by [~]. Use privilege constant name from Microsoft documentation . Example: “SeCreateTokenPrivilege[~]SeIncreaseQuotaPrivilege[~]SeSecurityPrivilege[~]SeLoadDriverPrivilege[~]SeSystemProfilePrivilege[~]SeIncreaseBasePriorityPrivilege”
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:
- [Updated] 2024 Approved Finding Your Voice on YouTube A Guide to Selective Audiences
- 9 Quick Fixes to Unfortunately TouchWiz has stopped Of Tecno Pop 8 | Dr.fone
- Can You Recover Deleted Text Messages From an iCloud Backup? A Comprehensive Guide
- Comment Installer Et Utiliser Un Pilote De Repair Disk Pour Windows V7, 8, 10 Ou 11
- Effective Strategies for Assessing and Comparing Video Card Performance
- GPTへ簡単移行:Windows 11でのMBRとGPT切り替え手法(複数選択)
- How Do I Stop Someone From Tracking My Lava Storm 5G? | Dr.fone
- How To Fix Unresponsive Phone Touchscreen Of Oppo Find N3 Flip | Dr.fone
- In 2024, How to Fake Snapchat Location on Nokia 150 (2023) | Dr.fone
- Keychron Kickstarts Gaming with Lemokey L3
- Las Topas Técnicas: Cómo Hacer Que Tu Fotografía Se Almacene en Dropbox Sin Esfuerzo
- Most Effective Plextor Utilities for Reliable OS Cloning Processes
- Story 1: The Misunderstanding of Esophageal Involvement
- The Sentence 'Older Homes Often Have Unique Features Such as Built-In Wardrobes, Fireplaces and Archways' Scores a Complexity Level of 3/5. (Moderate Vocabulary with Specific Architectural References)
- Why I Now Love the Apple Watch Series E: Unveiling the Top 3 Features That Impressed Me | ZDNet Exclusive
- Windows 11/10のDISMによるオフライン修復手順ガイド
- Windows Server Incremental Backup Using WBAdmin and GUI Method
- Title: Optimizing Service Configuration with IServiceSetup
- Author: Robert
- Created at : 2024-11-05 20:31:37
- Updated at : 2024-11-12 16:21:26
- Link: https://fox-triigers.techidaily.com/optimizing-service-configuration-with-iservicesetup/
- License: This work is licensed under CC BY-NC-SA 4.0.