如何正确使用Qt安装框架创建在线安装程序
我想知道,为什么关于QtIFM的信息如此缺乏? 所以,基本上我已经成功地创建了离线安装程序,但现在在线安装有一些问题。 以下是我制作回购协议的脚本:如何正确使用Qt安装框架创建在线安装程序,qt,qt-installer,Qt,Qt Installer,我想知道,为什么关于QtIFM的信息如此缺乏? 所以,基本上我已经成功地创建了离线安装程序,但现在在线安装有一些问题。 以下是我制作回购协议的脚本: D:\Qt\QtIFW-3.0.6\bin\repogen.exe -p client\packages client\clientRepository 这是为了使安装程序: D:\Qt\QtIFW-3.0.6\bin\binarycreator.exe --online-only -c client\config\config_online.x
D:\Qt\QtIFW-3.0.6\bin\repogen.exe -p client\packages client\clientRepository
这是为了使安装程序:
D:\Qt\QtIFW-3.0.6\bin\binarycreator.exe --online-only -c client\config\config_online.xml -p client\packages client\OnlineInstaller.exe
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>
4x4基本名称
1.0.0
4x4基本标题
AlexLPN公司
Board4x4
@HomeDir@/Board4x4/Basic4x4
http://github.com/alexlyapin/Basic4x4/clientRepository
1.
示例存储库
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>
"
右边是Basic4x4文件夹、Updates.xml和license.txt
当我创建安装程序并尝试测试repo时,我得到错误:
Updates.xml:分析元素时出错
所以,要么是位置错误,要么是一些xml行。有人能检查一下或给我一些建议吗?
谢谢!我找到了一个解决方案。问题是,GitHub没有像某些主机提供的那样提供真正的存储库,因此,文件索引是不可能的
我在那里创建了免费托管并上传了存储库。之后一切正常。我个人没有尝试过,但使用github raw就可以了
使用
而不是