Friday, 9 June 2017

Offline Chocolatey for Win7 installs

I was asked yesterday (using online 'Chat') about using the E2B SDI_Choco offline feature to install Windows 7.

The problem here is that Chocolatey requires .Net 4 Framework and this is not included in Windows 7.

If you download the standalone install package for .Net 4 and try to install it, it requires a reboot before it will work. However, we cannot reboot during the Specialize pass or Windows Setup will complain about it when it reboots and will not proceed.

Equally, we cannot allow a reboot during MyStartup.cmd because this only runs once on first user login and so the code to install the offline choco apps will never run.

The solution was to install the .Net 4 package at the end of MySetupComplete.cmd when a reboot is imminent anyway.

I have added the necessary instructions to the Offline Choco page on the E2B website here under the Requirements heading.

If you have any questions, you can chat with me by clicking on the chat icon on the E2B website.

Click to chat