Difference between revisions of "Create an unattended Installation CD"

From ReactOS Wiki
Jump to: navigation, search
(update the description from rbuild into rosbe era)
(Steps)
 
(5 intermediate revisions by 4 users not shown)
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>
# type <tt>ssvn create</tt> this will check out the source code via SVN into your local build folder
+
# Get a [[Building ReactOS#Getting a Working Copy|working copy]] of the ReactOS source code
# Edit <tt>boot/bootdata/bootcd/unattend.inf</tt> 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: 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.
+
# 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 <tt>configure -DCMAKE_BUILD_TYPE=DEBUG -DNEW_STYLE_BUILD=1</tt>
+
# in RosBE run <code>configure -DCMAKE_BUILD_TYPE=DEBUG -DNEW_STYLE_BUILD=1</code>
# type <tt>cd output-MinGW-i386/reactos</tt>
+
# run <code>cd output-MinGW-i386/reactos</code>
# type <tt>ninja bootcd</tt>
+
# 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>
 +
 
 +
See also [[Install_a_driver#Automatic_Slipstreamed_Installation| Automatic Slipstreamed Installation of drivers]]
  
 
[[Category:Tutorial]]
 
[[Category:Tutorial]]

Latest 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