Difference between revisions of "Create an unattended Installation CD"

From ReactOS Wiki
Jump to: navigation, search
(Add a note about keeping a clean tree)
(Update links, improve formatting and grammar)
Line 5: Line 5:
 
== Steps ==
 
== Steps ==
 
# Start ReactOS Build Environment
 
# Start ReactOS Build Environment
# on the prompt navigate into a folder that you want to hold the ReactOS source files e.g: C:\react
+
# 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
 
# 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 UnattendSetupEnabled = yes
+
# 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 here <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
+
# 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 type <code>configure -DCMAKE_BUILD_TYPE=DEBUG -DNEW_STYLE_BUILD=1</code>
+
# in RosBE run <code>configure -DCMAKE_BUILD_TYPE=DEBUG -DNEW_STYLE_BUILD=1</code>
# type <code>cd output-MinGW-i386/reactos</code>
+
# run <code>cd output-MinGW-i386/reactos</code>
# type <code>ninja bootcd</code>
+
# run <code>ninja bootcd</code>
# the resulting bootcd.iso can be mounted or burned to CD
+
# 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>
 
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>
  
 
[[Category:Tutorial]]
 
[[Category:Tutorial]]

Revision as of 15:14, 3 March 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