How can I bundle both msi and msix installers?

Tam Bui 11 Reputation points
2022-07-01T18:05:00.587+00:00

I have both a setup.msi installer and another setup.msix installer, because the msi requires manipulation of HKLM registry keys, and the msix package is our desktop bridge application (msix cannot edit HKLM registry keys).

My question is, what is the recommended way to create a single installer for both of these, and launch each for a sequential installation?

Any help would be greatly appreciated. Best regards.

Universal Windows Platform (UWP)
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,299 questions
Windows 10 Setup
Windows 10 Setup
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,908 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Nico Zhu (Shanghai Wicresoft Co,.Ltd.) 12,856 Reputation points
    2022-07-04T01:27:36.307+00:00

    Hello,
    Welcome to Microsoft Q&A!

    My question is, what is the recommended way to create a single installer for both of these, and launch each for a sequential installation?

    In my opinion, there is no way to approach, the packaged msix can't implement above behaviors at same time, and this case is more related with MSIX, So we suggest you post the thread in MSIX forum, the MSIX team is actively answering questions there.

    Thank you.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Limitless Technology 39,391 Reputation points
    2022-07-05T07:49:09.143+00:00

    Hi there,

    By bundling the multiple architecture versions of your installer into one entity, only the bundle needs to be uploaded to the Store or another distribution location. The Windows deployment platform is aware of the .msixbundle package type and will only download the files that are applicable to your device's architecture.

    This article describes the process of creating a bundle after converting x86 and x64 versions of your Windows installers using the MSIX Packaging Tool. Bundle MSIX packages

    https://learn.microsoft.com/en-us/windows/msix/packaging-tool/bundle-msix-packages
    Hope this resolves your Query !!

    ---------------------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept it as an answer–

    0 comments No comments

  3. Tam Bui 11 Reputation points
    2022-07-08T00:29:49.033+00:00

    There is no solution to this at the moment. For security reasons, HKLM cannot be written to within an MSIX package. So both the MSI installer and the MSIX installer will have to be separate entities.

    0 comments No comments