{"id":3334,"date":"2021-11-25T08:21:38","date_gmt":"2021-11-25T13:21:38","guid":{"rendered":"https:\/\/www.tmurgent.com\/TmBlog\/?p=3334"},"modified":"2021-11-29T15:05:04","modified_gmt":"2021-11-29T20:05:04","slug":"psf-update-2021-11-24-now-released","status":"publish","type":"post","link":"https:\/\/www.tmurgent.com\/TmBlog\/?p=3334","title":{"rendered":"PSF Update 2021.11.24 Now Released"},"content":{"rendered":"\n<p>The\u00a0<em>Package Support Framework (PSF)<\/em> was started by Microsoft as an Open Source Project to help Win32 and .Net Framework based software operate in the new MSIX Container runtime, however the latest changes are now made in my own fork at <a href=\"https:\/\/github.com\/TimMangan\/MSIX-PackageSupportFramework\/tree\/develop\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/TimMangan\/MSIX-PackageSupportFramework\/tree\/develop<\/a> .<\/p>\n<p>The &#8220;<em>Thanksgiving<\/em>&#8221; release brings in some sought after changes in the PSF for issues that have cropped up.\u00a0 This release is versioned <strong>2021.11.24<\/strong>.<\/p>\n<p><strong><span style=\"background-color: #0000ff;\">CMD Scripts and Launches<\/span>. <\/strong>I have changed the way that cmd based scripts are processed by the launcher.\u00a0 These were problematic in the past due to changes at the OS level that occurred since that code was last addressed.\u00a0 These changes are internal and no change is required to the json configuration, however there is a new PowerShell launcher script used for this purpose (StartMenuCmdScriptWrapper.ps1) that must also be included in the package.<\/p>\n<p>Ultimately, the launch of cmd scripts now use the invoke-commandindesktoppackage cmdlet and will ensure that the script runs inside of the container.\u00a0 The json option to request running outside of the container remains inoperable, but at least now we have a consistent experience.\u00a0<\/p>\n<p><span style=\"background-color: #0000ff;\"><strong>File\/URL Launches<\/strong><\/span>.\u00a0 I have fixed the launching of files by the launcher.\u00a0 The launcher will now determine the local FTA default program to run at the runtime system from the file extension, and will start that program with the file using the invoke-commandindesktoppackage cmdlet.\u00a0 These changes are also internal and require no change in the json, however there is a new PowerShell launcher script used for this purpose (StartMenuShellLaunchWrapperScript.ps1) that must also be included in the package.<\/p>\n<p>Ultimately, these files will now be launched in a process that is inside of the container as well.<\/p>\n<p><span style=\"background-color: #0000ff;\"><strong>FileRedirectionFixup<\/strong><\/span>. An edge case was discovered that broke certain applications in the previous re-write of this fixup.\u00a0 The case involved an application that attempted to create a sub-folder and then file below the last level contained in the package, which failed (Path not found) as redirection did not kick in when it should have.\u00a0 This is resolved.<\/p>\n<p><strong><span style=\"background-color: #0000ff;\">Products using PSF<\/span><\/strong>: These changes will be reflected in releases of TMEditX (1.8.0.0 see: <a href=\"https:\/\/www.tmurgent.com\/appv\/tools\/TMEditX\/TMEditX.1.8.mp4\" target=\"Blank\" rel=\"noopener\">video<\/a>) and PsfTooling (4.15 see: <a href=\"https:\/\/www.tmurgent.com\/appv\/tools\/PsfTooling\/PsfTooling.4.15.mp4\" target=\"Blank\" rel=\"noopener\">video<\/a>) that are now released.\u00a0 Other vendors including the PSF in their products may implement these changes at their own pace.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The\u00a0Package Support Framework (PSF) was started by Microsoft as an Open Source Project to help Win32 and .Net Framework based software operate in the new MSIX Container runtime, however the latest changes are now made in my own fork at https:\/\/github.com\/TimMangan\/MSIX-PackageSupportFramework\/tree\/develop . The &#8220;Thanksgiving&#8221; release brings in some sought after changes in the PSF for&hellip; <a class=\"more-link\" href=\"https:\/\/www.tmurgent.com\/TmBlog\/?p=3334\">Continue reading <span class=\"screen-reader-text\">PSF Update 2021.11.24 Now Released<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[53,56],"tags":[52,54],"class_list":["post-3334","post","type-post","status-publish","format-standard","hentry","category-msix","category-psf","tag-msix","tag-psf","entry"],"_links":{"self":[{"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=\/wp\/v2\/posts\/3334","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3334"}],"version-history":[{"count":5,"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=\/wp\/v2\/posts\/3334\/revisions"}],"predecessor-version":[{"id":3341,"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=\/wp\/v2\/posts\/3334\/revisions\/3341"}],"wp:attachment":[{"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3334"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3334"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3334"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}