Error on adding new Packages to the VS Prerequisites Dialog Box
-
Friday, August 31, 2012 6:29 AM
I was trying to add some prerequisites 3rd party tools in Setup project prerequisites dialog box. In Bootstrapper, I write Product.xml and Package.xml manifest files. and added to the right location "~\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\~"
but still new entry is not showing in dotnet project Prerequisites box (Properties\Prerequisites)
Here is my sample Product.xml file. Please help me to find out where I am doing wrong.<?xml version="1.0" encoding="utf-8"?>
<Product xmlns="http://schemas.microsoft.com/developer/2004/01/bootstrapper" ProductCode="Custom.Bootstrapper.Package.RemoteDesktop">
<RelatedProducts>
<DependsOnProduct Code="Microsoft.Net.Framework.2.0" />
</RelatedProducts>
<PackageFiles>
<PackageFile Name="Setup.RemoteDesktopManager.6.9.8.0.exe"/>
</PackageFiles>
<InstallChecks>
<RegistryCheck Property="IsRemoteDesktopInstalled" Key="HKEY_CURRENT_USER\Software\RemoteDesktopManager" />
</InstallChecks>
<Commands>
<Command PackageFile="Setup.RemoteDesktopManager.6.9.8.0.exe" Arguments="">
<InstallConditions>
<BypassIf
Property="IsRemoteDesktopInstalled"
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>Thanks in Advance :)
- Edited by AbhijeetGupta Friday, August 31, 2012 6:45 AM
All Replies
-
Tuesday, September 04, 2012 8:26 AMModerator
Hi AbhijeetGupta,
Thanks for your post!
Could you see the following link http://msdn.microsoft.com/en-us/library/ms165429(v=vs.100).aspx can help you?
This issue is not related with TFS Build, can you ask this question in
http://social.msdn.microsoft.com/Forums/is/category/visualstudio, in which there will be more experts about Visual Studio develope, and the issue will get a quicker response.
Best Regards,
Cathy Kong [MSFT]
MSDN Community Support | Feedback to us
- Edited by Cathy KongMicrosoft Contingent Staff, Moderator Tuesday, September 04, 2012 8:29 AM
- Marked As Answer by Cathy KongMicrosoft Contingent Staff, Moderator Thursday, September 06, 2012 1:22 AM
-
Wednesday, September 05, 2012 11:21 AM
Thanks Cathy for your valuable comments. Issue now resolved. I was placing files in wrong folder location. many times I read out same link (that you posted) but didn't identify my mistake. but this time I got my bed. thanks again. :)- Marked As Answer by Cathy KongMicrosoft Contingent Staff, Moderator Thursday, September 06, 2012 1:21 AM
-
Thursday, September 06, 2012 1:22 AMModerator
Hi AbhijeetGupta,
Thanks for your feedback and I am glad to hear that the issue solved. Thanks for your sharing.
Best Regards,
Cathy Kong [MSFT]
MSDN Community Support | Feedback to us

