I still need to install the Microsoft C++ 2005 Redistributables during the installation process of my Windows service (Visual Studio Setup project). I already have programming that installs these packages in the background. This programming works. Now I want to call this programming when the Windows service is installed. But then I always get the error message "Another program is being installed please wait until the installation is complete and then try installing the software again.". I have already tried all methods of the ProjectInstaller class (OnBeforeInstall, OnAfterInstall, Commit) - nothing works. But in the default prerequisites I can't select this package because it is too old.
How can I solve this?
Thank you very much! :)
You can follow these steps to install
Microsoft C++ 2005 Redistributables
when setup install: