I am building my installer comes with some services. There's 1 service which I didn't setup to start at install time, otherwise I created a custom action to start it when the installation finished at ExitDialog. I also setup my installer to auto uninstall the older version before installing the new version. The problem is: once the uninstalling process operated, they stopped all services then removed them from the computer. After that it installed new services and AUTO START them ALL. This was not following my scenario. Thus, when I clicked Finish button at ExitDialog, the service which I mentioned above started the second time and it might worked incorrectly.
Could you please tell me how to fix this? Thank you!