5,530,111 members and growing! (15,088 online)
Email Password   helpLost your password?
Platforms, Frameworks & Libraries » .NET Framework » General     Intermediate

Publish an application using ClickOnce, without VS 2005

By Malpani Amol

This article will drive you, how to publish ClickOnce application without VS 2005 using "Mage UI" utility
Windows, .NET 2.0, .NETVisual Studio, VS2005, Dev

Posted: 7 Oct 2006
Updated: 7 Oct 2006
Views: 12,583
Bookmarked: 5 times
Announcements
Want a new Job?



Search    
Advanced Search
Sitemap
2 votes for this Article.
Popularity: 0.40 Rating: 1.33 out of 5
1 vote, 50.0%
1
1 vote, 50.0%
2
0 votes, 0.0%
3
0 votes, 0.0%
4
0 votes, 0.0%
5
Note: This is an unedited contribution. If this article is inappropriate, needs attention or copies someone else's work without reference then please Report This Article

Introduction

Hi All,

Here is some cool stuff to deploy windows application using "ClickOnce" without using VS 2005 IDE. Please fallow the steps given below to publish your application at IIS.

Steps:-

1. Please create one folder under wwwroot folder for example FirstClickOnce.

2. Create one subfolder under FirstClickOnce for example FirstClickOnce_1_0_0_0 since first time you are publishing application.

3.Copy your .exe & .dll from bin\debug folder into FirstClickOnce_1_0_0_0.

2.Go to Start-->Program-->Microsoft .Net Framework SDK v2.0-->SDK Command Prompt & type MageUi.exe one window will open,

Sample screenshot

3. Create a new application manifest by selecting File, New, Application Manifest from the menu.

4. On the default Name tab, enter the name and version number of this deployment.

5. Select the Files tab and click the Browse... button next to the Application Directory text box.

6. Select the directory containing your application files that you created in step 2, and click OK on the folder selection dialog box.

7. Click the Populate button to add all your application files to the file list. If your application contains more than one executable file, mark the main executable file for this deployment as the startup application by selecting Entry Point from the File Type drop-down list. (If your application only contains one executable file, MageUI.exe will mark it for you.)

8. Select the Permissions Required tab and select the level of trust you need your application to assert. The default is Full Trust, which will be suitable for most applications.

9. Select File, Save from the menu, and save the application manifest. You will be prompted to sign the application manifest when you save it.Save it in folder created in step 2.

10. Select File, New, Deployment Manifest from the menu to create your deployment manifest, and then on the Name tab, supply a name and version number (1.0.0.0 in this example).

11. Select the Publisher tab, and supply values for Publisher and Product. (Product is the name given your application on the Windows Start menu when you install your application locally.)

12. Switch to the Deployment tab, and uncheck Use .deploy file name extension & type start location as shown below,

Sample screenshot

13. Switch to the Update tab, and specify how often you would like this application to update. If your application uses the ClickOnce Deployment API to check for updates itself, clear the check box labeled this application should check for updates.

14. Switch to the Application Reference tab. You can pre-populate all of the values on this tab by clicking the Select Manifest button and selecting the application manifest you created in 9 steps.

15. Choose Save and save the deployment manifest to disk. You will be prompted to sign the application manifest when you save it. Save deployment manifest in folder created in step 1.

That’s it now browse .application file from location given in step 12 for example

http://10.42.30.40:86/FirstClickOnce/FirstClickOnce.application

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

Malpani Amol


I am a .NET developer cum designer. I work for Zensar Technologies Ltd. Pune (INDIA), I consult, I develop, I debug and besides that I speak at conferences and user groups and I also write. I have written some articles on WCF, WF, SSIS, Compression decompression, CLR Store Procedure, SQL Server Reporting Services 2005, Extended grid and lot more to count.
Reach to me on:-a.malpani@zensar.com

Occupation: Web Developer
Location: India India

Other popular .NET Framework articles:

Article Top
Sign Up to vote for this article
You must Sign In to use this message board.
FAQ FAQ Noise ToleranceSearch Search Messages 
 Layout  Per page   
 Msgs 1 to 2 of 2 (Total in Forum: 2) (Refresh)FirstPrevNext
Subject  Author Date 
Generalwhat about web applications ?memberab_dc10:25 8 Sep '08  
QuestionWhat about i want to encrypt .exe before publishing ?memberVBNewComerVBDOTNET5:43 3 Jun '07  

General General    News News    Question Question    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

PermaLink | Privacy | Terms of Use
Last Updated: 7 Oct 2006
Editor:
Copyright 2006 by Malpani Amol
Everything else Copyright © CodeProject, 1999-2008
Web13 | Advertise on the Code Project