- WMI Library -
WMI Libraly > Win32_RemoveIniAction Class

Win32_RemoveIniAction Class

The RemoveIniValues action deletes .INI file information that the application desires to delete from .INI files. The deletion of the information is gated by the Component class. A .INI value is deleted if the corresponding component has been set to be installed either locally or run from source.
Namespace value is root/CIMV2.
WMI Provider value is MSIProv.


Properties

  • Action
  • The type of modification made.
    Hexadecimal
    Decimal
    Meaning

    0x002
    2
    Deletes .ini entry.

    0x004
    4
    Deletes a tag from a .ini entry.

  • ActionID
  • The ActionID property is a unique identifier assigned to a particular action for a software element.

  • Caption
  • Not applicable.

  • Description
  • A description of the object.

  • Direction
  • The Direction property indicates whether a particular CIM_Action object is part of a sequence of actions to transition the current software element to its next state, such as "Install" or to remove the current software element, such as "Uninstall".

  • key
  • The .ini file key below the section.

  • Name
  • Name is used to identify this software element

  • Section
  • The .ini file section.

  • SoftwareElementID
  • The SoftwareElementID is an identifier for this software element.

  • SoftwareElementState
  • The SoftwareElementState indicates the state of a software element

  • TargetOperatingSystem
  • The TargetOperatingSystem indicates the target operating system of the owning software element.

  • Value
  • The value to be deleted.

  • Version
  • Version should be in the form .. or ..


    Methods

  • Invoke
  • The invoke method is to take a particular action. The details of how the method performs the action is implementation specific. The results of the method are based on the return value. - A 0 (zero) is returned if the condition is satisfied. - A 1 (one) is returned if the method is not supported. - Any other value indicates the condition is not satisfied.


    Example WQL

    SELECT * FROM Win32_RemoveIniAction
    About this site information

    This contents is created by WMI having class information.
    WMI Environment is Windows Server 2008 R2 Enterprise Edition.

    This link is Microsoft documents for "Managing Windows with WMI".
    That is VB(Visual Basic) scripting sample.
    This link is Microsoft documents for "Advanced Programming Topics in WMI .NET".
    That is VB.net(Visual Basic .net) scripting sample.

    - WMI Library -
    http://library.wmifun.net/

    WMI useful by VB,VB.Net,VC,VC.Net,VC#.Net,VBS(WSH),PowerShell for PC asset management, system monitoring and collecting hardware and software inventory.

    This website is created by Toh.
    Copyright(C) 1997-2016 WMI Fun !!. All rights reserved.
    ^ Go to the top...