Inside custom actions you can choose the stage condition, under install there is First time install and Upgrade, under uninstall there is regular uninstall and replaced by a new version.
I'm not understanding the difference between choosing Upgrade and Replaced by a new version.
This is what is on the user guide:
Upgrade - The custom action will execute during installation of the package only if an older version was found on the target computer.
Replaced by a new version - The custom action will execute during removal of the application trigerred by the installation of a new version. This option is available only during "Install Execution Stage".
I think they are the same? only that replaced by a new version can only be executed during install execution stage?
It is also mention that the custom action executes "during" installation and removal of the application, but isn't this controlled by where in the sequence you place the custom action?
FOLLOW US
Get the latest news in Application Packaging