summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fix openpty static link problemTim Jenssen2012-06-125-4/+2
| | | | | | | | | - as the linker only adds symbols which are needed, the order of the libraries are important Change-Id: Iad8e5a5015cc5949be9b8f0b01702a7f854f6d95 Reviewed-by: Rainer Keller <rainer.keller@nokia.com> Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
* add the installer create datetime to --versionTim Jenssen2012-06-122-1/+19
| | | | | | | | | | - binarycreate patches the installerbase to add the installer create datetime - output is now: Installer creation time 2012-06-08 - 17:39:43 IFW Version: "1.0.0", Installer base SHA1: "7031ecf", Build date: "Jun 8 2012". Change-Id: I8f82c6942eefaf49e5ad8605577a0034a7502a6c Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
* remove -qt-gif option from README as wellNiels Weber2012-06-111-1/+1
| | | | | Change-Id: Ib3fc1592f9be94f9452462e499ed15a1e4eeec67 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* clean up exception usageTim Jenssen2012-06-113-59/+27
| | | | | Change-Id: I6e1fd425e9b528049f1d461eb2d66c49f70e7288 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* adjust the existing create-test-installer.bat to new syntax of the ifwTim Jenssen2012-06-111-41/+58
| | | | | | | Change-Id: Idedcdb57ef169114ef2974a4a748a86ad88b9739 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com> Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Bring documentation of Repositories tag in line with the code.Niels Weber2012-06-081-13/+12
| | | | | | | | Remove obsolete option, add missing options. Change-Id: I4d34c7dcbb222243b35bb5362db9222c96e30dcc Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Include unistd.h where needed on LinuxNiels Weber2012-06-053-0/+8
| | | | | | | | | | This allows compiling with gcc 4.7. For more information see: http://gcc.gnu.org/gcc-4.7/porting_to.html Change-Id: I1b3b62fad3c44bdeb701d961297519a2057bf76e Reviewed-by: Oliver Wolff <oliver.wolff@nokia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* add working dir parameterMaurice Kalinowski2012-06-042-4/+11
| | | | | | | | sometimes it is useful to launch a process with a specified working directory. Only use this as an optional argument. Change-Id: I4eedd9b27713b9bc284f1945e67e115b5615640b Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Revert "windows needs to know that the link will be a directory"Tim Jenssen2012-06-011-7/+4
| | | | | | | | | - better is to use it on existing directory This reverts commit a240e7dbadc3f0cbcd4a483ddf7093562df8ca37. Change-Id: I9103174eaa392a28b7a278ca9343a94b66d76e80 Reviewed-by: Oliver Wolff <oliver.wolff@nokia.com>
* QFileInfo.exists looks for the target which wasn't intendedTim Jenssen2012-05-312-3/+3
| | | | | Change-Id: I8d371045bb500f8954a42523f8d5024b04309ceb Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* windows needs to know that the link will be a directoryTim Jenssen2012-05-311-4/+7
| | | | | | | | - but at the moment the directory doesn't exist so the only thing is to get that information from the last char Change-Id: I96ecc086ca19047dc0a3ae57262e903ae8923535 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* fix case in READMENiels Weber2012-05-311-1/+1
| | | | | Change-Id: Ib156fc53e87f87b410695e9ca91efa2380e57134 Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
* QFileInfo(m_path).readLink(); can't read junctionsTim Jenssen2012-05-303-18/+64
| | | | | | | | | | | | | - in older code there was a try to resolve junctions like symbolic links, but this broke many other code - we copied the read windows symlink code from the private qt file and made small adjustmenst to be able to call it directly in targetPath() method - and changed the isValid behaviour, because we want to create links to locations which are created later - and it is creating the path to the link on every OS Change-Id: Id11839bbf2ecfde410982833d10f96d36fe1cab7 Reviewed-by: Alexander Lenhardt <alexander.lenhardt@nokia.com>
* normalize the pathes in windows create link functionsTim Jenssen2012-05-301-2/+5
| | | | | | Change-Id: I83dd005fa3ee3732cb1884deb87c1bfebbbe3237 Reviewed-by: Maurice Kalinowski <maurice.kalinowski@nokia.com> Reviewed-by: Oliver Wolff <oliver.wolff@nokia.com>
* execute the dependsOnLocalInstallerBinary check after beginInstallationTim Jenssen2012-05-301-15/+24
| | | | | | | | | | | - beginInstallation needs to be run before checking for dependsOnLocalInstallerBinary as that value isn't set before - with this change we can use the beginnInstallation method in the component scripts to set this depends check Change-Id: Ib0964ab84a43499b3dc574aa5d7aecb2c69f01f1 Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* now setValue methods are replacing @variables@Tim Jenssen2012-05-252-7/+10
| | | | | | | Change-Id: I9ded8cc4c226b4f3694e1f7fe7ad012269c18dde Reviewed-by: Alexander Lenhardt <alexander.lenhardt@nokia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com> Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
* add a fallback for alreadys installed installationsTim Jenssen2012-05-259-28/+109
| | | | | | Change-Id: Ib7dd955cb89e307d557b7a4706a885c031d6289f Reviewed-by: Alexander Lenhardt <alexander.lenhardt@nokia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* added new Link class and corresponding operationTim Jenssen2012-05-257-90/+466
| | | | | | | - replace read junction link target code with already existing Qt code Change-Id: I6642f19ceb9a907791987ced8e9eacc6ca4f2780 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* After failing admin authorization, allow retrying by handNiels Weber2012-05-242-2/+24
| | | | | | Change-Id: If05f1c6359c2667e0094721540415b5293856370 Reviewed-by: Alexander Lenhardt <alexander.lenhardt@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* line length fixingNiels Weber2012-05-211-2/+5
| | | | | Change-Id: I4e625eac370bfa195fdc4e79e4edf9c4caa54792 Reviewed-by: Alexander Lenhardt <alexander.lenhardt@nokia.com>
* now the qt creator releated locations are more flexibleTim Jenssen2012-05-1611-106/+130
| | | | | | | | - tried to remove or move Qt/Qt Creator related things from the core classes Change-Id: I168ae3c56785e389ac34b761be98a7782a683de7 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com> Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
* remove unneeded #include "constants.h"Tim Jenssen2012-05-162-2/+0
| | | | | | Change-Id: Id25e26fd88a43f5470036e8d9cde04e5d7e7b0d8 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com> Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
* let value() also query the Settings objectAlexander Lenhardt2012-05-163-2/+11
| | | | | | | | | | if a value can not be found in the m_vars hash, value() will query the Settings object first before returning the default value. This allows to specify arbitrary tags to be defined in e.g. config.xml which can later be accessed by installationscripts. Change-Id: I881ff961e3647fa32a0219bbfc8bbb89935ff3d4 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* corrected spelling in a method nameTim Jenssen2012-05-153-3/+3
| | | | | | Change-Id: I1c9d91af82fee76b0da0c1ed15067bc806883e04 Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* remove the limitation that archivegen could handle directories onlyTim Jenssen2012-05-145-27/+21
| | | | | Change-Id: I5e7b6740d6df1b858cee091a1174e8fd64e477a7 Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
* remove unneeded variableTim Jenssen2012-05-141-1/+0
| | | | | Change-Id: Iced0128f40f4e84b2751ef37079c70f7c69dabcc Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* Fix broken check for translation files.kh12012-05-071-1/+1
| | | | | | | | Even if SUCCESS contains false, the term evaluates to true cause SUCCESS is not empty... Change-Id: I259e6224de9816629c4fb538a49dd072ea58e7d3 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* use string replace method instead of unneeded regexp (\ -> /)Tim Jenssen2012-05-073-11/+5
| | | | | | Change-Id: I9116fc2484e0c2c6e76a9f7e5318d7985f31b898 Reviewed-by: Oliver Wolff <oliver.wolff@nokia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* add killProcess methodTim Jenssen2012-05-076-0/+97
| | | | | | | | | - only implemented under windows where it could be needed for update - even the delete file method moves files to temp which can not be removed, it is much safer to kill the process Change-Id: Ide043657d5f74186da02cb18a87072b18910c964 Reviewed-by: Oliver Wolff <oliver.wolff@nokia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* remove unneeded method in the uninstall caseTim Jenssen2012-05-071-4/+0
| | | | | | | | | | | | | | | | | | - an uninstallation is basically running the undo operation on all ran/saved operations, for this no scripts are needed and usually they are not loaded to run the uninstaller(maybe there is a bug if the user used the previous button of the maintenance tool in the packagemanager or updater mode) - both removed methods using things from script which shouldn't load in the uninstall only mode - what should do an uninstaller if they need to close an application to run correctly, till now this is not needed because if the delete method of the installer can't remove a file it moves it to the temp directory Change-Id: Ia8d8337b64450473fd400a4c5b2fc2d96daefecc Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* no need to remove the startmenu entryTim Jenssen2012-05-041-11/+0
| | | | | | | | - createShortCutOperations handles that completely (it removes every parent dir if it is empty) Change-Id: I94021c12342de9ec3bfa859d17c352b73b55e4dc Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* Doc: fix style sheetsLeena Miettinen2012-05-037-277/+616
| | | | | Change-Id: Id158ddef8ff27fb17950c161b07624ecdb6f3ea8 Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
* Fixes to parameter syntax documentation.Niels Weber2012-05-031-9/+9
| | | | | | Change-Id: Ie515bb76104b6c325f93e643828619d46e052533 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* use QHash where it is possibleTim Jenssen2012-05-0314-44/+42
| | | | | Change-Id: I01edf5ee396ea61526dce52d7b7f4fd02721c220 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* improve clickButton and isButtonEnabledTim Jenssen2012-05-031-5/+22
| | | | | | | | - show the type of the missing button as a readable string Change-Id: I68dbadd1ddd0a1a43219807e9fb2c0b4fa9df436 Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* fix 0a8755a for Linux and MacNiels Weber2012-04-303-2/+14
| | | | | Change-Id: I7b3a85e8b83226db47955f88c13b5bc3cd8b5ad1 Reviewed-by: Oliver Wolff <oliver.wolff@nokia.com>
* Fix connection type, makes the models actually work.kh12012-04-271-1/+1
| | | | | Change-Id: Ibbbc944c603a10c3de43ad96f89a7ca00f3993b9 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* use scCommaRegExp where ever we canTim Jenssen2012-04-278-12/+11
| | | | | Change-Id: I484e20fd53c2710595c5d4eb28878932eebafe35 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* now we can setTempRepositories from script sideTim Jenssen2012-04-275-28/+21
| | | | | | | - this makes testing with autoscript more convenient Change-Id: I93e25570cd9f2b1431412a601476947fc9a046d9 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* now installer can disallow to install from a remote locationTim Jenssen2012-04-2710-3/+175
| | | | | | | | | | | | - at the moment the implementation is windows only - in some cases it is problematically to install big installers from a remote location: if the connection is lost -> crash - the installer itself can have the flag DependsOnLocalInstallerBinary in the config.xml file - or a component can request that installer.setDependsOnLocalInstallerBinary() Change-Id: I0c8d70ca89dd55d2d0c52bf3418f11c95b5290a1 Reviewed-by: Oliver Wolff <oliver.wolff@nokia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* added the possibility to ask the gui if a button is enabledTim Jenssen2012-04-272-0/+12
| | | | | | | Change-Id: I3f3bb02de3e290fc423de5d83f4cb4799b35ec6a Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* remove allowMaintenanceTool checkNiels Weber2012-04-271-29/+0
| | | | | Change-Id: Ibb6d0757137bef2e381030d2b6baf5f2460d3439 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Implememt a way to ask for and save user authentication settings.kh12012-04-278-9/+245
| | | | | | Change-Id: If1fa6bbcb8cd0d3da08f33f96b52589251f9cffc Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Fix formatting and indention.kh12012-04-271-7/+4
| | | | | Change-Id: I37d4d26ca68de83a6651fe6b8119830ea282fa1d Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Do not limit parameter count to 10 in add(Elevated)OperationOliver Wolff2012-04-272-16/+46
| | | | | | | | | Instead of adding more and more parameters to the functions the possibility to use arrays was added. Change-Id: I8569b162e5676f1a3b7c4f2a5b3bf98cb2f46030 Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* fix build and warning on OSX after f691fd7, 84a744kh12012-04-262-3/+2
| | | | | | | Change-Id: Ibcae072952c9835a6c698889a539453b2d88059a Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Andreas Holzammer <andreas.holzammer@kdab.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Add possibility to verify custom pages.Andreas Holzammer2012-04-256-0/+67
| | | | | | | | | Introduce setValidatorForCustomPage, to set a validator for a custom page. Change-Id: I24739d9544c20e0b2b1beab1ae90f8b98cc3d542 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Insert RegisterQtInCreatorQNXOperationAndreas Holzammer2012-04-254-0/+291
| | | | | | | This allows to add a Qt for QNX in the QtCreator. Change-Id: Icd8a75cdbc50df333fe9f6a93399392ee4a7109d Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* add the possibility to add a repository from script sideTim Jenssen2012-04-254-0/+46
| | | | | Change-Id: Ida419095138fcfb924210484c2bf2d1cb77fc55b Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* Move the models inside core engine.kh12012-04-257-89/+124
| | | | | | | | Improves the situation for qml based installer. Change-Id: Ia7198f0720a1268c7918517228c13255cccce4ea Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>