One last question about Client Profile installation. I downloaded the Microsoft .NET Framework Client Profile Online Installer because we want to put it in the installation CD because our end user might not have either .net framework 3.5 or internet. So we want to be able to handle both cases.
In the prerequisites I'm able to select the location of where the file will be, but I don't know where it should be. I want to be able to somehow put the path of the cd, something like d:\ProductName\Prerequisites\DotNetFx35ClientSetup.exe so it can get it and install it from there. Does anyone have an idea of how this can be achieved?
Thank you.
Here's the prerequisites window:
NET Framework 4 Client Profile provides a subset of features from the . NET Framework 4. The Client Profile is designed to run client applications and to enable the fastest possible deployment for Windows Presentation Foundation (WPF) and Windows Forms technology.
With a project selected in Solution Explorer, on the Project menu click Properties. Select the Publish pane. Click the Prerequisites button to open the Prerequisites dialog box. In the Prerequisites dialog box, make sure that the Create setup program to install prerequisite components check box is selected.
NET Framework 4 and earlier versions and was optimized for client applications. The . NET Framework is a development platform for Windows, Windows Phone and Microsoft Azure and provides a managed app execution environment and the . NET Framework class library.
Ok, here's the thing. I tried with the Client Profile but it didn't work, I think it's because the Client Profile Installer does not have the features of .net framework 3.5 SP1. So in the installation process it ask for .net framework 3.5 SP1 too, so I had to make that available offline too. Here's the deal:
Since in my case it complained and asked for .net Framework 3.5 SP1, this is what I had to do:
Now build your solution and it should work. You will get 2 warnings though. These are a know issue and according to Microsoft they don't interfere in the installation process of your application. Read this for more information.
This was a little tedious for me to find and come up with, so I really hope this can help anyone else with this problem. If you have any question post a comment and I'll get back to you ASAP.
Thanks for reading!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With