Clickonce: Application has COM references Needs to be registered

ClickOnce Application is not advanced like MSI. If you have COM references that needs to be register on Client to run the application correctly we have to create Bootstrap manifest generator

For any Additional Data or required of third party application would also needs to be added as prerequisite

To add prerequisite in Visual studio 2005, we need to create Simple MSI project and create BMG through this tool

The same tool is available for VS2008 and would get updated at above location. However sometime creating Prerequisite through this tool will cause Visual studio Crash


-The failure could be corrected by comparing other prerequisite Product and Package XML and correcting it with Space and other tags.

You could also create your Own Prerequisite Manually

1. Create Setup Project using Visual studio(Or any other Tool).For Ex I am using MSI name as Reference.msi

2.Create Package.xml

<?xml version="1.0" encoding="utf-8"?>

<Package xmlns="" Name="References" Culture="En">

<PackageFiles CopyAllPackageFiles="false">

<PackageFile Name="References.msi"/>


<Commands Reboot="Defer">

<Command PackageFile="References.msi" Arguments="">


<DefaultExitCode Result="Success" FormatMessageFromSystem="true"/>





3. Create Product.XML

<?xml version="1.0" encoding="utf-8" ?>




4. Create Folder References Under C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages (For X64 machine Copy under (ProgramFiles(X86))

Add Reference.msi, Product.XML under it. Create folder called en and Add Package.XML under this folder

NOTE: References is name for Example, Change it according to your prerequisite Application name

5. Launch VS 2008 Select project | Properties | Publish | Prerequisite Button

You would See references listed under prerequisite List