cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Azmaeus
Level 6

Can I use RmAddFilter() with a Basic MSI?

For my project I install a handful of services. Two of them the processes launch additional processes (one example is PostgreSQL which the service launches pg_ctl.exe but then pg_ctl.exe launches postgres.exe). When Restart Manager runs, it has no problem with the other services, but the ones that launch one process that calls another, the other process gets flagged and I get an erroneous warning pop-up that a restart will be required.

I found very little information on RmAddFilter() which looks like I should be able to utilize it to still allow Restart Manager to run, but ignore those processes I know are expected to be caught but are okay. Is there any way I can simply run a Custom Action to add this filter, or would I need to completely re-create the Restart Manager process as explained in https://learn.microsoft.com/en-us/windows/win32/rstmgr/using-restart-manager-with-a-primary-installer ?

Labels (1)
0 Kudos
0 Replies