Author: cfinck
Date: Thu Apr 30 00:14:25 2009
New Revision: 40740
URL:
http://svn.reactos.org/svn/reactos?rev=40740&view=rev
Log:
- 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
Added:
trunk/reactos/boot/bootdata/bootcdregtest/regtest.cmd (with props)
Modified:
trunk/reactos/boot/bootdata/bootcdregtest/unattend.inf (contents, props changed)
trunk/reactos/boot/bootdata/packages/reactos.dff
trunk/reactos/dll/win32/syssetup/wizard.c
Added: trunk/reactos/boot/bootdata/bootcdregtest/regtest.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/bootdata/bootcdregtes…
==============================================================================
--- trunk/reactos/boot/bootdata/bootcdregtest/regtest.cmd (added)
+++ trunk/reactos/boot/bootdata/bootcdregtest/regtest.cmd [iso-8859-1] Thu Apr 30 00:14:25
2009
@@ -1,0 +1,3 @@
+@echo off
+dbgprint --process "ipconfig"
+start rosautotest /r /s
Propchange: trunk/reactos/boot/bootdata/bootcdregtest/regtest.cmd
------------------------------------------------------------------------------
svn:eol-style = CRLF
Modified: trunk/reactos/boot/bootdata/bootcdregtest/unattend.inf
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/bootdata/bootcdregtes…
==============================================================================
--- trunk/reactos/boot/bootdata/bootcdregtest/unattend.inf [iso-8859-1] (original)
+++ trunk/reactos/boot/bootdata/bootcdregtest/unattend.inf [iso-8859-1] Thu Apr 30
00:14:25 2009
@@ -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"
Propchange: trunk/reactos/boot/bootdata/bootcdregtest/unattend.inf
------------------------------------------------------------------------------
--- svn:eol-style (original)
+++ svn:eol-style Thu Apr 30 00:14:25 2009
@@ -1,1 +1,1 @@
-native
+CRLF
Modified: trunk/reactos/boot/bootdata/packages/reactos.dff
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/bootdata/packages/rea…
==============================================================================
--- trunk/reactos/boot/bootdata/packages/reactos.dff [iso-8859-1] (original)
+++ trunk/reactos/boot/bootdata/packages/reactos.dff [iso-8859-1] Thu Apr 30 00:14:25
2009
@@ -631,12 +631,14 @@
; 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
Modified: trunk/reactos/dll/win32/syssetup/wizard.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/wizard.…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/wizard.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/wizard.c [iso-8859-1] Thu Apr 30 00:14:25 2009
@@ -2133,7 +2133,7 @@
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;
}