Qt installer framework: installer crashes when trying to use controlscript
-
I am working on the installer for my Qt program and am trying to use the controlscript feature to remove unnecessary pages from the installer and uninstaller. When I add the tag
<ControlScript>scripts/install.qs</ControlScript>
to my config.xml file, the binary creator throws no errors, but creates an installer that crashes on start. If I run the installer, a powershell window flashes, and disappears. This happens regardless of the contents of the script, or whether the script file even exists in the project. If I remove the ControlScript tag, the installer works as normal. What can I do to make the ControlScript tag work?
-
I am working on the installer for my Qt program and am trying to use the controlscript feature to remove unnecessary pages from the installer and uninstaller. When I add the tag
<ControlScript>scripts/install.qs</ControlScript>
to my config.xml file, the binary creator throws no errors, but creates an installer that crashes on start. If I run the installer, a powershell window flashes, and disappears. This happens regardless of the contents of the script, or whether the script file even exists in the project. If I remove the ControlScript tag, the installer works as normal. What can I do to make the ControlScript tag work?
@OliverLong Start the installer from a terminal to see whether it prints any warnings/errors