So, I try to install Spark 2.5.8 online MSI (Java 1.6.0_10 or later is already installed on these PCs) and I found out about the unpacking problem. You need to be an admin to launch Spark once before it will work for non-admins. This doesn’t work when you’re trying to deploy machines in rapid succession.
In addition, the MSI package doesn’t want to uninstall correctly. Removing Spark and re-opening Add or Remove Programs produces another Spark uninstaller that doesn’t work. I had to use MSI Cleanup to remove it, and even then it wouldn’t reinstall through GPO because Windows thinks it’s still installed.
So to kill two birds with one stone, I might as well build a new MSI package with the unpacked JAR files. I have Advanced Installer, the same kit Ingite uses but version 3.2, and I’ve built a few working packages for GPOs with it. These packages can uninstall and reinstall properly. Is it a simple matter of copying the application files and creating shortcuts?
If I succeed, I can share the MSI here.