Is it possible to run a custom action only in repair mode

后端 未结 3 847
被撕碎了的回忆
被撕碎了的回忆 2020-12-07 04:14

I need to run a custom action only during Repair. But I didn\'t find a valid condition to do so. If I specify a custom action with below condition, it runs in Modify mode a

3条回答
  •  半阙折子戏
    2020-12-07 04:48

    REINSTALL="" will be evaluated to True during the install and uninstall phases so the exact condition is (Installed and NOT REMOVE) AND (REINSTALL="") because (Installed and NOT REMOVE) is True during Modify and repair operations but during repair REINSTALL property will be set to blank

提交回复
热议问题