Difference between revisions of "Create an unattended Installation CD"

From ReactOS Wiki
Jump to: navigation, search
m
(update the description from rbuild into rosbe era)
Line 1: Line 1:
 
== Requirements ==
 
== Requirements ==
  
# ReactOS [[Subversion|source code]]
 
 
# ReactOS [[Build Environment]]
 
# ReactOS [[Build Environment]]
  
 
== Steps ==
 
== Steps ==
 
+
# Start ReactOS Build Environment
# Copy <tt>boot/bootdata/unattend.inf.sample</tt> to <tt>boot/bootdata/unattend.inf</tt>
+
# on the prompt navigate into a folder that you want to hold the ReactOS source files e.g: C:\react
# Open <tt>boot/bootdata/bootdata.rbuild</tt>
+
# type <tt>ssvn create</tt> this will check out the source code via SVN into your local build folder
# Insert the following line: <tt><cdfile base="reactos">unattend.inf</cdfile></tt>
+
# Edit <tt>boot/bootdata/bootcd/unattend.inf</tt> to suit your needs, make sure to set UnattendSetupEnabled = yes
# Make bootcd
+
# optional: maybe there is a more elegent way, but this is what I do to prevent the gecko installation and question in second stage: Copy an exe that does virtually nothing, e.g: <tt>C:\windows\system32\hostname.exe</tt> to react os source folder <tt>modules/optional/wine_gecko-2.34-x86.msi</tt> This way the setup will start it instead gecko.
 +
# in RosBE type <tt>configure -DCMAKE_BUILD_TYPE=DEBUG -DNEW_STYLE_BUILD=1</tt>
 +
# type <tt>cd output-MinGW-i386/reactos</tt>
 +
# type <tt>ninja bootcd</tt>
 +
# the resulting bootcd.iso can be mounted or burned to CD
  
 
Find '''TimeZoneIndex''' here: http://msdn.microsoft.com/en-us/library/ms912053(WinEmbedded.10).aspx
 
Find '''TimeZoneIndex''' here: http://msdn.microsoft.com/en-us/library/ms912053(WinEmbedded.10).aspx

Revision as of 14:04, 10 October 2015

Requirements

  1. ReactOS Build Environment

Steps

  1. Start ReactOS Build Environment
  2. on the prompt navigate into a folder that you want to hold the ReactOS source files e.g: C:\react
  3. type ssvn create this will check out the source code via SVN into your local build folder
  4. Edit boot/bootdata/bootcd/unattend.inf to suit your needs, make sure to set UnattendSetupEnabled = yes
  5. optional: maybe there is a more elegent way, but this is what I do to prevent the gecko installation and question in second stage: Copy an exe that does virtually nothing, e.g: C:\windows\system32\hostname.exe to react os source folder modules/optional/wine_gecko-2.34-x86.msi This way the setup will start it instead gecko.
  6. in RosBE type configure -DCMAKE_BUILD_TYPE=DEBUG -DNEW_STYLE_BUILD=1
  7. type cd output-MinGW-i386/reactos
  8. type ninja bootcd
  9. the resulting bootcd.iso can be mounted or burned to CD

Find TimeZoneIndex here: http://msdn.microsoft.com/en-us/library/ms912053(WinEmbedded.10).aspx

Find LocaleID here: http://msdn.microsoft.com/en-us/goglobal/bb964664.aspx