I am trying to add a custom bootstrapper package to a clickonce install in Visual Studio 2010, but the package is not showing up in the Prerequisites menu. I have added a folder in the "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages" directory for my package.
I have opened both my product.xml and package.xml in Visual Studio and neither showed any errors.
I tried to check the registry to verify that I was placing my files in the correct location, but neither HKLM\Software\Microsoft\GenericBootstrapper nor HKCU\Software\Microsoft\GenericBootstrapper were in the registry.
I have also tried a full reboot after adding the files.
Here are my XML files: product.xml
<?xml version="1.0" encoding="utf-8" ?>
<Product
xmlns="http://schemas.microsoft.com/developer/2004/01/bootstrapper"
ProductCode="RedemptionDLL">
<RelatedProducts>
<DependsOnProduct Code="Microsoft.Windows.Installer.3.1" />
</RelatedProducts>
<PackageFiles>
<PackageFile Name="RedemptionDLL.msi"/>
</PackageFiles>
<Commands>
<Command PackageFile="RedemptionDLL.msi" Arguments="">
<InstallConditions>
<BypassIf Property="IsMsiInstalled"
Compare="ValueGreaterThan" Value="0"/>
<FailIf Property="AdminUser"
Compare="ValueNotEqualTo" Value="True"
String="NotAnAdmin"/>
</InstallConditions>
<ExitCodes>
<ExitCode Value="0" Result="Success"/>
<ExitCode Value="1641" Result="SuccessReboot"/>
<ExitCode Value="3010" Result="SuccessReboot"/>
<DefaultExitCode Result="Fail" String="GeneralFailure"/>
</ExitCodes>
</Command>
</Commands>
</Product>
package.xml
<?xml version="1.0" encoding="utf-8" ?>
<Package
xmlns="http://schemas.microsoft.com/developer/2004/01/bootstrapper"
Name="DisplayName"
Culture="Culture"
<Strings>
<String Name="DisplayName">RedemptionDLL</String>
<String Name="Culture">en</String>
<String Name="NotAnAdmin">You must be an administrator to install this package. Please contact your administrator.</String>
<String Name="GeneralFailure">A general error has occurred while
installing this package.</String>
</Strings>
</Package>