VirtualBox

Ignore:
Timestamp:
Aug 1, 2017 7:05:50 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
117326
Message:

Main: Squeeze the validation kit and additions onto the aux image when installing windows vista+. Implemented setting up vboxtxs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/UnattendedInstaller.h

    r68162 r68222  
    110110    virtual HRESULT initInstaller();
    111111
     112#if 0 /* These are now in the AUX VISO. */
    112113    /**
    113114     * Whether the VBox guest additions ISO is needed or not.
     
    125126     */
    126127    virtual bool isValidationKitIsoNeeded() const;
     128#endif
    127129
    128130    /**
     
    139141     * Indicates whether an additional or replacement ISO image is needed or not.
    140142     */
    141     virtual bool isAuxiliaryIsoNeeded() const       { return false; }
     143    virtual bool isAuxiliaryIsoNeeded() const;
     144
     145    /**
     146     * Indicates whether we should boot from the auxiliary ISO image.
     147     *
     148     * Will boot from installation ISO if false.
     149     */
     150    virtual bool bootFromAuxiliaryIso() const       { return isAuxiliaryIsoNeeded(); }
    142151
    143152    /**
     
    149158     * be remastered with small changes and additions.
    150159     */
    151     virtual bool isAuxiliaryIsoIsVISO() const       { return false; }
     160    virtual bool isAuxiliaryIsoIsVISO() const       { return true; }
    152161
    153162    /*
     
    355364        : UnattendedInstaller(pParent,
    356365                              "win_nt5_unattended.sif", "win_postinstall.cmd",
    357                               "WINNT.SIF",              "vboxpostinstall.cmd")
    358     { Assert(isOriginalIsoNeeded()); Assert(isAuxiliaryFloppyNeeded());  Assert(!isAuxiliaryIsoNeeded()); }
     366                              "WINNT.SIF",              "VBOXPOST.CMD")
     367    { Assert(isOriginalIsoNeeded()); Assert(isAuxiliaryFloppyNeeded()); Assert(isAuxiliaryIsoIsVISO()); Assert(!bootFromAuxiliaryIso()); }
    359368    ~UnattendedWindowsSifInstaller()        {}
    360369
    361370    bool isAuxiliaryFloppyNeeded() const    { return true; }
     371    bool bootFromAuxiliaryIso() const       { return false; }
     372
    362373};
    363374
     
    371382        : UnattendedInstaller(pParent,
    372383                              "win_nt6_unattended.xml", "win_postinstall.cmd",
    373                               "autounattend.xml",       "vboxpostinstall.cmd")
    374     { Assert(isOriginalIsoNeeded()); Assert(isAuxiliaryFloppyNeeded());  Assert(!isAuxiliaryIsoNeeded()); }
     384                              "autounattend.xml",       "VBOXPOST.CMD")
     385    { Assert(isOriginalIsoNeeded()); Assert(isAuxiliaryFloppyNeeded()); Assert(isAuxiliaryIsoIsVISO()); Assert(!bootFromAuxiliaryIso()); }
    375386    ~UnattendedWindowsXmlInstaller()      {}
    376387
    377388    bool isAuxiliaryFloppyNeeded() const    { return true; }
     389    bool bootFromAuxiliaryIso() const       { return false; }
    378390};
    379391
     
    399411
    400412    bool isAuxiliaryIsoNeeded() const       { return true; }
    401     bool isAuxiliaryIsoIsVISO() const       { return true; }
    402413
    403414protected:
Note: See TracChangeset for help on using the changeset viewer.

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