Custom uninstaller for a WIX generated MSI

前端 未结 1 1105
囚心锁ツ
囚心锁ツ 2021-01-25 21:56

I have an MSI that is being generated from WIX scripts.

My question is similar to this question.

I want to create a custom uninstaller instead of using the defau

1条回答
  •  情歌与酒
    2021-01-25 22:25

    It's not that simple. For whatever reason, the ARP doesn't respect the UninstallString on MSI packages. So to change it you would have to set ARPSYSTEMCOMPONENT and validate all the various upgrade and removal paths you may ever wish to support. Heath Stewart has a series of blog posts related to this which help enumerate the possible scenarios and common problems with them.

    I believe this series was written in the MSI 3.x era, so it likely does not address any new concerns on Windows Vista or later, and could not take advantage of the MSI 4.5 patch-uninstall custom action flag.

    0 讨论(0)
提交回复
热议问题