OpenOEM

command module
v0.1.0-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 31, 2018 License: BSD-3-Clause Imports: 3 Imported by: 0

README

Automated Windows 10 configuration

What we are trying to achieve

The ultimate goal of this project is to be able to run an setup.exe with a config file and make it automatically install software and configure your fresh Windows 10 intallation.

What is working

  • ✔ Install programs from chocolatery
  • ❌ Configure windows / programs
  • ❌ The software is Stable

Requirements

  • Windows 10 x64

Use the program

!! Disclaimer !!
This is a (for now) personal project and it is far from done, the project in it's current state is not tested.

  • Download the latest release zip
  • Unpack the files
  • Edit the config.json
  • Double click the setup.exe

Devolopment

NOTES:

Please carefully read the following before you start playing around with it;

  • Do not use git clone because that will give errors, why
  • You can't use cmd and powershell because of the linux style script files, use git bash or bash (Ubuntu, fedora, etc)
  • Do not store files or moddify files in the build directory because then you will likely end up breaking everything and files might be overwritten
Setup
  • install golang
  • $ go get github.com/akavel/rsrc
  • Add GOPATH to the system variables
    • Windows: Add %USERPROFILE%\go\bin to System Variables (how to)
    • Linux: Execute $ echo 'export GOPATH=$HOME/go' >> $HOME/.bashrc && PATH=$PATH:$GOPATH/bin >> $HOME/.bashrc
  • $ go get github.com/dennis1248/Automated-Windows-10-configuration or use your repo if you have forked this project
  • The output of the last command will contain the location of the directory where the project is cloned to
Compile the code

make sure you are inside the scripts folder: $ cd scripts

Exec Output
$ sh buildSetup.sh Build just the setup.exe file for development
$ sh buildDev.sh Build the program and execute
$ sh buildRelease.sh Build a release setup.exe file

Note: the buildRelease does NOT use the config.json, it uses the config.example.json as config.json so you can test the build with a modified config.json without having to worry about releasing a wrong config.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
src
fs

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL