Hey, I'm an IT tech at a university, and we're trying to deploy OpenStudio 2.7.0 with Sketchup 2017 to our labs. I'm installing by passing the OpenStudioInstaller.exe --script=install.qs option, and using the install.qs here: https://github.com/NREL/OpenStudio/blob/8c81faf8bc80b0e8f96a4b2764e5958cd060a625/install.qs
I changed it so that all components are selected, and the install directory, however, using the script otherwise as-is, it seems to get stuck after the MaintenanceTool.exe is created, and the installer show, "Installation Complete!", but it hangs at a window waiting for the user to press "next", after which it gets to the final screen where the script takes care of pressing the Finish button.
What I've tried:
Adding a NextButton press in the FinishedPageCallback section a line to the last section:
Controller.prototype.FinishedPageCallback = function () {
gui.clickButton(buttons.NextButton);
gui.clickButton(buttons.FinishButton);
}
Adding another NextButton press in the ReadyForInstallationPageCallback section:
Controller.prototype.ReadyForInstallationPageCallbtoack = function () {
gui.clickButton(buttons.NextButton);
gui.clickButton(buttons.NextButton);
}
Adding another NextButton press and changing the Controller.prototype.FinishedPageCallback to Controller.prototype.InstallationFinishedPageCallback:
Controller.prototype.InstallationFinishedPageCallback = function () {
gui.clickButton(buttons.NextButton);
gui.clickButton(buttons.FinishButton);
}
Nothing seems to take, but interestingly, I've noticed that the installer does not stop at this page when run manually. After creating the maintenance tool, it goes straight to the Install Finished page with the Finish button.
Anyone have any idea how to get the installer to get past this page?