C# .NET - BootStrapper Manifest Generator

Asked By Parameswari
31-Aug-11 09:23 AM
 Hi friends,

      During installing my project setup , I want all prerequisites to installed . For that purpose I used BootStrapper,  I have added my custom own .exe (say,notepad++) to be installed .Only error is - The specifeied  is not installing while installing my project. Can any one specify what is wrong or can provide me a sample project for BMG ?
                    Thanks,
                        Parameswari
  Reena Jain replied to Parameswari
31-Aug-11 02:43 PM
hi,

Including .NET Framework 3.0 as a prerequisite and installing the Setup.exe bootstrapper on 64-bit computers shows an error message that 64-bit operating systems are not supported.

The .NET Framework 3.5 supports both 32-bit and 64-bit operating systems. If your application targets both 32-bit and 64-bit operating systems, select the .NET Framework 3.5 in the Prerequisites Dialog Box.
The bootstrapper packages for SQL 2008 and the .NET Framework 3.5 SP1 can be installed to your development computer by installing the Visual Studio Express Editions. For Visual Studio 2010, the SQL 2008 and the .NET Framework 3.5 SP1 bootstrapper packages are included, and this workaround is not necessary.

http://msdn.microsoft.com/en-us/library/kz0ke5xt.aspx
http://msdn.microsoft.com/en-us/library/7tx0bw8y.aspx
  Devil Scorpio replied to Parameswari
31-Aug-11 02:50 PM
HI,

In Visual Studio Environment from versions 2005 to 2010 a prerequisite installer is a must required component on creating your visual studio projects. You do not need to install this “Prerequisites” manually as there are ways provided by Microsoft to create and merge this components into your Project setup installer, by installing your application this installer will automatically install your prerequisites components onto your client’s computer without having to worry to install it manually. This Prerequisites normally seen on Prerequisites dialog box  as shown below:

In this example we are about to create the Crystal Report 2010 Runtime Prerequisites with some things to follow. The Lists below shows all the required components that we need for us to create one.
  1. Download and install http://code.msdn.microsoft.com/bmg/Release/ProjectReleases.aspx?ReleaseId=1567 for Visual Studio 2008.
  2. Crystal Report 2010 Beta 2 Runtime 32 bit (http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforNET40_x86.exe), at this time of creating this article, the available is Beta 2, SAP Crystal Report will be releasing its new CR release soon. You maybe interested also on how to install Crystal Report 2010 Beta 2 on your development Machine consider http://www.sourcehints.com/articles/How_to_use_Crystal_Report_2010_in_VS2010.html.
After installing the above software, open the Bootstrapper Manifest Generator window, click File->New on the New Project Dialog Box select package Manifest,

click Ok. On Projectname enter “http://www.sourcehints.com/articles/How_to_use_Crystal_Report_2010_in_VS2010.html” without double quotes, on the left portion of the window above the package listbox click the icon “Add Install File”

Locate the Crystal Report Beta 2 Runtime (http://www.sourcehints.com/articles/How_to_use_Crystal_Report_2010_in_VS2010.html) on your machine after you have downloaded it from the Microsoft website.


Select All Languages and click ok. Click the Build icon to build the manifest prerequisites,

Do not close right away the Build results dialog box as you need to locate the generated files and manifest file, normally the location of this is here “C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\Crystal Report 2010 Runtime” As this version of Bootstrapper Manifest Generator is version 2008 so it does generate in v6.0 folder. In order that this Prerequisites will appear in Visual Studio 2010 IDE you need to do some tricks. Copy the generated files from that folder, copy the whole folder “Crystal Report 2010 Runtime” to this path “C:\Program Files\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages“, the v7.0A folder is the location for all the Prerequisites Packages for Visual Studio 2010 Projects.

After copying you can now view this Prerequisites package on Prerequisite Dialog box as shown on the first image.  The Content of “Crystal Report 2010 Runtime” folder has one folder “en” and two files, the “CRforNET40_x86.exe ” and the “product.xml” manifest file. the content of “en” folder also contained “package.xml” file.

Refer the following website for more information
http://social.msdn.microsoft.com/Forums/en/winformssetup/thread/907c4d43-3533-46d2-8fc4-251bb5e4adaf
Create New Account
help
Changes in VIsual Studio 2010 .NET Framework Any major changes in the interface for Visual Studio 2010? Same requirements? Visual Studio .NET Discussions Visual Studio 2010 (1) PM (1) Msdn (1) A quick search for "what
which is batter for visual studio 2008 or visual studio 2010. Can any one tell me for I want to install visual studio so which is batter for visual studio 2008 or visual studio 2010 & why is batter?? Please tell me also diff between
SharePoint 2010 Visual Web Parts using Visual Studio 2010, Feature Designer and Package Designer How to create a Visual Web Part in Visual Studio 2010 and how to deploy it to the SharePoint 2010 team site. What is a
MS Visual Studio 2010 "Change Icon" - please help Windows 7 Guest OS: Windows XP Pro SP3 IDE: MS Visual Studio 2010 I have MS Visual Studio 2010 in Quick Launch but the color scheme of the default icon for the IDE
of the log into your reply, please. MowGreen [MVP 2003-2007] = = = = = = = = = = = = = = = *-343-* FDNY Never Forgotten = = = = = = = = = = = = = = = 2010-05-07 13:58:39:189 1300 11f4 Agent * Title = Security Update for Windows Vista (KB980232) 2010-05-07 13:58:39:189 1300 11f4 Agent * UpdateId = {0F6F26DC-954A-4B23-8CC4-1449D8100EB1 102 2010-05-07 13:58:39:189 1300 11f4 Agent * Bundles 1 updates: 2010-05-07 13:58:39:189 1300 11f4 Agent * {72A0ABD5-DACF-42E2-96D0-9404E9E849FF}.102 2010-05-07 13:58:39:189 1300 11f4 Agent * Title = Update for Microsoft Office Word 2007 (KB974561) 2010-05-07 13:58:39:189 1300 11f4 Agent * UpdateId = {9452E2DD-399E-430C-A7F6-81065B8BD447}.105 2010-05-07 13:58:39:189 1300 11f4 Agent * Bundles 1 updates: 2010-05-07 13:58:39:189 1300 11f4 Agent * {CEBBE511-0B1D-493F-B9B0-32FFABD36B46}.105