Tripredacus, on 13 October 2011 - 09:20 AM, said:
Schiiwa, on 12 October 2011 - 05:49 PM, said:
But as I read Gremo´s solution with the Auto-Unattended:
<Recovery>
<RecoveryTools>
<RelativeFilePath>..\..\Setup.exe /unattend:X:\unattend.xml</RelativeFilePath>
</RecoveryTools>
</Recovery>
I ASKED MYSELF, IF THIS MAYBE WOULD BE POSSIBLE:
<Recovery>
<RecoveryTools>
<RelativeFilePath>IMAGEX.exe /apply F:\System.wim 1 C:\ </RelativeFilePath>
</RecoveryTools>
</Recovery>
Imagex would be faster for sure, but Setup can install a captured WIM as well. That is how I use it. The answer file is likely optional, but even if you have captured an image after using sysprep /unattend switch, Setup ignores that answer file. For example, even if your XML only specified the Locale settings (to hide the language select page of OOBE), after Setup applies the image, you'd still see that page. So if you didn't have any special settings, you don't even need to specify a custom tool or have the answer file. Just overwrite the install.wim with your custom WIM, but it still needs to be called install.wim.
The only reason I needed to come up with this was because I needed the image in the recovery partition to deploy and then boot to the desktop. If the image is supposed to boot to OOBE, I don't use the custom tool option.
My experience is another one... I installed Windows 7 without a special ID=27 partition, because i had no time and computer at the moment, to do this job (create a RE-Partition/Image). I should allign my files and folders first, in order to be effective. but as i saw the new command (reagentc.exe), i thought it might be very easy... So after the Installation was complete, i slashed SP1, all later updates and drivers on it. Then i realized, that the WINRE.WIM is already implemented on
C:\RECOVERY\d89.......\WINRE.WIM ... so i moved it onto a new partition at the end and adapted the BCD. Also the WIM captured from my ready-installed Windows.
And i was really happy when i saw the new Option when i booted to WINRE at the bottom "Windows neu Installieren/Reinstall Windows" ... but when i klicked on it, there came a window up where i should select the OS i want to install (I think the editions) Unfortunately it was empty except "No Images available" my WIM was already called INSTALL.WIM and in the ROOT... Maybe I´ll try again in \SOURCES folder
EDIT: TRYED and DOND WORK! DOESN´T REALLY MAKE SENSE, BECAUSE THE /SETOSIMAGE-PARAMETER´S PATH WAS SET TO F:\ .... BUT AS U KNOW, WITH MS-SOFT U NEVER KNOW
So i tryed putting the INSTALL.WIM from the DVD to F:\ ... that worked and moved my stuff on "C" into "WINDOWS.OLD" in the first seconds and started copying the setupfiles immediately! But i cut off the power

and moved my stuff back after taking ownership, cause i do not want to reinstall....again....
because i think i installed Windows (esspecially 95a/b/c/98/98SE) about 1K-times
So it didn´t work. Maybe when I capture it before OOBE after entering AUDIT (or without), it may work!? *not again..*
Can U tell my, how i can start a HTA
The HTA-Package isn´t available at the WinRE-Image yet..... i´ll add it now and come back later

*hope i can still add it. Think to remember a DISM-Option to finish the WIM and then no package can be added anymore, when i created the Vista-PE
EDIT: NOPE, it was the /prep command with peimg.exe
Maybe thats the way, aha, aha, i like it d-_-b
<Recovery>
<RecoveryTools>
<RelativeFilePath>MSHTA.EXE name-of-hta.hta</RelativeFilePath>
</RecoveryTools>
</Recovery>
OR
<Recovery>
<RecoveryTools>
<RelativeFilePath>MSHTA.EXE</RelativeFilePath>
<CommandLineParam>(/)name-of-hta.hta</CommandLineParam>
</RecoveryTools>
</Recovery>
EDIT: BOTH WON´T work ... Did´t expect that to work, because the ICON for the Recovery Options will be extracted for the executeable. After all, MSHTA.EXE has no ICON
Cheers, Schiiwa
This post has been edited by Schiiwa: 15 October 2011 - 12:48 PM