Difference between revisions of "Create an unattended Installation CD"

From ReactOS Wiki
Jump to: navigation, search
m
(Steps)
(11 intermediate revisions by 7 users not shown)
Line 1: Line 1:
Requirements:<br/>
+
== Requirements ==
1. ReactOS source code<br/>
 
2. ReactOS build tools<br/><br/>
 
  
 +
# ReactOS [[Build Environment]]
  
Steps:<br/>
+
== Steps ==
1. Copy boot/bootdata/unattend.inf.sample to boot/bootdata/unattend.inf<br/>
+
# Start ReactOS Build Environment
2. Open boot/bootdata/bootdata.rbuild<br/>
+
# On the prompt navigate into a folder that you want to hold the ReactOS source files e.g: <code>C:\react</code>
3. Insert the following line (without quotes) "<cdfile base="reactos">unattend.inf</cdfile>"<br/>
+
# Get a [[Building ReactOS#Getting a Working Copy|working copy]] of the ReactOS source code
4. Make bootcd <br/>
+
# Edit <code>boot/bootdata/bootcd/unattend.inf</code> to suit your needs, make sure to set <code>UnattendSetupEnabled = yes</code>
5. enjoy :-)<br/>
+
# 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
  
Find '''TimeZoneIndex''' here: http://msdn.microsoft.com/en-us/library/ms912053(WinEmbedded.10).aspx
+
Find '''TimeZoneIndex''' [https://docs.microsoft.com/en-us/previous-versions/windows/embedded/ms912053(v=winembedded.10) here]
  
Find '''LocaleID''' here: http://msdn.microsoft.com/en-us/goglobal/bb964664.aspx
+
Find '''LocaleID''' [https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-lcid/a9eac961-e77d-41a6-90a5-ce1a8b0cdb9c here]
 +
 
 +
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]]
 +
 
 +
[[Category:Tutorial]]

Revision as of 13:15, 8 April 2019

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