Silent Install Spark

I am trying to create an xml recipe file for a msi installer but it’s always skipping something along the way so my install doesn’t seem to be full proof. Is there a better way to install spark on a whole slew of machines? A batch perhaps that would run the installer in the background/silently that can input the needed info since there are options on the spark installer? I tried using the guide posted here from a previous version but it also seems to leave out some bits…either because it discusses not using the registry snapshots or something else I am unsure.

You can find a few tips here Trying to use GPO to install Spark

I went ahead and made a post in that thread since it was related to that line of code. Hope to get a solution figured out to run the batch as admin on login for non-admin users.