160 Commits

Author SHA1 Message Date
Arttu Tarkiainen
c7066c9dc2 Update usage of Apple-related terminology
Replace deprecated Q_OS_OSX macro used in several places with the newer
Q_OS_MACOS. Old style reference of Apple's desktop operating system name
as "OS X" in documentation and files are also replaced with "macOS"
where applicable.

Task-number: QTIFW-1406
Change-Id: I0561d5e0d964917ac4fca0702d58a06b85d30e57
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
2019-08-16 08:35:19 +00:00
Katja Marttila
2a791f276d Add tooltip for categories
Change-Id: I852a236bc2cff0d532a825581e3da4dcdcbbab90
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
2019-02-04 09:07:04 +00:00
Katja Marttila
cd5168de39 Add possibility to preselect categories in config.xml
Change-Id: I280247cb5155622ade604074c5a71a276b0fb629
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2019-01-17 08:07:50 +00:00
Katja Marttila
b4772841a9 Merge remote-tracking branch 'origin/3.0' into master
Change-Id: I73cb43e090c6ff34f1ceb774490d01818465e2e0
2018-12-10 12:57:41 +02:00
Katja Marttila
bc545c6583 Register virtual component for uninstall
Task-number: QTIFW-1102
Change-Id: I5033f095eece1f1e588c00f518cf7d9d046c2003
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
2018-11-06 05:55:33 +00:00
Katja Marttila
0e9909532f Add signal to inform about unstable components
Task-number: QTIFW-1197
Change-Id: If9d7941f4c7bfc478daa83dcd73dfa71c9163561
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
2018-09-27 08:13:51 +00:00
Katja Marttila
0f8d11ca8e Enable usage of categorized repositories
This change allows to categorize repositories in component selection
page. Using categorized repositories will by default show only
uncagetorized repository items in tree. Selecting one or several categories
using checkbox will update the treeview to show all selected categorized repository
content. Repository's metadata is fetched only after the category is selected.
Categorized repositories can be defined in config.xml:
<RepositoryCategories>
    <RemoteRepositories>
    <Displayname>category 1</Displayname>
    <Repository> <Url>(url)</Url></Repository>
    </RemoteReposiories>
    ...
<RepositoryCategories

Change-Id: I6eae9daee70b1afa322144d52c11f25d0b655ebf
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
2018-09-26 04:46:21 +00:00
Katja Marttila
e408037e22 Merge remote-tracking branch 'origin/3.0' into master
Change-Id: I09cacedb966eebc3f42a3402b0b3dc4f6dcd9be8
2018-05-15 13:04:50 +03:00
Juha Karjalainen
7f8948f9e2 Add missing content for example dependencies
Added missing content for example --> making it possible to test it.

 Changes to be committed:
	new file:   examples/dependencies/packages/componentA/data/installcontentA.txt
	new file:   examples/dependencies/packages/componentB/data/installcontentB.txt
	new file:   examples/dependencies/packages/componentC/data/installcontentC.txt
	new file:   examples/dependencies/packages/componentD/data/installcontentD.txt
	new file:   examples/dependencies/packages/componentE/data/installcontentE.txt
	new file:   examples/dependencies/packages/componentF.subcomponent1.subsubcomponent1/data/installcontentF_1_1.txt
	new file:   examples/dependencies/packages/componentF.subcomponent1.subsubcomponent2/data/installcontentF_1_2.txt
	new file:   examples/dependencies/packages/componentF.subcomponent1/data/installcontentF_1.txt
	new file:   examples/dependencies/packages/componentF.subcomponent2.subsubcomponent1/data/installcontentF_2_1.txt
	new file:   examples/dependencies/packages/componentF.subcomponent2.subsubcomponent2/data/installcontentF_2_2.txt
	new file:   examples/dependencies/packages/componentF.subcomponent2/data/installcontentF_2.txt
	new file:   examples/dependencies/packages/componentF/data/installcontentF.txt
	new file:   examples/dependencies/packages/componentG/data/installcontentG.txt

Change-Id: I40fde219a5ab866f611e596dd5991b9b93c8856f
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
2018-04-06 12:29:01 +00:00
Katja Marttila
d2ae9c16c3 Add attribute to mark parts of install tree unstable
This commit adds new AllowUnstableComponents configuration. Setting
AllowUnstablecomponents to true in config.xml will
* allow installing other components when there are errors in scripts
* allow installing other components when there are missing dependencies
* will mark the 'broken' components uninstallable in treeview

Task-number: QTIFW-930
Change-Id: I8d28cf9c4b0401e0bb76795e87d581f39b64f128
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
2018-04-05 06:54:21 +00:00
Katja Marttila
eef1ebfb60 Change 'Checkable' element behavior
Althogh 'Checkable' value is set to package, that can contain packages to
install. Enabling the install of components using 'Checkable' value.

Change-Id: I05d65fe2da65644872d46bdef3accd5e3f16ad31
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
2017-05-22 09:09:13 +00:00
Katja Marttila
9772474dd9 Merge remote-tracking branch 'origin/2.0'
Conflicts:
	Changelog
	dist/config/config.xml
	dist/packages/org.qtproject.ifw.binaries/meta/package.xml
	dist/packages/org.qtproject.ifw/meta/package.xml
	installerfw.pri
	src/libs/installer/lib7z_create.h
	src/libs/kdtools/kdgenericfactory.cpp
	src/libs/kdtools/kdgenericfactory.h
	src/libs/kdtools/kdupdaterapplication.cpp
	src/libs/kdtools/kdupdaterapplication.h
	src/libs/kdtools/kdupdaterupdatesourcesinfo.cpp
	src/libs/kdtools/kdupdaterupdatesourcesinfo.h
	src/libs/kdtools/localpackagehub.cpp
	src/libs/kdtools/localpackagehub.h
	src/libs/kdtools/updatefinder.cpp
	src/libs/kdtools/updatefinder.h
	tools/binarycreator/resources/mkdmg.sh

Change-Id: Iab2513f549832d2e750e77131c673457ab265af4
2017-01-30 14:40:26 +02:00
Katja Marttila
c9d11cc991 License header update to GPL-EXCEPT
Change-Id: I6426c4e8f932cf26c6c638dec18d0c12e22972d1
Reviewed-by: Janne Anttila <janne.anttila@theqtcompany.com>
2017-01-26 10:02:56 +00:00
Iikka Eklund
2af57eb8c8 Merge remote-tracking branch 'origin/2.0'
Conflicts:
	installerfw.pri
	src/libs/kdtools/kdgenericfactory.cpp
	src/libs/kdtools/kdgenericfactory.h
	src/libs/kdtools/kdupdaterapplication.cpp
	src/libs/kdtools/kdupdaterapplication.h
	src/libs/kdtools/kdupdaterupdatesourcesinfo.cpp
	src/libs/kdtools/kdupdaterupdatesourcesinfo.h
	sync.profile

Change-Id: Ifdc8b065f89b7e241bd3788ed79768e21888161f
2016-01-20 14:18:30 +02:00
Nico Vertriest
8bf239c376 Doc: Hide Checkbox example added to overview list
Corrected issue with non-appearing example

Task-number: QTBUG-50538
Change-Id: I5912e414c5de041be1bc60ceda79b8dfa5386f2f
Reviewed-by: Katja Marttila <katja.marttila@theqtcompany.com>
2016-01-20 09:49:30 +00:00
Katja Marttila
ba1209000a Allow defining non-checkable items
This change will introduce new element 'Checkable' for package.
Setting checkable to false will hide checkbox. Useful if use case
is to install one sub item instead of all sub items.

Change-Id: I8c731e77353b6da539dddcecdc8495b28ef5f7ea
Task-number: QTIFW-773
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
Reviewed-by: Iikka Eklund <iikka.eklund@theqtcompany.com>
2016-01-18 12:01:50 +00:00
Frerich Raabe
8b344748b7 Added support for setting descriptions of Windows shortcuts
This patch extends the CreateShortcut operation on Windows such that it
recognizes a new optional 'description' argument - if specified, it's
used to set the description (AKA "comment") of the Windows shortcut.

Change-Id: Ib0ab48bd30e83d9cc89b1bad7d2b88e9109bdcea
Reviewed-by: Katja Marttila <katja.marttila@theqtcompany.com>
2016-01-18 04:46:11 +00:00
Iikka Eklund
6ba58b42ab Update license headers
Update existing license headers. LGPL -> LGPLv21.
Update copyright year as well.

Change-Id: Ie1d71f8c68186b8f625f409ddf94691f178093c9
Reviewed-by: Katja Marttila <katja.marttila@theqtcompany.com>
Reviewed-by: Jani Heikkinen <jani.heikkinen@theqtcompany.com>
2015-12-29 07:31:11 +00:00
Katja Marttila
666ad7944d Fix translations README file to correspond how language can be changed
Change in QTIFW-390 caused that LANG cannot be used anymore in Windows and
Linux to change the language. Instead LANGUAGE should be used in Linux and
system settings changed in Windows

Change-Id: I2fa6881652e31836d85e2b7442a39a418654ee80
Task-number: QTIFW-791
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
2015-11-16 05:59:00 +00:00
Denis Shienkov
175ffec58f Allow to use the stylesheet to customize UI
Now it is possible to set a stylesheet file to customize
the wizard's UI. The stylesheet adds to the config.xml
file using the new "StyleSheet" element.

Change-Id: I66271f755a0f742e96cf433fe557423a2261e432
Reviewed-by: Iikka Eklund <iikka.eklund@theqtcompany.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-09-28 10:30:49 +00:00
Jarek Kobus
6969b19237 Store AutoDependOn inside components.xml
Change-Id: Id304ca857ee1897c35171d6c293774f1d638bc02
Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
2015-06-05 09:12:35 +00:00
Kai Koehne
1be5082af8 Merge remote-tracking branch 'origin/2.0'
Conflicts:
	src/libs/installer/packagemanagercore.cpp

Change-Id: Ie3d94fe3a633e189c260bf20682c00a2bb901bc8
2015-06-04 13:02:42 +02:00
Karsten Heimrich
a050b55190 Fix missing details output in example.
Commit 17e29fc8d3 introduced a behavior change, the
installer.components is no longer a array property,
it is now a function returning an array. Update docs.

Change-Id: I4fcdee6cff4572012236e1ac0768013a1e5689ac
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
2015-05-27 14:27:11 +00:00
Kai Koehne
7055b9ed84 Explain logic in dynamic page example
Change-Id: I2e41a4f19cfb0b6dc9cad03896db6d079cf7aeee
Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-05-27 07:25:56 +00:00
jkobus
f0b20942b8 Enable feature live preview of dependencies
This feature is available after setting
InstallActionColumnVisible property to true
inside config.xml

Change-Id: I5071d5c5c4562100a96530c581de01760ca0d2d5
Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
2015-05-07 13:05:57 +00:00
kh
45b05a4a4a Remove references to QtScript print, use console.log instead.
Change-Id: If83b08f6a27ac9c07980dd83a56b1500f22b13ef
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
2015-03-16 13:14:40 +00:00
Leena Miettinen
8c5fe6be5a Doc: fix link to quitinstaller example
Example folder name was changed.

Change-Id: I0970c23c88f385205441c022b356c03fb72a122d
Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
2015-03-05 11:52:44 +00:00
Jarek Kobus
96aa59558d Drop underscore in quit_installer example
Change-Id: I06291cf5ec09e5281f4a9554bb4145a2974042a1
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
2015-03-02 11:19:33 +00:00
Jarek Kobus
bbcbbbdc80 Try to be a little more specific in online README
Change-Id: I2110d675b96ab4ad84a702eebdedd61dc49cd077
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
2015-02-26 14:10:07 +00:00
Leena Miettinen
4503aa1ee1 Fix the default installation location for all examples
Now they are all located in distinct subfolders of
one common IfwExamples folder located in home.

Change-Id: Ife92e8d7f7fc33bc1f941f49c75333d0e4fc72d1
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-02-26 14:09:53 +00:00
Kai Koehne
99996591e0 Update Copyright
Change-Id: I8dde6629cfd461104364d5cdc255cb54b58283fa
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
2015-02-18 10:33:48 +00:00
Niels Weber
52ebff797d Add a translation example
Add an example showing how the translation of components
works. Also document this.
Make translated license files work again.

Task-number: QTIFW-469
Change-Id: I3c13ecc9941b09370d0713b19b2683b42454c43c
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-02-09 10:06:46 +00:00
jkobus
4a74d31c63 Fix a doc typo
Change-Id: I6208606b237a8f408cf071efb428c3e82e987ad8
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-01-27 13:39:27 +00:00
Kai Koehne
db423c387a Add example for online installer
Change-Id: I7c4f32db01b94b24339641907ae7cdbe209ff707
Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-01-26 12:39:58 +01:00
Leena Miettinen
5bd1428b29 Add a dependencies example
Change-Id: I77c404294a5210f892c88480fa5b56075d44cc30
Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
2015-01-23 17:20:21 +01:00
Leena Miettinen
9a6f2eb4aa Doc: fix broken link
Change-Id: Idb729705cd0c37173b483f265f63ff3ed496b047
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-01-21 15:00:44 +01:00
Leena Miettinen
69ae31ad0b Doc: more missed "section" to "element" changes
Change-Id: I2382e13b9e143f870b27507b214f2dfc045e2a50
Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
2015-01-21 14:27:15 +01:00
Leena Miettinen
7b584f55c2 Doc: replace "section" with "element" in example docs
Missed the example docs in the previous commit.

Change-Id: Ia48ae1bad208498429c39be8ff8c472b8b4786aa
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
2015-01-21 09:11:55 +01:00
Kai Koehne
9547c3ff71 Mark "os" variable as deprecated
Mark installer.variable("os") as deprecated, and replace it with
systemInfo.productType in the examples.

Change-Id: Ic86af21369cd066fc003b268f001101b642f6d2d
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
2015-01-20 11:25:58 +01:00
Leena Miettinen
38f4c5bf9a Doc: make example briefs more consistent
Make clear that all current examples illustrate how
to use component scripts.

Change-Id: Id1015912723ed2f8f982d8316c8923e47e4897bc
Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
2015-01-15 16:39:51 +01:00
Leena Miettinen
0b8539084c Doc: update docs for the Start Menu example
Change-Id: I861fb5fa80d7467a315c77b903d8de3b58724c54
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-01-09 13:39:01 +01:00
Leena Miettinen
9a5127a9d9 Doc: update docs for the Quit Installer example
Change-Id: I0b456962e9a07e16a3e44882d936f604fcd4f71f
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
2015-01-09 13:32:51 +01:00
Leena Miettinen
51eae5a731 Doc: update documentation for dynamicpage example
Fix issues in the example files.
Use the same values in all config.xml files to be able
to use a standard text to describe them.

Change-Id: I3a6dae58270906f590cde0c6e234d9bbb75d34f7
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
2015-01-09 13:32:30 +01:00
Leena Miettinen
5a1b61d27e Doc: update docs for Modify Extract Installer example
Fix issues in the example files and unify some values to
make it possible to use standard text for the configuring
section.

Change-Id: I4e4236d519d075fc1f0461e3b863989ca0373cd3
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
2015-01-08 17:02:30 +01:00
Tim Jenssen
fb25c949f8 Doc: update the Register File Extension example
And the docs.

Change-Id: I35f5edc1ad95df29d033e4220af003bac480d6e3
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
2015-01-08 17:01:38 +01:00
Leena Miettinen
4b63ef5f75 Doc: add docs for the Open Readme example
Change-Id: I0abee03607ee82a7753e5b857392da31dfe54551
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
2015-01-08 17:01:22 +01:00
Leena Miettinen
cb57245ea9 Doc: update the Tutorial section
Updated according to user feedback to make descriptions clearer.
Added documentation for all sections in config.xml, explained HomeDir,
and added a link to variable list.
Deleted an obsolete note.
Updated screenshots.

Change-Id: I255569f8a09c7c3b996b6e201c5469874027cf60
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
2014-12-10 09:30:08 +01:00
Kai Koehne
de748023e5 Expose systemInfo API
Add systemInfo as a wrapper for QSystemInfo.

Task-number: QTIFW-592
Change-Id: Ib54fcea8b0ef3a397a74f5315202f3000abd63cd
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
2014-12-05 14:02:38 +01:00
jkobus
c5ccdf37c0 Remove unneeded <Name> property from examples.
Change-Id: I67b97bd033634e6189bda1aa68f5c2bc02ddee76
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
2014-12-02 09:28:01 +01:00
jkobus
5a6d753d62 Select by default components in examples
Change-Id: I884b6ff2055ecf9505b0fd4dd75fe9a56b69e6ff
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
2014-12-01 16:12:36 +01:00