Sometimes ago we did rebuild our whole WLAN Network infrastructure of the campus and setup a NPS based authentication method for the Clients. Because of that we had to provide a certificate for authentication. The WLAN Clients are not part of the domain. This means that we can’t work with AD group policies to install the certificate. Because of that we’ve decided to create a Installer for Win7 and Win8 Clients to setup the WLAN settings and install the certificate. We’ve discoverd a Opensource soloution called SU1X to create such a setup file. How to configure SU1X is not part of this arcticle, but I want to show you how you can create a self extracting installer with 7-zip.
We go to http://www.7-zip.org and download the 7-zip installer and the 7z Bibliothek.
We do a standard installation of 7-zip
We extract the 7-zip library files to the install directory of 7-zip.
Create a 7-zip archive from the SU1X config files.
Copy the created zip files to the install directory of 7-zip.
Create a 7-zip config file with the following content:
Open a cmd and put in to following commands:
copy /b 7zS.sfx + config.txt + WIN7.7z Win7_Installer.exe
copy /b 7zS.sfx + config.txt + WIN8.7z Win8_Installer.exe
The output will be our self extracting installer!
To replace the Icon and edit the description content of the installer we can use a tool called Resource Hacker.