I added a condition for the OnInstallFilesActionBefore custom action through the Sequences editor. I made it so that it only executed when the installation was first installed, which means my condition:
Not Installed
Now I see that this warning is logged during compilation:
ISDEV: Warning Condition for the Custom action OnInstallFilesActionBefore in the InstallExecuteSequence sequence has been changed. This will lead to unpredictable run-time results.
See, I thought Custom Action is just an InstallShield shell that allows us to add code before InstallFiles. Does he do anything else besides the code that I add to him? If all he does is execute the code I added to him, then do I need to pay attention to this warning? I'm a little worried that he says that "he will produce unpredictable results at runtime," as if they were sure.
How can I say it is working fine. My code is executed during the first installation, but not during uninstallation or repair. This is what I want.
For recording I use DevStudio v9.