A software application and a custom installer has been created using VB.NET.
When I run the Setup.exe (the custom installer) on the user's workstation, it gives the following error:
Application failed to initialize properly CxC0000135
I realize that this is because .NET Framework is required to be installed on the the workstation.
Currently, the solution is to: install the .NET framework, and then run the custom installer. This is obviously not a user friendly way to install the application.
What solution can be used to reduce the effort of the user to install the application?
Well, you can't run an executable that was written in a managed environment (.NET in this case) to check if this environment exists. You will either have to write a script, that will check for registry entries or use an alternative language (which uses libraries natively supported in the system, therefore, you will have to write your application in unmanaged code) to write the checking application.
Only thing I would add is to find the dir this way for maximum flexibility From CMD: