Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > ClickOnce Client Profile - only effective when .net is not installed at all?
 

ClickOnce Client Profile - only effective when .net is not installed at all?

I setup ClickOnce deployment per http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/35fabd52-db20-4696-917e-b296e9f70fb5and tested on workstation with no .net, with 1.1, 2 and 35. The results were strange. The installation was fast (< 4 minutes) when applied against the workstation without .net installed. When installed on workstation that has .Net installed already, the installation took > 40 minutes.

Is there any techniques for setup and deployment that reduce the time when .Net runtime is already installed on the target machine?

m6rk  Tuesday, July 28, 2009 12:37 PM
What you're seeing sounds correct. The Client Profile is targeted to client machines that don't have .NET installed yet (see http://msdn.microsoft.com/en-us/library/cc843122.aspx). I'm not sure if there's much you can do regarding the full install unfortunately.
  • Marked As Answer bym6rk Wednesday, July 29, 2009 7:29 AM
  •  
jenlouie  Wednesday, July 29, 2009 12:40 AM
Hi m6rk,

Yes, .NET Framework Client Profile is subset of full .NET Framework package which will save the time, but it is not without limitations. .NET Framework Client Profile only targets Windows XP SP2 without any version of .NET framework installed. If any version of the .NET Framework is detected, the installer will try to install full .NET Framework 3.5SP1 or later version. In addition, it doesn't support in x64 and ia64 platforms. The link jenlouie provided contains rich information on Client Profile, you may go through it and grab most of the important information.


Best regards,
Bruce Zhou
Please mark the replies as answers if they help and unmark if they don't.
  • Marked As Answer bym6rk Wednesday, July 29, 2009 7:29 AM
  •  
Bruce.Zhou  Wednesday, July 29, 2009 6:06 AM

Just to add some info here. What this DOES buy you is you can target .Net 3.5 Client Farmework, and people who have NO version of .Net installed will only have a 20MB download.

As for the rest of the people. Did you know that Microsoft is pushing .Net 3.5 SP-1 in Windows Update, and will update any machine that has any version of .Net on it at all?

So what will happen is you will install the client framework, and Microsoft will come along behind you and install the whole shebang.

They started pushing it in February, so with any luck at all, requiring .Net 3.5 would not impact as many of your customers as you think.

RobinDotNet


Click here to visit my ClickOnce blog!
RobinDotNet  Wednesday, July 29, 2009 9:14 AM
What you're seeing sounds correct. The Client Profile is targeted to client machines that don't have .NET installed yet (see http://msdn.microsoft.com/en-us/library/cc843122.aspx). I'm not sure if there's much you can do regarding the full install unfortunately.
  • Marked As Answer bym6rk Wednesday, July 29, 2009 7:29 AM
  •  
jenlouie  Wednesday, July 29, 2009 12:40 AM
Hi m6rk,

Yes, .NET Framework Client Profile is subset of full .NET Framework package which will save the time, but it is not without limitations. .NET Framework Client Profile only targets Windows XP SP2 without any version of .NET framework installed. If any version of the .NET Framework is detected, the installer will try to install full .NET Framework 3.5SP1 or later version. In addition, it doesn't support in x64 and ia64 platforms. The link jenlouie provided contains rich information on Client Profile, you may go through it and grab most of the important information.


Best regards,
Bruce Zhou
Please mark the replies as answers if they help and unmark if they don't.
  • Marked As Answer bym6rk Wednesday, July 29, 2009 7:29 AM
  •  
Bruce.Zhou  Wednesday, July 29, 2009 6:06 AM
Thank you for the reply.
m6rk  Wednesday, July 29, 2009 7:41 AM

Just to add some info here. What this DOES buy you is you can target .Net 3.5 Client Farmework, and people who have NO version of .Net installed will only have a 20MB download.

As for the rest of the people. Did you know that Microsoft is pushing .Net 3.5 SP-1 in Windows Update, and will update any machine that has any version of .Net on it at all?

So what will happen is you will install the client framework, and Microsoft will come along behind you and install the whole shebang.

They started pushing it in February, so with any luck at all, requiring .Net 3.5 would not impact as many of your customers as you think.

RobinDotNet


Click here to visit my ClickOnce blog!
RobinDotNet  Wednesday, July 29, 2009 9:14 AM

I did not know that 3.5 SP1 was being sent out as part of Windows update. Thank you for that extra bit of information. This will definitely help in the decision making process.

m6rk  Wednesday, July 29, 2009 12:45 PM

You can use google to search for other answers

Custom Search

More Threads

• Registering a dll using Setup
• Smart Client Installation Problem
• Unable to create a shortcut for Clickonce application in User startup folder
• CD installation fails to check website for updates the first time it is run
• The privillage of Websetup folder
• So weird Installation Error "'Interop.SHDocVw.dll' already exists."
• clickonce Application cannot be started
• Get checkbox value on Deployment
• Tracking ClickOnce User Updates
• Open html page after update