<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>App-Packaging on Jon's Notes</title><link>https://4c4806b4.configjon-blog.pages.dev/category/app-packaging/</link><description>Recent content in App-Packaging on Jon's Notes</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Thu, 30 Jan 2020 00:00:00 +0000</lastBuildDate><atom:link href="https://4c4806b4.configjon-blog.pages.dev/category/app-packaging/index.xml" rel="self" type="application/rss+xml"/><item><title>App Packaging PowerShell Functions</title><link>https://4c4806b4.configjon-blog.pages.dev/app-packaging-powershell-functions/</link><pubDate>Thu, 30 Jan 2020 00:00:00 +0000</pubDate><guid>https://4c4806b4.configjon-blog.pages.dev/app-packaging-powershell-functions/</guid><description>&lt;p&gt;I&amp;rsquo;ve recently been working on a lot of app packaging, and I decided to take the opportunity to update my scripts. In this post I&amp;rsquo;ll cover 3 PowerShell functions that I found to be the most useful. The functions can be found on my &lt;strong&gt;&lt;a href="https://github.com/ConfigJon/Miscellaneous-Scripts/tree/master/App%20Packaging"&gt;GitHub&lt;/a&gt;&lt;/strong&gt;.&lt;/p&gt;
&lt;h3 id="invoke-msiexec"&gt;Invoke-MsiExec&lt;/h3&gt;
&lt;p&gt;This function works with msiexec.exe. The function allows for installing or uninstalling a .msi based application.&lt;/p&gt;
&lt;p&gt;The function has a number of parameters:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;FilePath&lt;/strong&gt; - The path to the .msi or .msp file&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Guid&lt;/strong&gt; - The GUID of the MSI-based application to be uninstalled&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Install&lt;/strong&gt; - Indicates that the /i switch should be used when calling msiexec.exe&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Uninstall&lt;/strong&gt; - Indicates that the /x switch should be used when calling msiexec.exe&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Patch&lt;/strong&gt; - Indicates that the /p switch should be used when calling msiexec.exe&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Arguments&lt;/strong&gt; - A comma separated list of arguments to pass to msiexec.exe&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;ExitCodes&lt;/strong&gt; - A comma separated list of non-standard exit codes&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Some notes about the parameters:&lt;/p&gt;</description></item></channel></rss>