How can I hide the select installation folder using qt installer Framework?
Asked
Active
Viewed 1,295 times
2 Answers
1
As I explained in a similar post here : Qt installer framework: remove radio buttons from uninstaller, I think the same answer can be used for your problem:
function Controller() {
if (installer.isInstaller()) {
installer.setDefaultPageVisible(QInstaller.TargetDirectory, false);
}
}
I haven't tested this snippet but I'm pretty sure it will skip the "Target Directory page". Don't forget to add this script (let's say, controlScript.js) in your config.xml
file :
<ControlScript>controlScript.qs</ControlScript>
1
On the installer script, adding this line:
currentPage.TargetDirectoryLineEdit.enabled = false;

Alberto Valero
- 410
- 4
- 14