{"repo":"syedhassaanahmed/kiosk-demo-electron","free":true,"listed":false,"github":"https://github.com/syedhassaanahmed/kiosk-demo-electron","clone":"git clone https://github.com/syedhassaanahmed/kiosk-demo-electron.git","description":"Package and distribute Electron Apps and run them in Kiosk mode on Windows 10","language":"PowerShell","stars":82,"topics":["msi","electron-packager","docker","electron","wix-toolset","powershell","winehq","winetricks","windows-10","appveyor"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"kiosk-demo-electron This repository demonstrates how to package and distribute an Electron App which runs in Kiosk mode on Windows 10. It uses the Windows 10 Shell Launcher as well as set the kiosk user to AutoLogon. Packaging the app as an MSI makes sure we can distribute it to multiple kiosks via an MDM solution e.g Microsoft Intune. Note: Shell Launcher feature requires Windows 10 Enterprise Edition. The project is described in-depth in this blog post Create Installer Windows npm run dist will build everything and create the MSI in dist folder. Linux Use npm run dist:wine . Script assumes that Wine and dotnet45 (using winetricks ) are installed and properly configured. If the full path of any of your electron-packager output files is longer than 128 chars, you'll run into error LGHT0103 : The system cannot find the file. Note: Light.exe has a known issue with MSI validation on Wine so it had to be turned off with -sval flag. Docker npm run dist:docker will spin up an instance of this image, execute the above wine script and then copy artifacts back to host's dist folder. Script assumes that Docker daemon is running on host. Configure Kiosk parameters are passed to the installer like this: All params have a default value as can be seen in product.wxs. How it works - First we package the app using electron-packager - Then we harvest binaries produced by electron-packager using WiX's Heat tool. - We also copy our PowerShell script into the root of electron-packager output. We","default_branch":null,"files":null,"tree":[],"storefront":"/r/syedhassaanahmed","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/syedhassaanahmed/kiosk-demo-electron/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}