VirtualBox

Changeset 68071 in vbox for trunk/src/VBox/Main/idl


Ignore:
Timestamp:
Jul 20, 2017 4:24:08 PM (8 years ago)
Author:
vboxsync
Message:

Unattended: Split out the post installation script into a separate file. Dropped the IUnattended::loadSettings method, don't see much point. Simplified the script editor classes, moving the default filenames and templates to the installer constructor, allowing us to avoid having to 'new' the script editors. The editors are now direct members of UnattendedInstaller.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r68038 r68071  
    37673767  <interface
    37683768    name="IUnattended" extends="$unknown"
    3769     uuid="1f9a37d3-c3ba-4741-a53a-822a1b2d308d"
     3769    uuid="663fc677-ca00-4a24-b940-8741f76a898a"
    37703770    wsmap="managed"
    37713771    reservedMethods="4" reservedAttributes="16"
     
    39003900    </attribute>
    39013901
     3902    <attribute name="postInstallScriptTemplatePath" type="wstring">
     3903      <desc>
     3904        The post installation (shell/batch) script template file.
     3905
     3906        The template default is based on the guest OS type and is determined by the
     3907        internal installer when when <link to="IUnattended::prepare"/> is invoked.
     3908        Most users will want the defaults.
     3909
     3910        After <link to="IUnattended::prepare"/> is called, it can be read to see
     3911        which file is being used.
     3912      </desc>
     3913    </attribute>
     3914
    39023915    <attribute name="postInstallCommand" type="wstring">
    39033916      <desc>
     
    39053918
    39063919        Exactly what is expected as input here depends on the guest OS installer
    3907         and the script template (see <link to="IUnattended::scriptTemplatePath"/>).
     3920        and the post installation script template (see
     3921        <link to="IUnattended::postInstallScriptTemplatePath"/>).
    39083922        Most users will not need to set this attribute.
    39093923      </desc>
    39103924    </attribute>
    39113925
     3926    <!-- See no point in having this any more.
    39123927    <method name="loadSettings">
    39133928      <desc>
     
    39223937      </param>
    39233938    </method>
     3939    -->
    39243940
    39253941    <method name="prepare">
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette