Changeset 68222 in vbox for trunk/src/VBox/Main/include/UnattendedInstaller.h
- Timestamp:
- Aug 1, 2017 7:05:50 PM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 117326
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/UnattendedInstaller.h
r68162 r68222 110 110 virtual HRESULT initInstaller(); 111 111 112 #if 0 /* These are now in the AUX VISO. */ 112 113 /** 113 114 * Whether the VBox guest additions ISO is needed or not. … … 125 126 */ 126 127 virtual bool isValidationKitIsoNeeded() const; 128 #endif 127 129 128 130 /** … … 139 141 * Indicates whether an additional or replacement ISO image is needed or not. 140 142 */ 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(); } 142 151 143 152 /** … … 149 158 * be remastered with small changes and additions. 150 159 */ 151 virtual bool isAuxiliaryIsoIsVISO() const { return false; }160 virtual bool isAuxiliaryIsoIsVISO() const { return true; } 152 161 153 162 /* … … 355 364 : UnattendedInstaller(pParent, 356 365 "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()); } 359 368 ~UnattendedWindowsSifInstaller() {} 360 369 361 370 bool isAuxiliaryFloppyNeeded() const { return true; } 371 bool bootFromAuxiliaryIso() const { return false; } 372 362 373 }; 363 374 … … 371 382 : UnattendedInstaller(pParent, 372 383 "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()); } 375 386 ~UnattendedWindowsXmlInstaller() {} 376 387 377 388 bool isAuxiliaryFloppyNeeded() const { return true; } 389 bool bootFromAuxiliaryIso() const { return false; } 378 390 }; 379 391 … … 399 411 400 412 bool isAuxiliaryIsoNeeded() const { return true; } 401 bool isAuxiliaryIsoIsVISO() const { return true; }402 413 403 414 protected:
Note:
See TracChangeset
for help on using the changeset viewer.