Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Client Profile Application prerequisites

Tags:

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:

alt text

like image 455
Carlo Avatar asked Jun 25 '09 21:06

Carlo


People also ask

What is the difference between .NET Framework 4.0 and client profile?

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.

How do I install prerequisites in Windows Installer deployment?

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.

What is .NET Framework client Profile?

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.


1 Answers

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:

  • First you need to download the Client Profile Offline Installer
  • Then you need to copy the file into the following folder: C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\DotNetFx35Client
  • Once that's done, you can deploy your Setup Project and it will compile (This is only for Client Profile installation).

Since in my case it complained and asked for .net Framework 3.5 SP1, this is what I had to do:

  • Enable .net Framework 3.5 SP1 prerequisite in your Setup solution
  • Download .net Framework 3.5 SP1 Full Package
  • Put in the the C:\ drive (for fast access) and go to command prompt and type: C:\dotNetFx35Setup.exe /x
  • Extract everything anywhere you want, this will create a folder called wcu
  • go to wcu\dotNetFramework, take all the files and folders and copy them to C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\DotNetFX35

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!

like image 146
Carlo Avatar answered Oct 11 '22 17:10

Carlo