I am trying to update a VirtualBox VM running Win7 bit to Win10. I am running the media creation tool in this VM, and it proceeds for a while but eventually fails; I put the log from SetupDiag.exe below:
Error: Found AdvancedInstaller Generic failure.
Last Phase: Pre SysPrep
Last Operation: Upgrade security
Executable: iissetup.exe
Exit Code: 340
Phase: 38
Mode: Install (first install)
Component: Microsoft-Windows-IIS-SharedLibraries-GC, Culture=neutral, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=x86
Refer to "https://docs.microsoft.com/en-us/windows/desktop/Debug/system-error-codes" for error information.
Last Setup Phase:
Phase Name: Pre SysPrep
Phase Started: 4/27/2021 5:30:31 PM
Phase Ended: 4/27/2021 5:30:31 PM
Phase Time Delta: 00:00:00
Completed Successfully? True
Last Setup Operation:
Operation Name: Upgrade security
Operation Started: 4/27/2021 5:30:28 PM
Operation Ended: 4/27/2021 5:30:31 PM
Operation Time Delta: 0:00:00:03.0000000
Completed Successfully? True
Searching around for information about this, the closest example I could find was a forum post which basically suggested to remove IIS and retry the update. I've done this (as well as removing any other optional Windows feature that wasn't needed, just because) so now the list of features looks as follows:
However this did not solve the issue.
A related note was to remove the \Windows\System32\inetsrv folder, which I have done; however it was empty (no hidden or system files). But I have yet to retry the install again after that because it takes so much time and I thought I should ask here before proceeding.
Note - prior to attempting the update I followed instructions here to modify the VM settings. I don't know if running in the VM has anything to do with this problem (it doesn't seem like it) but thought this was worth mentioning.
