Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt Installer Framework, error while testing repository
Forum Updated to NodeBB v4.3 + New Features

Qt Installer Framework, error while testing repository

Scheduled Pinned Locked Moved Solved Installation and Deployment
3 Posts 1 Posters 717 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Alex Lyapin
    wrote on last edited by
    #1

    Hello everyone! I wonder, why there is such lack of information about QtIFM?
    So, basically I have successfully created offline installer, but now have some problem with online one.
    Here is my script for making repo:

    D:\Qt\QtIFW-3.0.6\bin\repogen.exe -p client\packages client\clientRepository
    

    This is for making installer:

    D:\Qt\QtIFW-3.0.6\bin\binarycreator.exe --online-only -c client\config\config_online.xml -p client\packages client\OnlineInstaller.exe
    

    The config_online.xml:

    <?xml version="1.0" encoding="UTF-8"?>
    <Installer>
        <Name>4x4Basic name</Name>
        <Version>1.0.0</Version>
        <Title>4x4Basic title</Title>
        <Publisher>The AlexLPN Company</Publisher>
        <StartMenuDir>Board4x4</StartMenuDir>
        <TargetDir>@HomeDir@/Board4x4/Basic4x4</TargetDir>
    
        <RemoteRepositories>
             <Repository>
                 <Url>http://github.com/alexlyapin/Basic4x4/clientRepository</Url>
                 <Enabled>1</Enabled>
                 <DisplayName>Example repository</DisplayName>
             </Repository>
        </RemoteRepositories>
    </Installer>
    

    The updates.xml:

    <?xml version="1.0" encoding="utf-8" ?> 
    <Updates>
     <ApplicationName>{Basic4x4}</ApplicationName>
     <ApplicationVersion>1.0.0</ApplicationVersion>
     <Checksum>true</Checksum>
     <PackageUpdate>
      <Name>Basic4x4</Name>
      <DisplayName>Basic4x4 component</DisplayName>
      <Description>This component is uncheckable.</Description>
      <Version>1.0.0</Version>
      <ReleaseDate>2015-12-01</ReleaseDate>
      <SortingPriority>40</SortingPriority>
      <Checkable>false</Checkable>
      <UpdateFile UncompressedSize="56605917" CompressedSize="15509593" OS="Any"/>
      <DownloadableArchives>iconengines.7z,imageformats.7z,platforms.7z,styles.7z,translations.7z,content.7z</DownloadableArchives>
      <Licenses>
       <License name="License agreement" file="license.txt"/>
      </Licenses>
      <SHA1>3ef56b443d43c3d49ee983d7d1f5e6cd6280e30b</SHA1>
     </PackageUpdate>
    </Updates>
    

    The package is uploaded to GitHub repository as "https://github.com/alexlyapin/Basic4x4/tree/master/clientRepository"
    right there are located Basic4x4 folder, Updates.xml and license.txt

    When I make the installer and try to test the repo, I get the error:
    Updates.xml: error occurred while parsing element

    So, either the location is wrong or some xml lines. Can someone please check or advice me something?
    Thank you!

    1 Reply Last reply
    0
    • A Offline
      A Offline
      Alex Lyapin
      wrote on last edited by
      #2

      I found a solution. The point was, that GitHub does not give you the real repository as it is given by some hosting, thus, the file indexing is not possible.

      I have created free hosting and uploaded repository there. After that everything works correctly.

      1 Reply Last reply
      1
      • A Offline
        A Offline
        Alex Lyapin
        wrote on last edited by Alex Lyapin
        #3

        For anyone who wants to find video tutorial for Qt Installer Framework check THIS out:

        It is in russian, but you can just copy the code from screen, since it is only about making installer for Hello world app.
        The author makes all the work using pro files and automates the process of compilation -> deployment -> repository creation -> offline\online intaller creation. And all this stuff just with one click. Looks like the best video about QtIFW (imho of course).

        All the best ^-^

        1 Reply Last reply
        1

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved