@WHNM-DHZ , I'm currently having problems with including images in the stylesheet of our installer. Could you elaborate on where the image needs to be located in order for it to be picked up by the installer itself? Thx
Just my guess, but I would say it's something as simple as popularity? xz is not widely used on Windows and 7z is kinda universally used/recognized at this point so... I'm guessing it's just a coin-flip decision.
but my problem is with the installer script (sorry for not having explained before (-_-)). The application is fine according to the customer feedback.
Am trying to check the existence of previous installations and if so, check which version is installed. For this, I have created a registry entry containing the application path and installed version, but I donĀ“t know how to compare the current installation version with the previously installed one.
At last I got it to work. The parameter "/reg:64" passed to reg.exe makes it do what it's told. I just hope this won't mess things up on a 32bit windows.
You can use "UNDOEXECUTE". For example: component.addOperation("Execute", "msiexec", "/i", "xxx.msi", "/quiet", "UNDOEXECUTE", "msiexec", "/x", "xxx.msi");
Controller.prototype.IntroductionPageCallback = function()
{
// Installer is "updater" when it is run with "--updater"
// or Controller does "installer.setUpdater()"
if (installer.isUpdater()) {
var widget = gui.currentPageWidget(); // Same as gui.pageById(QInstaller.Introduction);
widget.findChild("UpdaterRadioButton").checked = true;
// Disable paint events on these widgets, through the QWidget::updatesEnabled property.
// I tried with the "visible" property, but it is not enough, because for some reason
// that property gets reset under some conditions. For example, if "Next" button is pressed
// and no updates are available.
widget.findChild("PackageManagerRadioButton").updatesEnabled = false;
widget.findChild("UninstallerRadioButton").updatesEnabled = false;
}
}