Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > ClickOnce vs WindowsInstaller
 

ClickOnce vs WindowsInstaller

I am just going to use either ClickOnce or WindowsInstaler for the first time and was wondering which was better for my scenario:

WindowsForms application
using SqlServer Database .mdf as seperate file
I would like to be able to install from a webpage or CD
I would also like to be able to have the installer install the dotnet 3.5 redist
and the SQL Server Express 2005(8) files needed to run the application.( I don't know if that means all of sqlserverexpress)


Thanks Jon Stroh

Jon Stroh
Jon Stroh  Monday, March 02, 2009 4:23 AM

Hi Jon,

Windows Installer is a traditional installation technique. ClickOnce is a new installation technique that is introduced with .NET 2.0. Using ClickOnce, we can publish an application to a web site, Ftp site, shared UNC or CD. We can select installing the application on the client machine or running the application online. If you install the application on the client machine, the application will check if there's new version available in the publish location when it is launched next time. If yes, it prompts the user to upgrade to the new version.

> I would also like to be able to have the installer install the dotnet 3.5 redist and the SQL Server Express 2005(8) files needed to run the application.

Whether you use Windows Installer or ClickOnce, you can include the .NET Framework 3.5 and SQL Server 2005 Express as prerequisites.

For your scenario, I advice you to use ClickOnce to deploy your application. For more information on ClickOnce deployment, refer to the following document:
"ClickOnce Deployment Overview"
http://msdn.microsoft.com/en-us/library/142dbbz4.aspx

Hope this helps.
If you have any question, please feel free to let me know.

Sincerely,
Linda Liu

Linda Liu  Thursday, March 05, 2009 4:20 AM

Hi Jon,

Windows Installer is a traditional installation technique. ClickOnce is a new installation technique that is introduced with .NET 2.0. Using ClickOnce, we can publish an application to a web site, Ftp site, shared UNC or CD. We can select installing the application on the client machine or running the application online. If you install the application on the client machine, the application will check if there's new version available in the publish location when it is launched next time. If yes, it prompts the user to upgrade to the new version.

> I would also like to be able to have the installer install the dotnet 3.5 redist and the SQL Server Express 2005(8) files needed to run the application.

Whether you use Windows Installer or ClickOnce, you can include the .NET Framework 3.5 and SQL Server 2005 Express as prerequisites.

For your scenario, I advice you to use ClickOnce to deploy your application. For more information on ClickOnce deployment, refer to the following document:
"ClickOnce Deployment Overview"
http://msdn.microsoft.com/en-us/library/142dbbz4.aspx

Hope this helps.
If you have any question, please feel free to let me know.

Sincerely,
Linda Liu

Linda Liu  Thursday, March 05, 2009 4:20 AM

You can use google to search for other answers

Custom Search

More Threads

• ClickOnce URL resolves to Content Not Found
• Install prerequisites based on OS
• Setup & Deployment - Optional 'Add file type'
• Knowing the install path in code
• Running cmd.exe minimized
• Click Once Deployment Using Publish Feature of VS 2005
• Prerequisite not installing from publish page
• How do I change the setup.exe icon?
• Win Form & ASP.NET
• Is it possible to create a desktop icon using ClickOnce