Problem creating registry key with MSIX installer

Need help authoring your installer? Ask the community for tips and advice.
Post Reply
Posts: 2
Joined: Mon Oct 28, 2019 12:31 pm

Problem creating registry key with MSIX installer

Post by robertoldaker » Mon Oct 28, 2019 12:50 pm


I have created an .rip file that targets an .msix installer. To create it I used the repackager using my existing .exe intaller. The installer needs to write to registry key
"\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" so that it can start the app when a user logs in.

This worked fine when using the original .exe installer.

Howerver, the .msix installer is not writing this key. Other components are installed fine.

The registry key should be written since its in the .rip file. I have included a screen showing the registry entry in the .rip file.

Any ideas what might be going on here?


advanced installer.png
advanced installer.png (143.15 KiB) Viewed 1938 times

Posts: 2780
Joined: Tue Jul 07, 2009 7:34 am

Re: Problem creating registry key with MSIX installer

Post by Bogdan » Fri Nov 01, 2019 3:34 pm

Hi Robert,

Please note that the registry you put inside an MSIX package are only visible to your app, not for the rest of the apps or the OS. With this in mind, the Run key is useless for what you want to do.

The solution is to go to Declarations page and add an app declaration for a startup task, as you can see in the attached screenshot.

startuptask.png (61.67 KiB) Viewed 1914 times
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Post Reply