- Add a "regtest.cmd" for running other commands (here "ipconfig") before starting...
authorColin Finck <colin@reactos.org>
Wed, 29 Apr 2009 20:14:25 +0000 (20:14 +0000)
committerColin Finck <colin@reactos.org>
Wed, 29 Apr 2009 20:14:25 +0000 (20:14 +0000)
- 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

reactos/boot/bootdata/bootcdregtest/regtest.cmd [new file with mode: 0644]
reactos/boot/bootdata/bootcdregtest/unattend.inf
reactos/boot/bootdata/packages/reactos.dff
reactos/dll/win32/syssetup/wizard.c

diff --git a/reactos/boot/bootdata/bootcdregtest/regtest.cmd b/reactos/boot/bootdata/bootcdregtest/regtest.cmd
new file mode 100644 (file)
index 0000000..f33b9d3
--- /dev/null
@@ -0,0 +1,3 @@
+@echo off\r
+dbgprint --process "ipconfig"\r
+start rosautotest /r /s
\ No newline at end of file
index 75541e2..6ada5a6 100644 (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:\r
+; 1. Copy unattend.inf.sample to unattend.inf, adjust as needed\r
+; 2. Uncomment the line in bootdata.rbuild to include it into bootcd\r
+\r
+[Unattend]\r
+Signature = "$ReactOS$"\r
+\r
+; yes - unattend setup enabled\r
+; no - unattend setup disabled\r
+UnattendSetupEnabled = yes\r
+\r
+; Install to \Device\Harddisk0\Partition1\ReactOS\r
+DestinationDiskNumber = 0\r
+DestinationPartitionNumber = 1\r
+InstallationDirectory=ReactOS\r
+\r
+; MBRInstallType=0  skips MBR installation\r
+; MBRInstallType=1  install MBR on floppy  \r
+; MBRInstallType=2  install MBR on hdd\r
+MBRInstallType=2 \r
+\r
+FullName="MyName"\r
+;OrgName="MyOrg"\r
+ComputerName="MYCOMPUTERNAME";\r
+AdminPassword="MyPassword"\r
+\r
+; TimeZone is set GMT as default\r
+TimeZoneIndex=85\r
+\r
+; enable this setting to disable daylight saving changes\r
+; DisableAutoDaylightTimeSet = 1\r
+\r
+; enable this setting to format the selected partition\r
+; 1 - format enabled\r
+; 0 - format disabled\r
+FormatPartition=1\r
+\r
+; enable this setting to automatically create a partition\r
+; during installation\r
+; 1 - enabled\r
+; 0 - disabled\r
+AutoPartition = 1\r
+\r
+; enable this setting to disable vmware driver install\r
+; yes - disabled\r
+; no  - enabled\r
+DisableVmwInst = yes\r
+LocaleID = 409\r
+\r
+; enable this section to automatically launch programs\r
+; after 3rd boot\r
+;\r
+[GuiRunOnce]\r
+%SystemRoot%\system32\cmd.exe /c "regtest.cmd"\r
index d5c3bc2..6c27eb7 100644 (file)
@@ -631,12 +631,14 @@ media\inf\xboxdisp.inf                              6
 ; Ini Files
 boot\bootdata\system.ini                            4
 
 ; 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
 ; 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
 
 ; Modules
 modules\rosapps\applications\screensavers\cylfrac\cylfrac.scr              1   optional
index 8bf259e..4bda8f7 100644 (file)
@@ -2133,7 +2133,7 @@ ProcessUnattendInf(HINF hUnattendedInf)
                         KEY_SET_VALUE,
                         &hKey) != ERROR_SUCCESS)
     {
                         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;
     }
 
       return TRUE;
     }