- Add a "regtest.cmd" for running other commands (here "ipconfig") before starting rosautotest and call "start rosautotest" to run it asynchronously and let Explorer load completely

- Set svn:eol-style for "unattend.inf" to CRLF, this file is a target one, which should also use target line-endings
- Fix typo in syssetup debug print

svn path=/trunk/; revision=40740
This commit is contained in:
Colin Finck 2009-04-29 20:14:25 +00:00
parent 80711416ac
commit b9fcc14363
4 changed files with 61 additions and 56 deletions

View file

@ -0,0 +1,3 @@
@echo off
dbgprint --process "ipconfig"
start rosautotest /r /s

View file

@ -1,54 +1,54 @@
; In order to get unattended setup working:
; 1. Copy unattend.inf.sample to unattend.inf, adjust as needed
; 2. Uncomment the line in bootdata.rbuild to include it into bootcd
[Unattend]
Signature = "$ReactOS$"
; yes - unattend setup enabled
; no - unattend setup disabled
UnattendSetupEnabled = yes
; Install to \Device\Harddisk0\Partition1\ReactOS
DestinationDiskNumber = 0
DestinationPartitionNumber = 1
InstallationDirectory=ReactOS
; MBRInstallType=0 skips MBR installation
; MBRInstallType=1 install MBR on floppy
; MBRInstallType=2 install MBR on hdd
MBRInstallType=2
FullName="MyName"
;OrgName="MyOrg"
ComputerName="MYCOMPUTERNAME";
AdminPassword="MyPassword"
; TimeZone is set GMT as default
TimeZoneIndex=85
; enable this setting to disable daylight saving changes
; DisableAutoDaylightTimeSet = 1
; enable this setting to format the selected partition
; 1 - format enabled
; 0 - format disabled
FormatPartition=1
; enable this setting to automatically create a partition
; during installation
; 1 - enabled
; 0 - disabled
AutoPartition = 1
; enable this setting to disable vmware driver install
; yes - disabled
; no - enabled
DisableVmwInst = yes
LocaleID = 409
; enable this section to automatically launch programs
; after 3rd boot
;
[GuiRunOnce]
%SystemRoot%\system32\rosautotest.exe /r /s
; In order to get unattended setup working:
; 1. Copy unattend.inf.sample to unattend.inf, adjust as needed
; 2. Uncomment the line in bootdata.rbuild to include it into bootcd
[Unattend]
Signature = "$ReactOS$"
; yes - unattend setup enabled
; no - unattend setup disabled
UnattendSetupEnabled = yes
; Install to \Device\Harddisk0\Partition1\ReactOS
DestinationDiskNumber = 0
DestinationPartitionNumber = 1
InstallationDirectory=ReactOS
; MBRInstallType=0 skips MBR installation
; MBRInstallType=1 install MBR on floppy
; MBRInstallType=2 install MBR on hdd
MBRInstallType=2
FullName="MyName"
;OrgName="MyOrg"
ComputerName="MYCOMPUTERNAME";
AdminPassword="MyPassword"
; TimeZone is set GMT as default
TimeZoneIndex=85
; enable this setting to disable daylight saving changes
; DisableAutoDaylightTimeSet = 1
; enable this setting to format the selected partition
; 1 - format enabled
; 0 - format disabled
FormatPartition=1
; enable this setting to automatically create a partition
; during installation
; 1 - enabled
; 0 - disabled
AutoPartition = 1
; enable this setting to disable vmware driver install
; yes - disabled
; no - enabled
DisableVmwInst = yes
LocaleID = 409
; enable this section to automatically launch programs
; after 3rd boot
;
[GuiRunOnce]
%SystemRoot%\system32\cmd.exe /c "regtest.cmd"

View file

@ -631,12 +631,14 @@ media\inf\xboxdisp.inf 6
; Ini Files
boot\bootdata\system.ini 4
; Regression Testing
boot\bootdata\bootcdregtest\regtest.cmd 7 optional
; Subsystems
subsystems\win32\csrss\csrss.exe 1
subsystems\win32\csrss\win32csr\win32csr.dll 1
subsystems\ntvdm\ntvdm.exe 1
subsystems\win32\win32k\win32k.sys 1
boot\bootdata\bootcdregtest\testboot.bat 7 optional
; Modules
modules\rosapps\applications\screensavers\cylfrac\cylfrac.scr 1 optional

View file

@ -2133,7 +2133,7 @@ ProcessUnattendInf(HINF hUnattendedInf)
KEY_SET_VALUE,
&hKey) != ERROR_SUCCESS)
{
DPRINT1("Error: failed to open HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\RunOnce\n");
DPRINT1("Error: failed to open HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\RunOnce\n");
return TRUE;
}