Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Deploy ClickOnce / MSI
 

Deploy ClickOnce / MSI



Can anyone tell me what filesshould bein a windows application when deployed using MSI as opposed tothose files that should be in awindows applicationdeployed using ClickOnce? (using Visual Studio 2008 and XP)

I need to change a ClickOnce application to one I install via MSI.

Any help will be greatly appreciated?
Shannon10  Wednesday, August 26, 2009 8:24 PM
The only files included in a ClickOnce deployment are references not included in the .Net framework and additional files you have specifically asked to be included. If you think some of these are not required, you can remove them from your CLickOnce deployment and see if it still works, or do the same for an MSI. There's no way for anyone else to know exactly what files your deployment requires but you.

RobinDotNet
Click here to visit my ClickOnce blog!
RobinDotNet  Monday, August 31, 2009 2:40 AM

Hi Shannon10,

You said: I need to change a ClickOnce application to one I install via MSI.There are so many ways and tools to create a MSI package. In visual studio, we can create a Setup Project to create a MSI package based on the application projects.

This is a walkthrough: http://msdn.microsoft.com/en-us/library/ms235317.aspx.
This is another walkthrough: http://www.codeproject.com/KB/dotnet/Win_App_Setup_Project.aspx.

This is FAQ: http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/bef2cb8f-ac75-4d71-8fc1-6b428b69b4d4.

Let me know if this helps.
Aland Li


Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.
Aland Li  Friday, August 28, 2009 11:59 AM



Hi Aland -

Thanks for your response. The reason I want to know what files to include is that my ClickOnce project has files included that I believedo not belong in a project distributed using MSI. In other words, I want to change a "ClickOnce-deployed" project to a regular project. I need to know what files to delete (from the ClickOnce) that may interfere with the MSI distribution.

Do you happen to have a ClickOnce project that you can compare to an MSI project to see what files exist in both projects and which are different?

Again, any help will be appreciated!

Shannon

Shannon10  Friday, August 28, 2009 8:56 PM
The only files included in a ClickOnce deployment are references not included in the .Net framework and additional files you have specifically asked to be included. If you think some of these are not required, you can remove them from your CLickOnce deployment and see if it still works, or do the same for an MSI. There's no way for anyone else to know exactly what files your deployment requires but you.

RobinDotNet
Click here to visit my ClickOnce blog!
RobinDotNet  Monday, August 31, 2009 2:40 AM

You can use google to search for other answers

Custom Search

More Threads

• Error launching Clickonce app from intranet
• Creating a Setup File and when adding a new update removes previous
• Focus issue during install (Vista)
• Install updates after the application start
• Deployment Error
• Custom Actions: FolderBrowserDialog not working properly
• How to install 3rd party dll and register with reg.bat file?
• using .Net component in COM component
• Implementing RemoteCertValidationCallback
• Silent installs?