Online Installer with Azure Blob Storage Static Website
-
Hello All,
I am having some trouble getting an online installer working using a repository hosted in an Azure Blob Storage Static Website and was wondering if anyone here might have an idea what is wrong with my setup or if I should move the repository somewhere else.
Currently I have followed the online installer documentation (https://doc.qt.io/qtinstallerframework/ifw-online-installers.html). After I compile the installer binary and run it I get an error on the first page when trying to click next "Cannot retrieve remote tree ." Note there is a space between tree and the period, so I'm not sure if that means I have not defined something that is required. Now "I believe" this is maybe meaning that it cannot find the repository or maybe I am missing something somewhere in my configs.
As for my repository, I have it hosted in an Azure Blob Storage Static Website. I can access the repository through the browser and view the Updates.xml file. Note in Azure Blob Storage the items are case sensitive so I tried adding a updates.xml file with no luck. I am not sure if maybe the Azure Blob Storage has something to do with the error or not.
Here are the config files:
config.xml<?xml version="1.0" encoding="UTF-8"?> <Installer> <Name>Testing Client</Name> <Version>1.0.0</Version> <Title>Testing Client Installer</Title> <Publisher>Test Pub</Publisher> <StartMenuDir>MyPub</StartMenuDir> <TargetDir>@HomeDir@/InstallationDirectory</TargetDir> <RemoteRepositories> <Repository> <Url>https://<Azure Blob Storage Static Website Url>/repository/</Url> <Enabled>1</Enabled> <DisplayName>Test Client Repository</DisplayName> </Repository> </RemoteRepositories> </Installer>
package.xml
<?xml version="1.0" encoding="UTF-8"?> <Package> <DisplayName>The root component</DisplayName> <Description>Install this example.</Description> <Version>1.0.0</Version> <ReleaseDate>2022-01-01</ReleaseDate> <Licenses> <License name="Beer Public License Agreement" file="license.txt" /> </Licenses> <Default>script</Default> <Script>installscript.qs</Script> <UserInterfaces> <UserInterface>page.ui</UserInterface> </UserInterfaces> </Package>
Updates.xml
<Updates> <ApplicationName>{AnyApplication}</ApplicationName> <ApplicationVersion>1.0.0</ApplicationVersion> <Checksum>true</Checksum> <PackageUpdate> <Name>com.vendor.product</Name> <DisplayName>The root component</DisplayName> <Description>Install this example.</Description> <Version>1.0.0</Version> <ReleaseDate>2022-01-01</ReleaseDate> <Default>script</Default> <Script>installscript.qs</Script> <UpdateFile UncompressedSize="121" CompressedSize="348" OS="Any"/> <DownloadableArchives>content.7z</DownloadableArchives> <UserInterfaces>page.ui</UserInterfaces> <Licenses> <License name="Beer Public License Agreement" file="license.txt"/> </Licenses> <SHA1>5b5f9ca65533e79ae055b6619f84909cdbebfc9e</SHA1> </PackageUpdate> <SHA1>5b5f9ca65533e79ae055b6619f84909cdbebfc9e</SHA1> <MetadataName>2022-01-06-1835_meta.7z</MetadataName> </Updates>
Any help that can be provided is appreciated.
Thank you so much,
Josh