Changes

Jump to: navigation, search

Microsoft App-V

16 bytes added, 23:57, 22 January 2014
Do a global unpublish, since we did a global publish. Technically this is not necessary because it's always used with a remove, but should someone modify this, it'll be important.
<install cmd="powershell -executionpolicy bypass -noprofile -command &quot;&amp;Import-Module AppvClient; if (add-appvclientpackage -path $env:PKG_PATH | publish-appvclientpackage -Global | mount-appvclientpackage ) { exit 0 } else { exit 1 }&quot;" condition="exitcodeequalto" />
<upgrade cmd="powershell -executionpolicy bypass -noprofile -command &quot;&amp;Import-Module AppvClient; unpublish-appvclientpackage -Global $env:PKG_SHORTNAME; remove-appvclientpackage $env:PKG_SHORTNAME" >
<exit code="any"/>
</upgrade>
<upgrade cmd="powershell -executionpolicy bypass -noprofile -command &quot;&amp;Import-Module AppvClient; if (add-appvclientpackage -path $env:PKG_PATH | publish-appvclientpackage -Global | mount-appvclientpackage ) { exit 0 } else { exit 1 }&quot;" condition="exitcodeequalto" />
<remove cmd="powershell -executionpolicy bypass -noprofile -command &quot;&amp;Import-Module AppvClient; unpublish-appvclientpackage -Global $env:PKG_SHORTNAME; remove-appvclientpackage $env:PKG_SHORTNAME" >
<exit code="any" />
</remove>
Anonymous user

Navigation menu