Click here to Skip to main content
6,629,377 members and growing! (18,980 online)
Email Password   helpLost your password?
Web Development » ASP.NET » General     Advanced

Add your own (custom) prerequisite to "ClickOnce" application

By Malpani Amol

Remember we can only add those prerequisite through ClickOnce which are by default in prerequisite list while publishing. This article will drive you, how to add custom prequisite for ClickOnce deployment
Windows, .NET 2.0, ASP.NET, VS2005, Dev
Posted:7 Oct 2006
Views:38,697
Bookmarked:34 times
Unedited contribution
Announcements
Loading...
 
Search    
Advanced Search
Add to IE Search
printPrint   add Share
      Discuss Discuss   Broken Article?Report  
14 votes for this article.
Popularity: 5.21 Rating: 4.55 out of 5

1

2

3
5 votes, 35.7%
4
9 votes, 64.3%
5

Introduction

Hi All,

 

Here is some cool stuff to add your own (Custom) prerequisite to "ClickOnce" application.

Remember we can only add those prerequisite through �ClickOnce� which are by default in prerequisite list while publishing. To add our own prerequisite you need to have boot strapper package. Once created boot strapper package then it will automatically included into prerequisite list. To generate boot strapper can use �Bootstrapper Manifest Generator� tool. Follow the steps given below to add own boot strapper using �Bootstrapper Manifest Generator� tool.

1.      Download �Bootstrapper Manifest Generator� http://www.gotdotnet.com/workspaces/workspace.aspx?id=ddb4f08c-7d7c-4f44-a009-ea19fc812545

2.      Install �Bootstrapper Manifest Generator�.

3.      Open BMG (Bootstrapper Manifest Generator) you will see following screen.

Sample screenshot

4.      Select FileNew will see following screen.

Sample screenshot

5.      Select �Package Manifest� and click on OK, you will see following screen.

Sample screenshot

6.   Type project name and click on �Add Installer File� icon top left you will see following     screen.

Sample screenshot

7.   Browse for file, you wish to add into prerequisite, as I added exe as prerequisite you can  choose as per your requirement.

8.      Click on Ok you will see following screen.

Sample screenshot

9.   Type display name and click on �Build� icon top left.

10.       Your prerequisite is been created, can see in prerequisite list as shown in following figure.

Sample screenshot 

11. All set select �Test� as prerequisite from above list and publish application.

NOTE � While creating custom prerequisite using �Bootstrapper Manifest Generator� you   can use lot many settings. I just showed possibility how to use custom prerequisite while using at production environment you must be careful.   

 

 

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


Member
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 ASP.NET articles:

Article Top
You must Sign In to use this message board.
FAQ FAQ 
 
Noise Tolerance  Layout  Per page   
 Msgs 1 to 12 of 12 (Total in Forum: 12) (Refresh)FirstPrevNext
Questionhow to create a project manifest Pinmembernervous_cat23:05 8 Oct '09  
Generaltrying to add Direct X but build gives error [modified] Pinmemberchhavinegi10:14 26 Sep '09  
GeneralThe Final Step: A step is missing from the instructions PinmemberSam Shiles7:41 8 Sep '09  
GeneralI have added .Net Framework 3.5 SP1 as a prerequisite using BMG but msi is not asking for it? PinmemberArshad Kunnath4:46 25 Jul '09  
QuestionA little help for generating custom pre requisites Pinmemberdonnelcyril15:38 7 Jan '09  
QuestionUpdate Prerequisite using Click Once? PinmemberSachin Palewar23:14 20 Jun '08  
GeneralVisual Studio 2008 users - download here PinmemberUltraWhack9:27 23 Apr '08  
General[Message Deleted] PinmemberRichard Hartness5:43 22 Feb '08  
GeneralRe: FYI-- GotDotNet has been shut down. Download the BMG from here. Pinmembermadval7:35 11 Feb '09  
GeneralRepository of Custom Microsoft BootStrappers PinmemberJames Murray9:53 14 Feb '08  
GeneralTHANK YOU PinmemberRHarding_110:31 10 Oct '06  
GeneralRe: THANK YOU PinmemberMalpani Amol20:01 10 Oct '06  

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-2009
Web18 | Advertise on the Code Project