Click here to Skip to main content
Click here to Skip to main content
Go to top

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

, 7 Oct 2006
Rate this:
Please Sign up or sign in to vote.
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
<!-- Article Starts - DO NOT ADD HTML/BODY START TAGS-->

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 FileàNew 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

Share

About the Author

Malpani Amol
Web Developer
India India
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

Comments and Discussions

 
Questionhow to do the same with Instalshield? Pinmembersunil padhi11-Sep-13 21:14 
QuestionThanx PinmemberPriyanka Jain26-Jun-13 19:48 
GeneralMy vote of 5 Pinmembertaha201023-Jun-13 5:41 
QuestionBootstrapper Manifest Generator Download URL Changed PinmemberVerious15-Aug-12 6:18 
QuestionBMG For VS 2010 Pinmembermicky1618631-Jul-12 0:10 
QuestionRemove Existing Sqlce version from pc when Click One Installation is started Pinmemberuditraj6318-Jul-12 4:15 
QuestionBMG for VS 2010 PinmemberLavanyaz12-Dec-10 8:10 
AnswerRe: BMG for VS 2010 PinmemberLuis Alonso Ramos9-Jun-11 6:48 
GeneralRe: BMG for VS 2010 PinmemberMember 151135514-Dec-11 3:27 
QuestionCheck .NET 3.5 SP1 is not Installed Pinmembermohitisavailable2-Sep-10 2:49 
GeneralAdding Prerequisite PinmemberMember 13026393-Jun-10 19:55 
GeneralBMG for VS2010 Pinmembersudipta.india13-Apr-10 23:55 
AnswerRe: BMG for VS2010 PinmemberJerome Vibert8-May-10 10:19 
Questionhow to create a project manifest Pinmembernervous_cat8-Oct-09 22:05 
Generaltrying to add Direct X but build gives error [modified] Pinmemberchhavinegi26-Sep-09 9:14 
GeneralThe Final Step: A step is missing from the instructions PinmemberSam Shiles8-Sep-09 6:41 
QuestionI have added .Net Framework 3.5 SP1 as a prerequisite using BMG but msi is not asking for it? PinmemberArshad Kunnath25-Jul-09 3:46 
QuestionA little help for generating custom pre requisites Pinmemberdonnelcyril7-Jan-09 14:38 
QuestionUpdate Prerequisite using Click Once? PinmemberSachin Palewar20-Jun-08 22:14 
GeneralVisual Studio 2008 users - download here PinmemberUltraWhack23-Apr-08 8:27 
General[Message Deleted] PinmemberRichard Hartness22-Feb-08 4:43 
GeneralRe: FYI-- GotDotNet has been shut down. Download the BMG from here. Pinmembermadval11-Feb-09 6:35 
GeneralRepository of Custom Microsoft BootStrappers PinmemberJames Murray14-Feb-08 8:53 
GeneralTHANK YOU PinmemberRHarding_110-Oct-06 9:31 
GeneralRe: THANK YOU PinmemberMalpani Amol10-Oct-06 19:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web04 | 2.8.140926.1 | Last Updated 8 Oct 2006
Article Copyright 2006 by Malpani Amol
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid