Setup.msi prompts the user to install . NET Framework 4.6.1

Asked

Viewed 325 times

9

I have a *.msi package of a software developed by me, with the Visual Studio Setup Project.

When a user tries to run the installation package on his machine and he has not installed version 4.6.1 of. NET Framework, a message appears stating that it does not exist and a button to install.

The big problem is that this button redirects the user to the . NET Framework 4.5 installation page

https://www.microsoft.com/en-us/download/details.aspx?id=30653

What’s wrong, the right thing would be:

https://www.microsoft.com/en-us/download/details.aspx?id=49981

The result of this is that the unknowingly user installs version 4.5, re-runs setup.msi and the problem persists, becoming an infinite cycle with no resolution!

Some help?

From what I have already investigated, the Visual Studio Setup Project creates an msi and exe package. This exe is a separate project that serves to check the user PC prerequisites and install (correctly) what is missing.

The problem is that this results in two files one msi and one exe. Is there any way to package everything only in msi?

Thank you.

1 answer

1

If not really necessary, avoid using the latest version of the framework, use a more popular one, so the installation becomes simpler for the user.

With the Visual Studio Setup Project I think you can try to put . net 4.6.1 in the prerequisites, here is an explanation of how to do: https://msdn.microsoft.com/en-us/library/7eh4aaa5(v=vs.100). aspx

Browser other questions tagged

You are not signed in. Login or sign up in order to post.