• Welcome to Rotar E@rth!
  • Feel free to look around and comment~
  • Tin - for a better fantasy life!
  • TinTimer - for an even better fantasy life!

Packing and Signing a MSIX Installation Package

Modding Rotar 3年前 (2021-10-21) 4972次浏览 0个评论

TL;DR: Use MSIX HERO to generate and import a self-signed certificate and then use MSIX Packaging Tool to pack and sign the package.


This post is a byproduct of my attempt to mod the Quick Share app from Samsung. I came across this XDA thread today and thought about modifying the binaries directly to bypass the registry check.

After greping from the unpacked files, it seems that the string "SystemProductName" is mentioned in QSCommon.dll, SamsungAccountLibrary.dll, and QuickShare.dll.

Not sure about the 2nd and the 3rd dll, but in QSCommon.dll there is a method called Com.Samsung.QuickShare.Helper.DeviceModelSupportChecker.IsSupportedModel() that can be modified to always return true.

dnSpy_QSCommon.dll

When I tried to replace the QSCommon.dll file in the WindowsApps folder, I got the "access is denied" error message no matter what method I tried (followed steps here).

To get around this, I explored the option of repacking the msix installation package as mentioned in the TL;DR section. I was able to install Quick Share with a modified QSCommon.dll. However, I still got the "not compatible" dialog. Guess there are additional checks in the DLLs.


本网站采用BY-NC-SA协议进行授权 , 转载请注明原文链接:Packing and Signing a MSIX Installation Package
喜欢 (70)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址