Difference between revisions of "Create an unattended Installation CD"

From ReactOS Wiki
Jump to: navigation, search
m
m (Add a link)
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
== Requirements ==
 
== Requirements ==
  
# ReactOS [[Subversion|source code]]
 
 
# ReactOS [[Build Environment]]
 
# ReactOS [[Build Environment]]
  
 
== Steps ==
 
== Steps ==
 +
# Start ReactOS Build Environment
 +
# On the prompt navigate into a folder that you want to hold the ReactOS source files e.g: <code>C:\react</code>
 +
# Get a [[Building ReactOS#Getting a Working Copy|working copy]] of the ReactOS source code
 +
# Edit <code>boot/bootdata/bootcd/unattend.inf</code> to suit your needs, make sure to set <code>UnattendSetupEnabled = yes</code>
 +
# Optional: want Gecko? Place the setup at <code>modules/optional/wine_gecko-2.40-x86.msi</code>, in case you don't want Gecko place a file with 0kb with the same name to skip the question in second stage
 +
# in RosBE run <code>configure -DCMAKE_BUILD_TYPE=DEBUG -DNEW_STYLE_BUILD=1</code>
 +
# run <code>cd output-MinGW-i386/reactos</code>
 +
# run <code>ninja bootcd</code>
 +
# The resulting <code>bootcd.iso</code> can be mounted or burned to CD
  
# Copy <tt>boot/bootdata/unattend.inf.sample</tt> to <tt>boot/bootdata/unattend.inf</tt>
+
Find '''TimeZoneIndex''' [https://docs.microsoft.com/en-us/previous-versions/windows/embedded/ms912053(v=winembedded.10) here]
# Open <tt>boot/bootdata/bootdata.rbuild</tt>
 
# Insert the following line: <tt><cdfile base="reactos">unattend.inf</cdfile></tt>
 
# Make bootcd
 
  
Find '''TimeZoneIndex''' here: http://msdn.microsoft.com/en-us/library/ms912053(WinEmbedded.10).aspx
+
Find '''LocaleID''' [https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-lcid/a9eac961-e77d-41a6-90a5-ce1a8b0cdb9c here]
  
Find '''LocaleID''' here: http://msdn.microsoft.com/en-us/goglobal/bb964664.aspx
+
You can keep a clean tree by ignoring changes to unattend.inf using <code>git update-index --assume-unchanged boot/bootdata/bootcd/unattend.inf</code>
 +
 
 +
== See also ==
 +
[[Install_a_driver#Automatic_Slipstreamed_Installation| Automatic Slipstreamed Installation of drivers]]
 +
 
 +
[[A layman's guide - Unattended installation]]
  
 
[[Category:Tutorial]]
 
[[Category:Tutorial]]

Latest revision as of 17:06, 16 May 2021

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. Get a working copy of the ReactOS source code
  4. Edit boot/bootdata/bootcd/unattend.inf to suit your needs, make sure to set UnattendSetupEnabled = yes
  5. Optional: want Gecko? Place the setup at modules/optional/wine_gecko-2.40-x86.msi, in case you don't want Gecko place a file with 0kb with the same name to skip the question in second stage
  6. in RosBE run configure -DCMAKE_BUILD_TYPE=DEBUG -DNEW_STYLE_BUILD=1
  7. run cd output-MinGW-i386/reactos
  8. run ninja bootcd
  9. The resulting bootcd.iso can be mounted or burned to CD

Find TimeZoneIndex here

Find LocaleID here

You can keep a clean tree by ignoring changes to unattend.inf using git update-index --assume-unchanged boot/bootdata/bootcd/unattend.inf

See also

Automatic Slipstreamed Installation of drivers

A layman's guide - Unattended installation