these are my first steps towards a (mostly) unattended installation of a Windows 7 Professional x64 system. It's for a new notebook for my mother.
Last time I did something similar is several years ago, and much has changed since.
I already customized a working Autounattend.xml with the latest Windows System Image Manager that mostly works as expected, but has two flaws left:
There are two screens showing up I cannot suppress, the first at the very beginning and a second at the end of the installation process (see attached screenshots).
Except for the partitioning screen (I'd like to configure this myself) I want to skip every dialog window that occurs.
(Yes, the file ei.cnf is missing, but isn't there some setting to compensate this?)
Next point is a major difficulty:
Back in XP times, I used to have one file Prepare.cmd, which was executed at T-12 (called by cmdlines.txt) and imported a registry file to the default user profile.
In this way I was able to touch the default user profile before the setup process terminates and thus, less settings had to be adjusted for new user accounts.
I tried to achieve this with a SetupComplete.cmd placed in $OEM$\$$\Setup\Scripts looking like this:
reg load HKU\TmpHive %SystemDrive%\Users\Default\NTUSER.DAT
regedit /s HKCU.reg
reg unload HKU\TmpHive
regedit /s HKLM.reg
:: Further test if registry changes do work at all: they do!
Reg add HKLM\SOFTWARE\BrowserChoice /f /v Enable /t REG_DWORD /d 0
:: other stuff going here
I've got no clue why the reg load action won't have any effect anymore.
(Edit: I replaced the regedit /s... lines with reg import ..., however the problem stays the same.)
How could I import the registry files HKCU.reg and HKLM.reg (both are in $OEM$\$$\Setup\Scripts)?
Is there another possibility to earlier execute a script while the setup process? Any suggestions?
Thanks in advance!
This post has been edited by Mikka: 12 September 2010 - 02:20 PM