Wix custom uninstallation action - how to run before msi removing files

前端 未结 3 1374
攒了一身酷
攒了一身酷 2020-12-11 23:37

I have a custom action that adds files to the installation directory. When the program is being uninstalled, another custom action tries to remove those files, so that the i

3条回答
  •  北荒
    北荒 (楼主)
    2020-12-12 00:04

    I would not schedule your actions between InstallInitialize and InstallFinalize. Place your files before Initialize and cleanup your files after Finalize. Beware that you will lose your property values after InstallFinalize and you'll need to account for that.

提交回复
热议问题