Click here to Skip to main content
15,171,873 members
Articles / Web Development / ASP.NET
Posted 7 Oct 2006


58 bookmarked

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

Rate me:
Please Sign up or sign in to vote.
4.57/5 (23 votes)
7 Oct 20061 min read
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


Hi All,<o:p>


Here is some cool stuff to add your own (Custom) prerequisite to "ClickOnce" application.<o:p>

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”

2.      Install “Bootstrapper Manifest Generator”.

3.      Open BMG (Bootstrapper Manifest Generator) you will see following screen.<o:p>

Sample screenshot

4.      Select FileàNew will see following screen.

Sample screenshot

<o:p>5.      Select “Package Manifest” and click on OK, you will see following screen.

<o:p>Sample screenshot

<o:p>6.<o:p><o:p>   Type project name and click on “Add Installer File” icon top left you will see following     screen.

<o:p><o:p>Sample screenshot

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

<o:p><o:p><o:p>8.      Click on Ok you will see following screen.<o:p>

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.   <o:p>




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
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

Comments and Discussions

QuestionIssue in getting the manifest in Prerequisits Pin
ArPatil12-Jul-15 23:55
MemberArPatil12-Jul-15 23:55 
Questionhow to do the same with Instalshield? Pin
sunil padhi11-Sep-13 22:14
professionalsunil padhi11-Sep-13 22:14 
QuestionThanx Pin
Priyanka Jain26-Jun-13 20:48
MemberPriyanka Jain26-Jun-13 20:48 
GeneralMy vote of 5 Pin
taha201023-Jun-13 6:41
Membertaha201023-Jun-13 6:41 
QuestionBootstrapper Manifest Generator Download URL Changed Pin
Verious15-Aug-12 7:18
MemberVerious15-Aug-12 7:18 
QuestionBMG For VS 2010 Pin
micky1618631-Jul-12 1:10
Membermicky1618631-Jul-12 1:10 
QuestionRemove Existing Sqlce version from pc when Click One Installation is started Pin
uditraj6318-Jul-12 5:15
Memberuditraj6318-Jul-12 5:15 
QuestionBMG for VS 2010 Pin
Lavanyaz12-Dec-10 9:10
MemberLavanyaz12-Dec-10 9:10 
AnswerRe: BMG for VS 2010 Pin
Luis Alonso Ramos9-Jun-11 7:48
MemberLuis Alonso Ramos9-Jun-11 7:48 
GeneralRe: BMG for VS 2010 Pin
Member 151135514-Dec-11 4:27
MemberMember 151135514-Dec-11 4:27 
QuestionCheck .NET 3.5 SP1 is not Installed Pin
mohitisavailable2-Sep-10 3:49
Membermohitisavailable2-Sep-10 3:49 
GeneralAdding Prerequisite Pin
Member 13026393-Jun-10 20:55
MemberMember 13026393-Jun-10 20:55 
GeneralBMG for VS2010 Pin
Sudipta Chaudhari14-Apr-10 0:55
MemberSudipta Chaudhari14-Apr-10 0:55 
AnswerRe: BMG for VS2010 Pin
Jerome Vibert8-May-10 11:19
MemberJerome Vibert8-May-10 11:19 
Questionhow to create a project manifest Pin
nervous_cat8-Oct-09 23:05
Membernervous_cat8-Oct-09 23:05 
Generaltrying to add Direct X but build gives error [modified] Pin
chhavinegi26-Sep-09 10:14
Memberchhavinegi26-Sep-09 10:14 
GeneralThe Final Step: A step is missing from the instructions Pin
Sam Shiles8-Sep-09 7:41
MemberSam Shiles8-Sep-09 7:41 
QuestionI have added .Net Framework 3.5 SP1 as a prerequisite using BMG but msi is not asking for it? Pin
Arshad Kunnath25-Jul-09 4:46
MemberArshad Kunnath25-Jul-09 4:46 
QuestionA little help for generating custom pre requisites Pin
donnelcyril7-Jan-09 15:38
Memberdonnelcyril7-Jan-09 15:38 
QuestionUpdate Prerequisite using Click Once? Pin
Sachin Palewar20-Jun-08 23:14
MemberSachin Palewar20-Jun-08 23:14 
GeneralVisual Studio 2008 users - download here Pin
UltraWhack23-Apr-08 9:27
MemberUltraWhack23-Apr-08 9:27 
General[Message Deleted] Pin
R_L_H22-Feb-08 5:43
MemberR_L_H22-Feb-08 5:43 
GeneralRe: FYI-- GotDotNet has been shut down. Download the BMG from here. Pin
madval11-Feb-09 7:35
Membermadval11-Feb-09 7:35 
GeneralRepository of Custom Microsoft BootStrappers Pin
James Murray14-Feb-08 9:53
MemberJames Murray14-Feb-08 9:53 
GeneralTHANK YOU Pin
Russ Harding10-Oct-06 10:31
MemberRuss Harding10-Oct-06 10:31 

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

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