UAM: Shell Apps "Unzip" functionality in multi-version mode

The "Unzip" feature is currently not supported in multi-version mode.

Can you please provide a forecast as to when it will be available in multi-version mode?

Also, I would expect the global variable $Context.GetAttachedBinary() to point to the extracted folder, not the individual installation file.

2

Comments (2 comments)

1
Avatar
Toby Skerritt

Hi Carsten Marquardt, thanks for this. There were specific issues with multi-version unzip which made the function problematic to implement. I will speak with the dev team to understand the exact details and see if this is now unblocked. 

Regarding $Context.GetAttachedBinary(), as described below, the context is set to the target folder of the extraction, so you can make use of relative paths for any reads from the folder or argument lists etc.

https://nmehelp.getnerdio.com/hc/en-us/articles/32612189461261-UAM-Shell-apps-technical-reference-guide 

Note: This option was initially introduced specifically for SCCM PowerShell applications import support. If selected, your zip file is extracted into a temporary folder and the context is set to that folder. Therefore, you are able to use the files from the archive directly. The same behavior can be achieved by using the following chain: $Context.GetAttachedBinary() -> Expand-Archive -> Set-Location.

1
Avatar
Carl Long
We appreciate your feature request—community input is essential to our ongoing development.

Next steps:
     • We will review your suggestion and update its status during the evaluation process.
     • If further clarification is needed, we'll contact you via comments.

We also encourage others to contribute through feedback and voting.

Please sign in to leave a comment.