forked from qtproject/installer-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for JSON formatted component alias source files
The JSON formatted source file follows the same properties as the officially supported XML declaration file. The undocumented (private) file format support is added for installers extended via the ProductKeyCheck API, that can use the JSON format. Task-number: QTIFW-3175 Change-Id: If1463a1e3796b818feb8682d66e443e09fefcf15 Reviewed-by: Katja Marttila <[email protected]>
- Loading branch information
Showing
5 changed files
with
135 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"alias-packages": [ | ||
{ | ||
"Description": "Installs component A", | ||
"DisplayName": "Installation A (JSON)", | ||
"Name": "set-A-json", | ||
"RequiredComponents": [ | ||
"A" | ||
], | ||
"Version": "1.0.0", | ||
"Virtual": false | ||
}, | ||
{ | ||
"Description": "Installs component B", | ||
"DisplayName": "Virtual installation B (JSON)", | ||
"Name": "set-B-json", | ||
"RequiredComponents": [ | ||
"B" | ||
], | ||
"Version": "1.0.0", | ||
"Virtual": true | ||
}, | ||
{ | ||
"Description": "Installs all components", | ||
"DisplayName": "Full installation (JSON)", | ||
"Name": "set-full-json", | ||
"RequiredAliases": [ | ||
"set-A-json", | ||
"set-B-json" | ||
], | ||
"RequiredComponents": [ | ||
"C" | ||
], | ||
"Version": "1.0.0", | ||
"Virtual": false | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters