<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[gOxiA=苏繁=SuFan Blog]]></title> 
<link>https://maytide.net/index.php</link> 
<description><![CDATA[gOxiA,苏繁,sufan,Microsoft MVP]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[gOxiA=苏繁=SuFan Blog]]></copyright>
<item>
<link>https://maytide.net/read.php/2008.htm</link>
<title><![CDATA[HOWTO: 通过 Intune 分发 WinGet 测试版]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft Cloud]]></category>
<pubDate>Mon, 09 Aug 2021 08:01:09 +0000</pubDate> 
<guid>https://maytide.net/read.php/2008.htm</guid> 
<description>
<![CDATA[ 
	<p><img alt="logo_intune" src="http://goxia.maytide.net/ftpup/2018/83837cef08fa_F50A/logo_intune_thumb.png"></p><p><font color="#fd3f0d" size="4"><strong>HOWTO: 通过 Intune 分发 WinGet 测试版</strong></font></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WinGet 即 Windows 程序包管理器，官方解释为一个综合的程序包管理解决方案，由一个命令行工具和一组用于在 Windows 10 上安装应用程序的服务组成，主要面向开发人员或 ISV。对于企业 ITer 来说，如果你使用过这个工具就会发现它有无限潜能，因为我们可以利用 WinGet 实现应用程序的自动安装、升级等管理功能。如果希望了解 WinGet 的有关资讯，可以参考 <a href="http://goxia.maytide.net" target="_blank">gOxiA</a> 之前的分享 “<a href="https://goxia.maytide.net/read.php/1985.htm" target="_blank">体验新的 Windows 程序包管理器</a>”。</p><p><a href="http://goxia.maytide.net/ftpup/2018/HOWTO--Intune--WinGet-_CC85/WinGet_Help.png"><img width="630" height="577" title="WinGet_Help" style="border: 0px currentcolor; border-image: none; display: inline; background-image: none;" alt="WinGet_Help" src="http://goxia.maytide.net/ftpup/2018/HOWTO--Intune--WinGet-_CC85/WinGet_Help_thumb.png" border="0"></a></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 由于 WinGet 还处于预览版阶段，所以并不是每一台 Windows 10 计算机都具备这个功能。根据微软官方目前的介绍，有三种方案可以获取到 WinGet：<br/>1. 参加 <a href="https://aka.ms/AppInstaller_InsiderProgram" target="_blank">Windows 程序包管理器预览体验计划</a>，然后从 微软应用商店 下载 <a href="https://www.microsoft.com/p/app-installer/9nblggh4nns1?ocid=9nblggh4nns1_ORSEARCH_Bing&amp;rtc=1&amp;activetab=pivot:overviewtab" target="_blank">Windows 应用安装程序</a>，即可开始体验 WinGet。</p><p>2. 参加 <a href="https://insider.windows.com/" target="_blank">Windows Insider</a> 项目，只要升级到了 Insider 版本，系统会内置 WinGet 可直接使用。</p><p>3. 下载 <a href="https://github.com/microsoft/winget-cli/releases" target="_blank">WinGet 安装包</a>，手动安装 WinGet。</p><p><br/></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 本次分享将基于第三个方案，即下载 WinGet 安装包，然后通过 Intune 分发给 Windows 客户端，这样就能很轻松的部署或安装应用程序。首先访问 WinGet 项目页面，下载 msixbundle 格式的安装包。</p><p><a href="http://goxia.maytide.net/ftpup/2018/HOWTO--Intune--WinGet-_CC85/WinGet_download.png"><img width="630" height="166" title="WinGet_download" style="border: 0px currentcolor; border-image: none; display: inline; background-image: none;" alt="WinGet_download" src="http://goxia.maytide.net/ftpup/2018/HOWTO--Intune--WinGet-_CC85/WinGet_download_thumb.png" border="0"></a></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 接下来，通过 Microsoft Endpoint Manager 管理中心（Intune Portal）添加应用，应用类型为“LOB”即“业务线应用”，此类型可用于分发 msi、appx、appxbundle、msix 和 msixbundle 安装包。在选择应用包文件后，向导会执行依赖检测，如下图所示，要成功安装该应用，客户端计算机上必须已经安装 VCLibs 组件。如果无法确认客户端的组件安装情况，可手动上传这些组件。</p><p><a href="http://goxia.maytide.net/ftpup/2018/HOWTO--Intune--WinGet-_CC85/Intune_Apps_Deploy_winget-1.png"><img width="630" height="737" title="Intune_Apps_Deploy_winget-1" style="border: 0px currentcolor; border-image: none; display: inline; background-image: none;" alt="Intune_Apps_Deploy_winget-1" src="http://goxia.maytide.net/ftpup/2018/HOWTO--Intune--WinGet-_CC85/Intune_Apps_Deploy_winget-1_thumb.png" border="0"></a></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 对于 Microsoft VCLibs 可以从下面的网页获取上传即可。</p><p><a href="https://docs.microsoft.com/en-us/troubleshoot/cpp/c-runtime-packages-desktop-bridge/?WT.mc_id=WDIT-MVP-4000544" target="_blank">C++ Runtime framework packages for Desktop Bridge</a>：<a title="https://docs.microsoft.com/en-us/troubleshoot/cpp/c-runtime-packages-desktop-bridge" href="https://docs.microsoft.com/en-us/troubleshoot/cpp/c-runtime-packages-desktop-bridge/?WT.mc_id=WDIT-MVP-4000544">https://docs.microsoft.com/en-us/troubleshoot/cpp/c-runtime-packages-desktop-bridge</a></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 应用信息中根据实际需求填写相关信息即可，没有特别之处。</p><p><a href="http://goxia.maytide.net/ftpup/2018/HOWTO--Intune--WinGet-_CC85/Intune_Apps_Deploy_winget-2.png"><img width="630" height="575" title="Intune_Apps_Deploy_winget-2" style="border: 0px currentcolor; border-image: none; display: inline; background-image: none;" alt="Intune_Apps_Deploy_winget-2" src="http://goxia.maytide.net/ftpup/2018/HOWTO--Intune--WinGet-_CC85/Intune_Apps_Deploy_winget-2_thumb.png" border="0"></a></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 在 分配应用 这里，考虑到是面向系统层面的应用，且希望所有设备都安装，所以采用了“Required”选项，分配给了所有设备。</p><p><a href="http://goxia.maytide.net/ftpup/2018/HOWTO--Intune--WinGet-_CC85/Intune_Apps_Deploy_winget-3.png"><img width="630" height="494" title="Intune_Apps_Deploy_winget-3" style="border: 0px currentcolor; border-image: none; display: inline; background-image: none;" alt="Intune_Apps_Deploy_winget-3" src="http://goxia.maytide.net/ftpup/2018/HOWTO--Intune--WinGet-_CC85/Intune_Apps_Deploy_winget-3_thumb.png" border="0"></a></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 至此，配置结束！非常期待 Windows 11 里的 NewStore 尽快开放，因为预示着 Android 应用的到来！！！</p><p><a href="http://goxia.maytide.net/ftpup/2018/HOWTO--Intune--WinGet-_CC85/winget_newstore.png"><img width="630" height="112" title="winget_newstore" style="border: 0px currentcolor; border-image: none; display: inline; background-image: none;" alt="winget_newstore" src="http://goxia.maytide.net/ftpup/2018/HOWTO--Intune--WinGet-_CC85/winget_newstore_thumb.png" border="0"></a></p>
]]>
</description>
</item>
</channel>
</rss>