MSIX: Package Support Framework Part TWO – Preparation

Server Man

Well-Known Member
May 17, 2015
Unknown
Unknown
___________________________________________________________________________________________________________________________

IMPORTANT ANNOUNCEMENT FOR OUR READERS!

AskPFEPlat is in the process of a transformation to the new Core Infrastructure and Security TechCommunity, and will be moving by the end of March 2019 to our new home at Core Infrastructure and Security Blog - Microsoft Tech Community (hosted at https://techcommunity.microsoft.com). Please bear with us while we are still under construction!

We will continue bringing you the same great content, from the same great contributors, on our new platform. Until then, you can access our new content on either Ask Premier Field Engineering (PFE) Platforms as you do today, or at our new site Core Infrastructure and Security Blog - Microsoft Tech Community. Please feel free to update your bookmarks accordingly!

Why are we doing this? Simple really; we are looking to expand our team internally in order to provide you even more great content, as well as take on a more proactive role in the future with our readers (more to come on that later)! Since our team encompasses many more roles than Premier Field Engineers these days, we felt it was also time we reflected that initial expansion.

If you have never visited the TechCommunity site, it can be found at https://techcommunity.microsoft.com. On the TechCommunity site, you will find numerous technical communities across many topics, which include discussion areas, along with blog content.

NOTE: In addition to the AskPFEPlat-to-Core Infrastructure and Security transformation, Premier Field Engineers from all technology areas will be working together to expand the TechCommunity site even further, joining together in the technology agnostic Premier Field Engineering TechCommunity (along with Core Infrastructure and Security), which can be found at Premier Field Engineering - Microsoft Tech Community!

As always, thank you for continuing to read the Core Infrastructure and Security (AskPFEPlat) blog, and we look forward to providing you more great content well into the future!

__________________________________________________________________________________________________________________________



Hi everyone, Ingmar Oosterhoff, Johannes Freundorfer, and Matthias Herfurth here continuing from our previous blog, which can be found at https://techcommunity.microsoft.com...-Framework-Part-One-The-Blueprint/ba-p/363594. In this post, we will now proceed with preparing our machine to make use of the PSF later on.

NOTE: To save on resources and creating additional Virtual Machines I’m going to be using my MSIX packaging machine for this (makes sense to me anyway).

Modifying an existing MSIX package is nice and easy using MakeAppx.exe. As MakeAppx.exe is part of the Microsoft Windows 10 SDK, the first step in our process will be to download it from: https://developer.microsoft.com/en-US/windows/downloads/windows-10-sdk

Once downloaded, install it, and select 2 components, as shown below:

figure1.jpg

Next, create some folders to use as working directories…

I’ve created a Resources folder in C: with a MakeAppx (for later use) and Nuget folder as subfolders as shown in the image below:

figure2.jpg

The next step in the process will be downloading the Package Support Framework using Nuget as follows.

  • Download Nuget from https://www.nuget.org/downloads
  • Save the nuget.exe in the c:resourcesNuget folder
  • Start cmd.exe
  • CD to the c:resourcesnuget folder
  • Run the following command: nuget install Microsoft.PackageSupportFramework

This will create a subfolder in c:resourcesNuget folder containing the framework

Snapshot your VM to allow you to revert to this state.

Now we have the tools in our next post, where we’ll download and compile a simple “made to break” ready to repair application, stay tuned!

Thanks for reading!

Continue reading...
 

Similar threads

T
Replies
0
Views
51
Tress.Schuyler
T
T
Replies
0
Views
52
Tress.Schuyler
T
D
  • Article
Replies
0
Views
49
David Weston, Vice President Enterprise and OS
D
Back
Top Bottom