Click here to Skip to main content
15,888,401 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
ASM
I had a .Net application developed in visual studio 2008, I was able to make msi setup of it, if I want to install my setup on other system in which .Net framework is not there, I want .Net framework also to get installed simultaneously with my application through msi setup?
How can I add .Net framework in msi setup?
Posted

You need to add it to the installer as a prerequisite. Once you found it, it's quite easy because it simply is a check box that needs to be checked.
http://msdn.microsoft.com/en-us/library/ee942965.aspx[^]

This link might be more helpful:
Add Prerequisites of .NET Framework in Visual Studio Setup Project[^]

Good luck!
 
Share this answer
 
v2
Comments
Member 8454009 5-Mar-12 11:50am    
Many many thanks for this post. But there have a problem. When I run this software, then this .exe file don't found the access database.

The error message:
" System.InvalidOperationException: The Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. "
E.F. Nijboer 6-Mar-12 3:45am    
The problem is that this isn't part of the .NET framework and is a separate prerequisite. You would need to add it and need the package for it that can be found here: http://www.microsoft.com/download/en/details.aspx?id=13255
Hi,

this link should help you :)

Add Prerequisites of .NET Framework in Visual Studio Setup Project[^]

Best Regards
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900