Bootstrapping
Hi,
I have a third party component, MapInfo which I am tryin to bootstrap. I created its package and product xml's according tohttp://msdn.microsoft.com/msdnmag/issues/04/10/Bootstrapper/. Then I copied them into the Bootstrapper folder. The product xml inside the Mapinfo folder and the package xml and the exe in the en folder. Next I open up a test application and try to publish it. The Mapinfo gets populated in the prerequisites dialog box. I select it and specify a location, which is a virtual directory on my machine.
When I try to publish the application, I get the following error:
Error 67 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'MapInfo\MapXtreme62TRIAL.exe' in item 'MapInfo' can not be located on disk. See Help for more information. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Microsoft.Common.targets 3249 9
Can someone help me out in how to fix this please. I am most probably missing out some step.
The xml's are copied below:
<Product
xmlns="http://schemas.microsoft.com/developer/2004/01/bootstrapper"
ProductCode="MapInfo.MapXtreme.6.2">
<!-- Defines list of files to be copied on build -->
<PackageFiles>
<PackageFile Name="MapXtreme62TRIAL.exe"/>
</PackageFiles>
<InstallChecks>
<RegistryCheck Property="MapInfoLocn"
Key="HKLM\Software\MapInfo\MapXtreme" Value="ApplicationDir" />
</InstallChecks>
<!-- Defines how to invoke the setup for the .NET Framework redist -->
<!-- TODO: EstimatedTempSpace, LogFile, updated EstimatedDiskSpace -->
<Commands Reboot="None">
<Command PackageFile="MapXtreme62TRIAL.exe"
EstimatedInstalledBytes="37979888"
EstimatedInstallSeconds="500">
<!-- These checks determine if the package is to be installed -->
<InstallConditions>
<!-- indicates the .Net Framework is already installed -->
<BypassIf
Property="MapInfoLocn" Compare="ValueEqualTo" Value="C:\Program Files\Common Files\MapInfo\MapXtreme\6.2\"/>
<InstallIf Property="MapInfoLocn" Compare="ValueNotEqualTo" Value="C:\Program Files\Common Files\MapInfo\MapXtreme\6.2\"/>
</InstallConditions>
<ExitCodes>
</ExitCodes>
</Command>
</Commands>
</Product>
<?xml version="1.0" encoding="utf-8" ?>
<Package
xmlns="http://schemas.microsoft.com/developer/2004/01/bootstrapper"
Name="DisplayName"
Culture="Culture">
<PackageFiles>
</PackageFiles>
<!-- Defines a localizable string table for error messages-->
<Strings>
<String Name="DisplayName">MapInfo</String>
<String Name="Culture">en</String>
</Strings>
</Package>

