A simple script to install windows packages. Based on Chocolatey platform.
Read the code and do your modifications.
Then do these basics steps:
-
Install Chocolatey with admin rights.
-
Modify multiInstall.ps1
-
Open a Powershell terminal (important) with admin rights and execute to enable scripts execution
Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force
Try this if not works:
Set-ExecutionPolicy Unrestricted -Scope LocalMachine -Force
Set-ExecutionPolicy AllSigned
Set-ExecutionPolicy Bypass -Scope Process
- Then go to your modified multiInstall folder and execute it
./multiInstall.ps1
- If you want to upgrade the packages installed by chocolatey run upgradeChocoPackages.ps1
./upgradeChocoPackages.ps1
You can add this script to an automated task,run at boot, run schedule every so often...
- It hasn't been tested 100% yet. Give feedback!
- If you want to know how to download Windows and a few things more go here.
- Create app and integrate selectable boxes.
You can check it here