Document the existence of addElevatedOperation.Task-number: QTIFW-407
Change-Id: I885cc8432ceffae48e94f165f415baa0e54155c2
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Move TestRepository from sdk to own file in installer libMoved the class to installer lib so it can be reused
in ProductKeyCheck as well.
Change-Id: I8b207f4816505671fa05ebf602895978e04d13e9
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
these includes are files from the libChange-Id: I136aacd978dade86983eb767686c3625305d616a
Reviewed-by: Niels Weber <niels.weber@digia.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Offline installer do not require any temporary space.Though not a real fix, it is still part of QTIFW-395.
Change-Id: Idcde0dbd6b578fe900fc3ea3f11a68a90ff1f122
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
Reviewed-by: Niels Weber <niels.weber@digia.com>
Name .dmg files after the application bundle on Mac OS XUse the name of the application bundle (input.outputPath) to give the
disc image a volume name instead of using the file name of the .dat
file ("out" is set to 'installer.dat' at construction time).
Change-Id: I0f53ca7fcafb83353f4fea61b62037f48281375e
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
do not reset registered archives in installer case - that reseted registered archives which are read from the
binary content class which is only done once at the start
of an installer
Change-Id: I74da50276e28094555f4e7960b1a92a49b729236
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Restart on the wizard needs to cleanup component left-overs - use two different script engine instances
- one which lives from the beginning -> the controlScriptEngine
- the other one which will be reset if there are some new repositories
loaded
- now the core has a pointer to the gui object, but it should only be
used by the script engine so a QObject type should be enough
- engines are deleted as QObject children from the Packa...
Always only delete the install directory if it's empty.We have to reset the force removal flag inside the operation
to not delete any other files/ folders than our own created.
Once the flag is set to false, the operation will fail on any
file/ folder still left in the install path.
Note: the config.rcc is a dummy file to calm down settings class
parser warnings.
Change-Id: I66efb5836e310bdb1b64e5647ee76c058cea2a7e
Reviewed-by: Tim Jenssen <tim.je...
Environment variables changes are not propagated to the system.Note: we already used the Unicode version of the function call,
though without passing the right LPARAM. Might fix the issue...
Task-number: QTIFW-391
Change-Id: I28e0afd45ea7e4d1b904dcf8357fc990dec6767a
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
Fix virtual function being hidden error.Change-Id: I7b4072a11df9f06a45c11dfc4268e1cfc63ccb53
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
prepare script engine to get the gui object later - Since we need two different script engines we need to be able to set
the gui object later
Change-Id: Ie40f8ec3dd84dc4d5b3cf127c3e41ce25ef53b66
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Build installers with accessibility pluginThis change makes the installers work with screen readers.
Task-number: QTBUG-34296
Change-Id: I87cf313657d9eaa31f4cd89729b4e298880ae99e
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
fix that restart is only triggered if the user wants itChange-Id: I7814e94819088a4ee82fea9a120d99be6f63d934
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Option parser, rcc works for current path -> no target expectedChange-Id: I93bc6613203e1e879b18e7a8d6ef8849870835ee
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
Implement a way to replace the default resource.Change-Id: I2e362d255bf2526f216cbb872bbb64d37383d229
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
Reviewed-by: Michal Klocek <michal.klocek@digia.com>
Make sure we parse and pass arguments as early as possible.Change-Id: I384f036a24e3eb648bde0fa8e40ab8dcb0779e7b
Reviewed-by: Michal Klocek <michal.klocek@digia.com>
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
keep the old patch file list up to date Later we can remove the versions without any version ending, but
currently we have some old components which are using this.
Change-Id: I593b46a23807b0e64fd86e543b28951e23424a3c
Reviewed-by: Iikka Eklund <iikka.eklund@digia.com>
Fix target dir for root installations and empty AdminTargetDirMake sure e.g. '@homeDir@' is replaced also in this case.
Change-Id: Ife5b2d88e19abdab8b9264c5db09c1d9b5c13916
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Connect extract operation to progress calculation.Ignore senders which are sending 100% more then once, got that from
7z lib at the extracting step.
Task-number: QTIFW-11
Task-number: QTIFW-141
Change-Id: I7750f9e49d5705df91e6c79c7ee2b0530e156e84
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
make replacing installer base binary more verboseChange-Id: Ib11b3cfa4121241421d479af23ed0ee111c0069c
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Reviewed-by: Michal Klocek <michal.klocek@digia.com>
remove possible leaks of the real urlChange-Id: I630105db27a52b85b8c1da859aa35a2442c8cee2
Reviewed-by: Iikka Eklund <iikka.eklund@digia.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
ignore filtered repositories as early as possible - we had a recursion if a repository was added which
was filtered later again
Change-Id: I980a613fa75de42940ec49b941e302f1bf326ca9
Reviewed-by: Iikka Eklund <iikka.eklund@digia.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Fix possible crash. Disable close button during installer run.Change-Id: I6a0affab7394e3ae9669904bbfc48617b5cb1bd5
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
remove slotCurrentPageChanged and call it directly - also renamed it to better name: executeControlScript
Change-Id: Id2bb7cada2386561c2b25b158c6aa101382e5cc4
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
move creating the temp remoterepo dir - in case we are getting a new repository it gets a reset which
starts from the beginning. So it is better to create that at
the end.
Change-Id: I6613ce899fd695e6df8825290a7d945a67d61168
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
We can't expect a multiple of 8 during marker search.Once the marker was on a position not matching a multiple of
8 from the end, the search would fail. Now decrement by 1 byte.
Change-Id: Ia703c9074b3bef6b1a300865abfe24dcb2c8d5fd
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
Reviewed-by: Niels Weber <niels.weber@digia.com>