Click here to Skip to main content
15,891,657 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I need to prepare an installer package through Innosetup that installs the .Net 3.5 if not available in the system: this setup should run on any windows system, and should be run offline: is there a simple way to do that? Actually I made a package that self contains the framework installer, it works well in systems from XP to win7, but not on win 8.1 and windows server 2012... On those systems I've found that I could use the Dism tool, but that way I should provide the WinSxs sources too: I guess this could be the right way, but the question is what are the sources needed to install the framework correctly?
Any help appreciated, thanks
Posted
Comments
Kornfeld Eliyahu Peter 14-Jun-15 4:20am    
Check this: https://msdn.microsoft.com/en-us/library/hh506443(v=vs.110).aspx
From this it is obvious that you need not install it on 8.1...
wubygtr 14-Jun-15 8:51am    
Many thanks for the quick feedback, I just posted the (hopefully) simple solution to my problem

1 solution

I made a more deep search and found this article:
https://msdn.microsoft.com/en-us/library/windows/desktop/hh848079(v=vs.85).aspx
so I just need to add a properly configured app.config, no need to install enything :)
 
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