GenerateBootstrapper - Office PIAs

Hi;

The Microsoft Office PIAs are not installed as part of Office (except for Office 2003 where they are installef if and only if .NET was already installed when Office was installed).

How can I make these files part of my GenerateBootstrapper products

thanks - dave




Answer this question

GenerateBootstrapper - Office PIAs

  • narend

    I'm not all that familiar with the bootstrap, but it seems to me that you should be using this kind of check somewhere because this is what the bootstrap entry looks like another MSI product check, the VC redist Dlls:

    Begin InstallChecks
    Begin MsiProductCheck
    Property="VCRedistInstalled"
    Product="{A49F249F-0C91-497F-86DF-B2585E8E76B7}"
    End MsiProductCheck
    End InstallChecks

    I looked in the complete bootstrapper for all the standard prereqs in VS 2005 and the word "bootstrapperitem" is not there. So I'm not sure what syntax you've got there. I've pasted the complete file below of how VS 2005 detects all those standard prereqs, as described by http://msdn.microsoft.com/msdnmag/issues/04/10/Bootstrapper/#S5 .

    Begin Application
    Name="TestGeneral"
    Begin Files
    Begin File
    Name="TestGeneral.msi"
    End File
    End Files
    End Application
    Begin Package
    Name="Microsoft Data Access Components 2.8"
    LicenseAgreement="EULA0"
    PackageCode="Microsoft.Data.Access.Components.2.8.en"
    Begin Commands
    Reboot="Defer"
    Begin Command
    PackageFile="MDAC28\mdac_typ.exe"
    Arguments="/q:a /c:\"dasetup.exe /q /n\""
    EstimatedInstalledBytes="20000000"
    EstimatedInstallSeconds="80"
    Begin InstallConditions
    Begin BypassIf
    Property="MDACVersion"
    Compare="VersionGreaterThanOrEqualTo"
    Value="2.80"
    End BypassIf
    Begin FailIf
    Property="AdminUser"
    Compare="ValueEqualTo"
    Value="false"
    Text="You do not have the permissions required to install Microsoft Data Access Components 2.8. Contact your administrator."
    End FailIf
    Begin FailIf
    Property="VersionNT"
    Compare="VersionLessThan"
    Value="4.0.5"
    Text="Microsoft Data Access Components 2.8 is not supported on this platform. Contact your application vendor."
    End FailIf
    End InstallConditions
    Begin ExitCodes
    Begin ExitCode
    Value="0"
    Result="Success"
    End ExitCode
    Begin ExitCode
    Value="3010"
    Result="SuccessReboot"
    End ExitCode
    Begin ExitCode
    Value="112"
    Result="Fail"
    Text="There is not enough disk space to complete setup."
    End ExitCode
    Begin DefaultExitCode
    Result="Fail"
    FormatMessageFromSystem="true"
    Text="A failure occurred attempting to install Microsoft Data Access Components 2.8."
    End DefaultExitCode
    End ExitCodes
    End Command
    End Commands
    Begin InstallChecks
    Begin RegistryCheck
    Property="MDACVersion"
    Key="HKLM\Software\Microsoft\DataAccess"
    Value="FullInstallVer"
    End RegistryCheck
    End InstallChecks
    Begin PackageFiles
    CopyAllPackageFiles="false"
    Begin PackageFile
    Name="MDAC28\mdac_typ.exe"
    HomeSite="http://go.microsoft.com/fwlink/ LinkId=37282&clcid=0x409"
    PublicKey="3082010A0282010100CF38F7E1A4275EF8F0CCAACEFB3ADE3B6231460546BBF5B6051AD3B3ACC29F0F4C670828C44310F53B75797F6A91F4D633C861BFFA9190007AF0791D5D6870F690B29877B5031D2F9B9D9B75892F4A01417C9E7CCB87439BF49674999E98C1CF40575816F6C0D59216E52485718F9949ED557C65C91F380023C53EAB11D6296CC69EA0705B7DD537D4677720C306CE85F84E3480A035C41C53320157EFB128BD6C01E3AD40BC80A90949DB36E337F41D49AA2AA76BD019D3CC8E9DD686467A134AD64519A553B3E2782F2E35976B4CC6E81AB0D3D1249069ABCEFC696E3E4CFB024162DC07985D7E5CA74C27316B564CE198D8E0D11D718D3D2AC07F714DFFCF0203010001"
    Size="6100504"
    End PackageFile
    End PackageFiles
    End Package
    Begin Package
    Name=".NET Framework 2.0"
    LicenseAgreement="EULA1"
    PackageCode="Microsoft.Net.Framework.2.0.en"
    Begin Commands
    Reboot="Immediate"
    Begin Command
    PackageFile="dotnetfx\instmsia.exe"
    Arguments=" /q /c:"msiinst /delayrebootq""
    EstimatedInstallSeconds="20"
    Begin InstallConditions
    Begin BypassIf
    Property="VersionNT"
    Compare="ValueExists"
    End BypassIf
    Begin BypassIf
    Property="VersionMsi"
    Compare="VersionGreaterThanOrEqualTo"
    Value="2.0"
    End BypassIf
    End InstallConditions
    Begin ExitCodes
    Begin ExitCode
    Value="0"
    Result="SuccessReboot"
    End ExitCode
    Begin ExitCode
    Value="1641"
    Result="SuccessReboot"
    End ExitCode
    Begin ExitCode
    Value="3010"
    Result="SuccessReboot"
    End ExitCode
    Begin DefaultExitCode
    Result="Fail"
    FormatMessageFromSystem="true"
    Text="A failure occurred attempting to install the .NET Framework 2.0."
    End DefaultExitCode
    End ExitCodes
    End Command
    Begin Command
    PackageFile="dotnetfx\WindowsInstaller-KB893803-v2-x86.exe"
    Arguments="/quiet /norestart"
    EstimatedInstallSeconds="21"
    Begin InstallConditions
    Begin BypassIf
    Property="Version9x"
    Compare="ValueExists"
    End BypassIf
    Begin BypassIf
    Property="VersionNT"
    Compare="VersionLessThan"
    Value="5.0.3"
    End BypassIf
    Begin BypassIf
    Property="VersionMsi"
    Compare="VersionGreaterThanOrEqualTo"
    Value="3.0"
    End BypassIf
    Begin FailIf
    Property="AdminUser"
    Compare="ValueEqualTo"
    Value="false"
    Text="Administrator permissions are required to install the .NET Framework 2.0. Contact your administrator."
    End FailIf
    End InstallConditions
    Begin ExitCodes
    Begin ExitCode
    Value="0"
    Result="Success"
    End ExitCode
    Begin ExitCode
    Value="1641"
    Result="SuccessReboot"
    End ExitCode
    Begin ExitCode
    Value="3010"
    Result="SuccessReboot"
    End ExitCode
    Begin DefaultExitCode
    Result="Fail"
    FormatMessageFromSystem="true"
    Text="A failure occurred attempting to install the .NET Framework 2.0."
    End DefaultExitCode
    End ExitCodes
    End Command
    Begin Command
    PackageFile="dotnetfx\dotnetfx.exe"
    Arguments=" /q:a /c:"install /q /l""
    EstimatedInstalledBytes="180000000"
    EstimatedTempBytes="110000000"
    EstimatedInstallSeconds="420"
    Begin InstallConditions
    Begin BypassIf
    Property="DotNetInstalled"
    Compare="ValueNotEqualTo"
    Value="0"
    End BypassIf
    Begin FailIf
    Property="AdminUser"
    Compare="ValueEqualTo"
    Value="false"
    Text="Administrator permissions are required to install the .NET Framework 2.0. Contact your administrator."
    End FailIf
    Begin FailIf
    Property="Version9X"
    Compare="VersionLessThan"
    Value="4.10"
    Text="Installation of the .NET Framework 2.0 is not supported on Windows 95. Contact your application vendor."
    End FailIf
    Begin FailIf
    Property="VersionNT"
    Compare="VersionLessThan"
    Value="5.0.3"
    Text="Installation of the .NET Framework 2.0 requires Windows 2000 Service Pack 3 or later. Contact your application vendor."
    End FailIf
    Begin FailIf
    Property="IEVersion"
    Compare="ValueNotExists"
    Text="Installation of the .NET Framework 2.0 requires Internet Explorer 5.01 or greater. Contact your application vendor."
    End FailIf
    Begin FailIf
    Property="IEVersion"
    Compare="VersionLessThan"
    Value="5.01"
    Text="Installation of the .NET Framework 2.0 requires Internet Explorer 5.01 or greater. Contact your application vendor."
    End FailIf
    Begin FailIf
    Property="ProcessorArchitecture"
    Compare="ValueNotEqualTo"
    Value="Intel"
    Text="This version of the .NET Framework 2.0 is not supported on a 64-bit operating system. Contact your application vendor."
    End FailIf
    End InstallConditions
    Begin ExitCodes
    Begin ExitCode
    Value="0"
    Result="Success"
    End ExitCode
    Begin ExitCode
    Value="3010"
    Result="SuccessReboot"
    End ExitCode
    Begin ExitCode
    Value="4097"
    Result="Fail"
    Text="Administrator permissions are required to install the .NET Framework 2.0. Contact your administrator."
    End ExitCode
    Begin ExitCode
    Value="4098"
    Result="Fail"
    End ExitCode
    Begin ExitCode
    Value="4099"
    Result="Fail"
    Text="Due to an error with Windows Installer, the installation of the .NET Framework 2.0 cannot proceed."
    End ExitCode
    Begin ExitCode
    Value="4101"
    Result="Fail"
    Text="Another instance of setup is already running. The running instance must complete before this setup can proceed."
    End ExitCode
    Begin ExitCode
    Value="4102"
    Result="Fail"
    End ExitCode
    Begin ExitCode
    Value="4113"
    Result="Fail"
    Text="A beta version of the .NET Framework was detected on the computer. Uninstall any previous beta versions of .NET Framework before continuing."
    End ExitCode
    Begin DefaultExitCode
    Result="Fail"
    FormatMessageFromSystem="true"
    Text="A failure occurred attempting to install the .NET Framework 2.0."
    End DefaultExitCode
    End ExitCodes
    End Command
    End Commands
    Begin InstallChecks
    Begin ExternalCheck
    Property="DotNetInstalled"
    PackageFile="dotnetfx\dotnetchk.exe"
    End ExternalCheck
    Begin RegistryCheck
    Property="IEVersion"
    Key="HKLM\Software\Microsoft\Internet Explorer"
    Value="Version"
    End RegistryCheck
    End InstallChecks
    Begin PackageFiles
    CopyAllPackageFiles="false"
    Begin PackageFile
    Name="dotnetfx\instmsia.exe"
    HomeSite="http://go.microsoft.com/fwlink/ LinkId=37285"
    PublicKey="3082010A0282010100AA99BD39A81827F42B3D0B4C3F7C772EA7CBB5D18C0DC23A74D793B5E0A04B3F595ECE454F9A7929F149CC1A47EE55C2083E1220F855F2EE5FD3E0CA96BC30DEFE58C82732D08554E8F09110BBF32BBE19E5039B0B861DF3B0398CB8FD0B1D3C7326AC572BCA29A215908215E277A34052038B9DC270BA1FE934F6F335924E5583F8DA30B620DE5706B55A4206DE59CBF2DFA6BD154771192523D2CB6F9B1979DF6A5BF176057929FCC356CA8F440885558ACBC80F464B55CB8C96774A87E8A94106C7FF0DE968576372C36957B443CF323A30DC1BE9D543262A79FE95DB226724C92FD034E3E6FB514986B83CD0255FD6EC9E036187A96840C7F8E203E6CF050203010001"
    Size="1709160"
    End PackageFile
    Begin PackageFile
    Name="dotnetfx\WindowsInstaller-KB893803-v2-x86.exe"
    HomeSite="http://go.microsoft.com/fwlink/ LinkId=49256"
    PublicKey="3082010A0282010100CF38F7E1A4275EF8F0CCAACEFB3ADE3B6231460546BBF5B6051AD3B3ACC29F0F4C670828C44310F53B75797F6A91F4D633C861BFFA9190007AF0791D5D6870F690B29877B5031D2F9B9D9B75892F4A01417C9E7CCB87439BF49674999E98C1CF40575816F6C0D59216E52485718F9949ED557C65C91F380023C53EAB11D6296CC69EA0705B7DD537D4677720C306CE85F84E3480A035C41C53320157EFB128BD6C01E3AD40BC80A90949DB36E337F41D49AA2AA76BD019D3CC8E9DD686467A134AD64519A553B3E2782F2E35976B4CC6E81AB0D3D1249069ABCEFC696E3E4CFB024162DC07985D7E5CA74C27316B564CE198D8E0D11D718D3D2AC07F714DFFCF0203010001"
    Size="2585872"
    End PackageFile
    Begin PackageFile
    Name="dotnetfx\dotnetfx.exe"
    HomeSite="http://go.microsoft.com/fwlink/ LinkId=37283"
    PublicKey="3082010A0282010100CF38F7E1A4275EF8F0CCAACEFB3ADE3B6231460546BBF5B6051AD3B3ACC29F0F4C670828C44310F53B75797F6A91F4D633C861BFFA9190007AF0791D5D6870F690B29877B5031D2F9B9D9B75892F4A01417C9E7CCB87439BF49674999E98C1CF40575816F6C0D59216E52485718F9949ED557C65C91F380023C53EAB11D6296CC69EA0705B7DD537D4677720C306CE85F84E3480A035C41C53320157EFB128BD6C01E3AD40BC80A90949DB36E337F41D49AA2AA76BD019D3CC8E9DD686467A134AD64519A553B3E2782F2E35976B4CC6E81AB0D3D1249069ABCEFC696E3E4CFB024162DC07985D7E5CA74C27316B564CE198D8E0D11D718D3D2AC07F714DFFCF0203010001"
    Size="23510720"
    End PackageFile
    Begin PackageFile
    Name="dotnetfx\dotnetchk.exe"
    PublicKey="3082010A0282010100CF38F7E1A4275EF8F0CCAACEFB3ADE3B6231460546BBF5B6051AD3B3ACC29F0F4C670828C44310F53B75797F6A91F4D633C861BFFA9190007AF0791D5D6870F690B29877B5031D2F9B9D9B75892F4A01417C9E7CCB87439BF49674999E98C1CF40575816F6C0D59216E52485718F9949ED557C65C91F380023C53EAB11D6296CC69EA0705B7DD537D4677720C306CE85F84E3480A035C41C53320157EFB128BD6C01E3AD40BC80A90949DB36E337F41D49AA2AA76BD019D3CC8E9DD686467A134AD64519A553B3E2782F2E35976B4CC6E81AB0D3D1249069ABCEFC696E3E4CFB024162DC07985D7E5CA74C27316B564CE198D8E0D11D718D3D2AC07F714DFFCF0203010001"
    End PackageFile
    End PackageFiles
    Begin RelatedProducts
    Begin IncludesProduct
    Code="Microsoft.Windows.Installer.2.0"
    End IncludesProduct
    End RelatedProducts
    End Package
    Begin Package
    Name="Microsoft Visual J# .NET Redistributable Package 2.0"
    LicenseAgreement="EULA2"
    PackageCode="Microsoft.JSharp.2.0.en"
    Begin Commands
    Reboot="Defer"
    Begin Command
    PackageFile="VJSharpRDP\vjredist.exe"
    Arguments=" /q:a /c:"install /q /l""
    EstimatedInstalledBytes="40000000"
    EstimatedTempBytes="40000000"
    EstimatedInstallSeconds="300"
    Begin InstallConditions
    Begin BypassIf
    Property="VJSRDPInstalled"
    Compare="ValueNotEqualTo"
    Value="0"
    End BypassIf
    Begin FailIf
    Property="AdminUser"
    Compare="ValueEqualTo"
    Value="false"
    Text="Administrator permissions are required to install Microsoft Visual J# .NET Redistributable Package 2.0. Contact your administrator."
    End FailIf
    Begin FailIf
    Property="DotNetInstalled"
    Compare="ValueEqualTo"
    Value="0"
    Schedule="BeforeVJSRDPInstall"
    Text="Installation of Microsoft Visual J# .NET Redistributable Package 2.0 requires Microsoft .NET Framework 2.0. Contact your application vendor."
    End FailIf
    End InstallConditions
    Begin ExitCodes
    Begin ExitCode
    Value="0"
    Result="Success"
    End ExitCode
    Begin ExitCode
    Value="3010"
    Result="SuccessReboot"
    End ExitCode
    Begin ExitCode
    Value="4097"
    Result="Fail"
    Text="Administrator permissions are required to install Microsoft Visual J# .NET Redistributable Package 2.0. Contact your administrator."
    End ExitCode
    Begin ExitCode
    Value="4098"
    Result="Fail"
    End ExitCode
    Begin ExitCode
    Value="4099"
    Result="Fail"
    Text="Due to an error with Windows Installer, the installation of Microsoft Visual J# .NET Redistributable Package 2.0 cannot proceed."
    End ExitCode
    Begin ExitCode
    Value="4101"
    Result="Fail"
    Text="Another instance of setup is already running. The running instance must complete before this setup can proceed."
    End ExitCode
    Begin ExitCode
    Value="4113"
    Result="Fail"
    End ExitCode
    Begin ExitCode
    Value="4115"
    Result="Fail"
    End ExitCode
    Begin ExitCode
    Value="4116"
    Result="Fail"
    End ExitCode
    Begin DefaultExitCode
    Result="Fail"
    FormatMessageFromSystem="true"
    Text="A failure occurred attempting to install Microsoft Visual J# .NET Redistributable Package 2.0."
    End DefaultExitCode
    End ExitCodes
    End Command
    End Commands
    Begin InstallChecks
    Begin ExternalCheck
    Property="VJSRDPInstalled"
    PackageFile="VJSharpRDP\vjsrdpchk.exe"
    End ExternalCheck
    Begin ExternalCheck
    Property="DotNetInstalled"
    PackageFile="VJSharpRDP\dotnetchk.exe"
    End ExternalCheck
    End InstallChecks
    Begin PackageFiles
    CopyAllPackageFiles="false"
    Begin PackageFile
    Name="VJSharpRDP\vjredist.exe"
    HomeSite="http://go.microsoft.com/fwlink/ LinkId=37281"
    PublicKey="3082010A0282010100CF38F7E1A4275EF8F0CCAACEFB3ADE3B6231460546BBF5B6051AD3B3ACC29F0F4C670828C44310F53B75797F6A91F4D633C861BFFA9190007AF0791D5D6870F690B29877B5031D2F9B9D9B75892F4A01417C9E7CCB87439BF49674999E98C1CF40575816F6C0D59216E52485718F9949ED557C65C91F380023C53EAB11D6296CC69EA0705B7DD537D4677720C306CE85F84E3480A035C41C53320157EFB128BD6C01E3AD40BC80A90949DB36E337F41D49AA2AA76BD019D3CC8E9DD686467A134AD64519A553B3E2782F2E35976B4CC6E81AB0D3D1249069ABCEFC696E3E4CFB024162DC07985D7E5CA74C27316B564CE198D8E0D11D718D3D2AC07F714DFFCF0203010001"
    Size="3796672"
    End PackageFile
    Begin PackageFile
    Name="VJSharpRDP\vjsrdpchk.exe"
    PublicKey="3082010A0282010100CF38F7E1A4275EF8F0CCAACEFB3ADE3B6231460546BBF5B6051AD3B3ACC29F0F4C670828C44310F53B75797F6A91F4D633C861BFFA9190007AF0791D5D6870F690B29877B5031D2F9B9D9B75892F4A01417C9E7CCB87439BF49674999E98C1CF40575816F6C0D59216E52485718F9949ED557C65C91F380023C53EAB11D6296CC69EA0705B7DD537D4677720C306CE85F84E3480A035C41C53320157EFB128BD6C01E3AD40BC80A90949DB36E337F41D49AA2AA76BD019D3CC8E9DD686467A134AD64519A553B3E2782F2E35976B4CC6E81AB0D3D1249069ABCEFC696E3E4CFB024162DC07985D7E5CA74C27316B564CE198D8E0D11D718D3D2AC07F714DFFCF0203010001"
    End PackageFile
    Begin PackageFile
    Name="VJSharpRDP\dotnetchk.exe"
    PublicKey="3082010A0282010100CF38F7E1A4275EF8F0CCAACEFB3ADE3B6231460546BBF5B6051AD3B3ACC29F0F4C670828C44310F53B75797F6A91F4D633C861BFFA9190007AF0791D5D6870F690B29877B5031D2F9B9D9B75892F4A01417C9E7CCB87439BF49674999E98C1CF40575816F6C0D59216E52485718F9949ED557C65C91F380023C53EAB11D6296CC69EA0705B7DD537D4677720C306CE85F84E3480A035C41C53320157EFB128BD6C01E3AD40BC80A90949DB36E337F41D49AA2AA76BD019D3CC8E9DD686467A134AD64519A553B3E2782F2E35976B4CC6E81AB0D3D1249069ABCEFC696E3E4CFB024162DC07985D7E5CA74C27316B564CE198D8E0D11D718D3D2AC07F714DFFCF0203010001"
    End PackageFile
    End PackageFiles
    Begin Schedules
    Begin Schedule
    Name="BeforeVJSRDPInstall"
    Begin BeforePackage
    End BeforePackage
    End Schedule
    End Schedules
    Begin RelatedProducts
    Begin DependsOnProduct
    Code="Microsoft.Net.Framework.2.0"
    End DependsOnProduct
    End RelatedProducts
    End Package
    Begin Package
    Name="Microsoft Visual Studio 2005 Report Viewer"
    LicenseAgreement="EULA3"
    PackageCode="Microsoft.ReportViewer.8.0.en"
    Begin Commands
    Reboot="Defer"
    Begin Command
    PackageFile="ReportViewer\ReportViewer.exe"
    Arguments=" /q:a /c:"install /q /l""
    EstimatedInstalledBytes="5000000"
    EstimatedInstallSeconds="300"
    Begin InstallConditions
    Begin BypassIf
    Property="ReportViewerInstalled"
    Compare="ValueNotEqualTo"
    Value="0"
    End BypassIf
    Begin FailIf
    Property="AdminUser"
    Compare="ValueEqualTo"
    Value="false"
    Text="Administrator permissions are required to install Microsoft Visual Studio 2005 Report Viewer. Contact your administrator."
    End FailIf
    End InstallConditions
    Begin ExitCodes
    Begin ExitCode
    Value="0"
    Result="Success"
    End ExitCode
    Begin ExitCode
    Value="3010"
    Result="SuccessReboot"
    End ExitCode
    Begin ExitCode
    Value="4097"
    Result="Fail"
    Text="Administrator permissions are required to install Microsoft Visual Studio 2005 Report Viewer. Contact your administrator."
    End ExitCode
    Begin ExitCode
    Value="4098"
    Result="Fail"
    End ExitCode
    Begin ExitCode
    Value="4099"
    Result="Fail"
    Text="Due to an error with Windows Installer, the installation of Microsoft Visual Studio 2005 Report Viewer cannot proceed."
    End ExitCode
    Begin ExitCode
    Value="4101"
    Result="Fail"
    Text="Another instance of setup is already running. The running instance must complete before this setup can proceed."
    End ExitCode
    Begin ExitCode
    Value="4113"
    Result="Fail"
    Text="A beta version of Microsoft Visual Studio 2005 Report Viewer was detected on the computer. Uninstall any previous beta versions of Microsoft Visual Studio 2005 Report Viewer before continuing."
    End ExitCode
    Begin ExitCode
    Value="4115"
    Result="Fail"
    End ExitCode
    Begin ExitCode
    Value="4116"
    Result="Fail"
    End ExitCode
    Begin DefaultExitCode
    Result="Fail"
    FormatMessageFromSystem="true"
    Text="A failure occurred attempting to install Microsoft Visual Studio 2005 Report Viewer."
    End DefaultExitCode
    End ExitCodes
    End Command
    End Commands
    Begin InstallChecks
    Begin ExternalCheck
    Property="ReportViewerInstalled"
    PackageFile="ReportViewer\ReportViewerChk.exe"
    End ExternalCheck
    End InstallChecks
    Begin PackageFiles
    CopyAllPackageFiles="false"
    Begin PackageFile
    Name="ReportViewer\ReportViewer.exe"
    HomeSite="http://go.microsoft.com/fwlink/ LinkId=49981"
    PublicKey="3082010A0282010100CF38F7E1A4275EF8F0CCAACEFB3ADE3B6231460546BBF5B6051AD3B3ACC29F0F4C670828C44310F53B75797F6A91F4D633C861BFFA9190007AF0791D5D6870F690B29877B5031D2F9B9D9B75892F4A01417C9E7CCB87439BF49674999E98C1CF40575816F6C0D59216E52485718F9949ED557C65C91F380023C53EAB11D6296CC69EA0705B7DD537D4677720C306CE85F84E3480A035C41C53320157EFB128BD6C01E3AD40BC80A90949DB36E337F41D49AA2AA76BD019D3CC8E9DD686467A134AD64519A553B3E2782F2E35976B4CC6E81AB0D3D1249069ABCEFC696E3E4CFB024162DC07985D7E5CA74C27316B564CE198D8E0D11D718D3D2AC07F714DFFCF0203010001"
    Size="1921224"
    End PackageFile
    Begin PackageFile
    Name="ReportViewer\ReportViewerChk.exe"
    PublicKey="3082010A0282010100CF38F7E1A4275EF8F0CCAACEFB3ADE3B6231460546BBF5B6051AD3B3ACC29F0F4C670828C44310F53B75797F6A91F4D633C861BFFA9190007AF0791D5D6870F690B29877B5031D2F9B9D9B75892F4A01417C9E7CCB87439BF49674999E98C1CF40575816F6C0D59216E52485718F9949ED557C65C91F380023C53EAB11D6296CC69EA0705B7DD537D4677720C306CE85F84E3480A035C41C53320157EFB128BD6C01E3AD40BC80A90949DB36E337F41D49AA2AA76BD019D3CC8E9DD686467A134AD64519A553B3E2782F2E35976B4CC6E81AB0D3D1249069ABCEFC696E3E4CFB024162DC07985D7E5CA74C27316B564CE198D8E0D11D718D3D2AC07F714DFFCF0203010001"
    End PackageFile
    End PackageFiles
    Begin RelatedProducts
    Begin DependsOnProduct
    Code="Microsoft.Net.Framework.2.0"
    End DependsOnProduct
    End RelatedProducts
    End Package
    Begin Package
    Name="Visual C++ Runtime Libraries (x86)"
    PackageCode="Microsoft.Visual.C++.8.0.x86.en"
    Begin Commands
    Reboot="Defer"
    Begin Command
    PackageFile="vcredist_x86\vcredist_x86.exe"
    Arguments=" /q:a "
    Begin InstallConditions
    Begin BypassIf
    Property="VCRedistInstalled"
    Compare="ValueGreaterThanOrEqualTo"
    Value="3"
    End BypassIf
    Begin FailIf
    Property="AdminUser"
    Compare="ValueEqualTo"
    Value="false"
    Text="You do not have the permissions required to install Visual C++ Runtime Libraries (x86). Please contact your administrator."
    End FailIf
    Begin FailIf
    Property="Version9X"
    Compare="VersionLessThan"
    Value="4.10"
    Text="Installation of Visual C++ Runtime Libraries (x86) is not supported on Windows 95. Contact your application vendor."
    End FailIf
    Begin FailIf
    Property="VersionNT"
    Compare="VersionLessThan"
    Value="5.00"
    Text="Installation of Visual C++ Runtime Libraries (x86) is not supported on Windows NT 4.0. Contact your application vendor."
    End FailIf
    End InstallConditions
    Begin ExitCodes
    Begin ExitCode
    Value="0"
    Result="Success"
    End ExitCode
    Begin ExitCode
    Value="3010"
    Result="SuccessReboot"
    End ExitCode
    Begin DefaultExitCode
    Result="Fail"
    FormatMessageFromSystem="true"
    Text="A failure occurred attempting to install Visual C++ Runtime Libraries (x86)."
    End DefaultExitCode
    End ExitCodes
    End Command
    End Commands
    Begin InstallChecks
    Begin MsiProductCheck
    Property="VCRedistInstalled"
    Product="{A49F249F-0C91-497F-86DF-B2585E8E76B7}"
    End MsiProductCheck
    End InstallChecks
    Begin PackageFiles
    Begin PackageFile
    Name="vcredist_x86\vcredist_x86.exe"
    PublicKey="3082010A0282010100CF38F7E1A4275EF8F0CCAACEFB3ADE3B6231460546BBF5B6051AD3B3ACC29F0F4C670828C44310F53B75797F6A91F4D633C861BFFA9190007AF0791D5D6870F690B29877B5031D2F9B9D9B75892F4A01417C9E7CCB87439BF49674999E98C1CF40575816F6C0D59216E52485718F9949ED557C65C91F380023C53EAB11D6296CC69EA0705B7DD537D4677720C306CE85F84E3480A035C41C53320157EFB128BD6C01E3AD40BC80A90949DB36E337F41D49AA2AA76BD019D3CC8E9DD686467A134AD64519A553B3E2782F2E35976B4CC6E81AB0D3D1249069ABCEFC696E3E4CFB024162DC07985D7E5CA74C27316B564CE198D8E0D11D718D3D2AC07F714DFFCF0203010001"
    Size="2648768"
    End PackageFile
    End PackageFiles
    End Package
    Begin Package
    Name="Windows Installer 3.1"
    LicenseAgreement="EULA4"
    PackageCode="Microsoft.Windows.Installer.3.1.en"
    Begin Commands
    Reboot="Immediate"
    Begin Command
    PackageFile="WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe"
    Arguments="/quiet /norestart"
    EstimatedInstallSeconds="21"
    Begin InstallConditions
    Begin BypassIf
    Property="VersionMsi"
    Compare="VersionGreaterThanOrEqualTo"
    Value="3.1"
    End BypassIf
    Begin FailIf
    Property="Version9x"
    Compare="ValueExists"
    Text="Installation of Windows Installer 3.1 requires Windows 2000 Service Pack 3 or later. Contact your application vendor."
    End FailIf
    Begin FailIf
    Property="VersionNT"
    Compare="VersionLessThan"
    Value="5.0.3"
    Text="Installation of Windows Installer 3.1 requires Windows 2000 Service Pack 3 or later. Contact your application vendor."
    End FailIf
    Begin FailIf
    Property="ProcessorArchitecture"
    Compare="ValueNotEqualTo"
    Value="Intel"
    Text="Windows Installer 3.1 is not supported on a 64-bit operating system. Contact your application vendor."
    End FailIf
    Begin FailIf
    Property="AdminUser"
    Compare="ValueEqualTo"
    Value="false"
    Text="Administrator permissions are required to install Windows Installer 3.1. Contact your administrator."
    End FailIf
    End InstallConditions
    Begin ExitCodes
    Begin ExitCode
    Value="0"
    Result="Success"
    End ExitCode
    Begin ExitCode
    Value="1641"
    Result="SuccessReboot"
    End ExitCode
    Begin ExitCode
    Value="3010"
    Result="SuccessReboot"
    End ExitCode
    Begin DefaultExitCode
    Result="Fail"
    FormatMessageFromSystem="true"
    Text="A failure occurred attempting to install Windows Installer 3.1."
    End DefaultExitCode
    End ExitCodes
    End Command
    End Commands
    Begin PackageFiles
    CopyAllPackageFiles="false"
    Begin PackageFile
    Name="WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe"
    HomeSite="http://go.microsoft.com/fwlink/ LinkId=49256"
    PublicKey="3082010A0282010100CF38F7E1A4275EF8F0CCAACEFB3ADE3B6231460546BBF5B6051AD3B3ACC29F0F4C670828C44310F53B75797F6A91F4D633C861BFFA9190007AF0791D5D6870F690B29877B5031D2F9B9D9B75892F4A01417C9E7CCB87439BF49674999E98C1CF40575816F6C0D59216E52485718F9949ED557C65C91F380023C53EAB11D6296CC69EA0705B7DD537D4677720C306CE85F84E3480A035C41C53320157EFB128BD6C01E3AD40BC80A90949DB36E337F41D49AA2AA76BD019D3CC8E9DD686467A134AD64519A553B3E2782F2E35976B4CC6E81AB0D3D1249069ABCEFC696E3E4CFB024162DC07985D7E5CA74C27316B564CE198D8E0D11D718D3D2AC07F714DFFCF0203010001"
    Size="2585872"
    End PackageFile
    End PackageFiles
    End Package
    Begin Package
    Name="SQL Server 2005 Express Edition"
    LicenseAgreement="EULA5"
    PackageCode="Microsoft.Sql.Server.Express.1.0.en"
    Begin Commands
    Reboot="Defer"
    Begin Command
    PackageFile="SqlExpress\sqlexpr32.exe"
    Arguments="-q /norebootchk /qn reboot=ReallySuppress addlocal=all instancename=SQLEXPRESS SQLAUTOSTART=1"
    EstimatedInstalledBytes="225000000"
    EstimatedTempBytes="225000000"
    EstimatedInstallSeconds="420"
    Begin InstallConditions
    Begin BypassIf
    Property="SQLExpressInstalled"
    Compare="ValueEqualTo"
    Value="0"
    End BypassIf
    Begin BypassIf
    Property="VersionNT"
    Compare="VersionGreaterThanOrEqualTo"
    Value="5.1"
    End BypassIf
    Begin FailIf
    Property="AdminUser"
    Compare="ValueEqualTo"
    Value="false"
    Text="You do not have the permissions required to install SQL Server 2005 Express Edition. Please contact your administrator."
    End FailIf
    Begin FailIf
    Property="Version9x"
    Compare="ValueExists"
    Text="Windows 2000 or later is required to install SQL Server 2005 Express Edition."
    End FailIf
    Begin FailIf
    Property="VersionNT"
    Compare="VersionLessThan"
    Value="5.0.4"
    Text="Windows 2000 Service Pack 4 or later is required to install SQL Server 2005 Express Edition."
    End FailIf
    Begin FailIf
    Property="ProcessorArchitecture"
    Compare="ValueNotEqualTo"
    Value="Intel"
    Text="This version of SQL Server 2005 Express Edition is not supported for the current processor architecture."
    End FailIf
    End InstallConditions
    Begin ExitCodes
    Begin ExitCode
    Value="0"
    Result="Success"
    End ExitCode
    Begin ExitCode
    Value="1641"
    Result="SuccessReboot"
    End ExitCode
    Begin ExitCode
    Value="3010"
    Result="SuccessReboot"
    End ExitCode
    Begin ExitCode
    Value="50037"
    Result="Fail"
    Text="SQL Server 2005 Express Edition requires MSXML. Please ensure MSXML is installed properly."
    End ExitCode
    Begin ExitCode
    Value="50251"
    Result="Fail"
    Text="SQL Server 2005 Express Edition requires MSXML. Please ensure MSXML is installed properly."
    End ExitCode
    Begin ExitCode
    Value="50198"
    Result="Fail"
    End ExitCode
    Begin ExitCode
    Value="50236"
    Result="Fail"
    End ExitCode
    Begin ExitCode
    Value="50222"
    Result="Fail"
    Text="The current operating system does not meet Service Pack level requirements for SQL Server 2005 Express Edition. Install the most recent Service Pack from the Microsoft download center at http://www.microsoft.com/downloads before continuing setup."
    End ExitCode
    Begin ExitCode
    Value="70003"
    Result="Fail"
    Text="The current operating system does not meet Service Pack level requirements for SQL Server 2005 Express Edition. Install the most recent Service Pack from the Microsoft download center at http://www.microsoft.com/downloads before continuing setup."
    End ExitCode
    Begin ExitCode
    Value="50247"
    Result="Fail"
    Text="This version of SQL Server 2005 Express Edition requires Internet Explorer version 6.0 with SP1 or later. To proceed, install or upgrade to a required version of Internet Explorer and then run setup again."
    End ExitCode
    Begin ExitCode
    Value="50248"
    Result="Fail"
    Text="This version of SQL Server 2005 Express Edition requires Internet Explorer version 6.0 with SP1 or later. To proceed, install or upgrade to a required version of Internet Explorer and then run setup again."
    End ExitCode
    Begin ExitCode
    Value="70004"
    Result="Fail"
    Text="Another instance of setup is already running. The running instance must complete before this setup can proceed."
    End ExitCode
    Begin ExitCode
    Value="70032"
    Result="Fail"
    Text="A beta version of the .NET Framework 2.0 or SQL Server was detected on the computer. Uninstall any previous beta versions of SQL Server Yukon components, SQL Server Support Files, or .NET Framework 2.0 before continuing."
    End ExitCode
    Begin ExitCode
    Value="70033"
    Result="Fail"
    Text="This version of SQL Server 2005 Express Edition is not supported for the current processor architecture."
    End ExitCode
    Begin DefaultExitCode
    Result="Fail"
    FormatMessageFromSystem="true"
    Text="An error occurred attempting to install SQL Server 2005 Express Edition."
    End DefaultExitCode
    End ExitCodes
    End Command
    Begin Command
    PackageFile="SqlExpress\sqlexpr32.exe"
    Arguments="-q /norebootchk /qn reboot=ReallySuppress addlocal=all instancename=SQLEXPRESS SQLAUTOSTART=1"
    EstimatedInstalledBytes="225000000"
    EstimatedInstallSeconds="420"
    Begin InstallConditions
    Begin BypassIf
    Property="SQLExpressInstalled"
    Compare="ValueEqualTo"
    Value="0"
    End BypassIf
    Begin BypassIf
    Property="VersionNT"
    Compare="VersionLessThan"
    Value="5.1"
    End BypassIf
    Begin FailIf
    Property="AdminUser"
    Compare="ValueEqualTo"
    Value="false"
    Text="You do not have the permissions required to install SQL Server 2005 Express Edition. Please contact your administrator."
    End FailIf
    Begin FailIf
    Property="Version9x"
    Compare="ValueExists"
    Text="Windows XP Service Pack 2 or later is required to install SQL Server 2005 Express Edition."
    End FailIf
    Begin FailIf
    Property="VersionNT"
    Compare="VersionLessThan"
    Value="5.1.2"
    Text="Windows XP Service Pack 2 or later is required to install SQL Server 2005 Express Edition."
    End FailIf
    Begin FailIf
    Property="ProcessorArchitecture"
    Compare="ValueNotEqualTo"
    Value="Intel"
    Text="This version of SQL Server 2005 Express Edition is not supported for the current processor architecture."
    End FailIf
    End InstallConditions
    Begin ExitCodes
    Begin ExitCode
    Value="0"
    Result="Success"
    End ExitCode
    Begin ExitCode
    Value="1641"
    Result="SuccessReboot"
    End ExitCode
    Begin ExitCode
    Value="3010"
    Result="SuccessReboot"
    End ExitCode
    Begin ExitCode
    Value="50037"
    Result="Fail"
    Text="SQL Server 2005 Express Edition requires MSXML. Please ensure MSXML is installed properly."
    End ExitCode
    Begin ExitCode
    Value="50251"
    Result="Fail"
    Text="SQL Server 2005 Express Edition requires MSXML. Please ensure MSXML is installed properly."
    End ExitCode
    Begin ExitCode
    Value="50198"
    Result="Fail"
    End ExitCode
    Begin ExitCode
    Value="50236"
    Result="Fail"
    End ExitCode
    Begin ExitCode
    Value="50222"
    Result="Fail"
    Text="The current operating system does not meet Service Pack level requirements for SQL Server 2005 Express Edition. Install the most recent Service Pack from the Microsoft download center at http://www.microsoft.com/downloads before continuing setup."
    End ExitCode
    Begin ExitCode
    Value="70003"
    Result="Fail"
    Text="The current operating system does not meet Service Pack level requirements for SQL Server 2005 Express Edition. Install the most recent Service Pack from the Microsoft download center at http://www.microsoft.com/downloads before continuing setup."
    End ExitCode
    Begin ExitCode
    Value="50247"
    Result="Fail"
    Text="This version of SQL Server 2005 Express Edition requires Internet Explorer version 6.0 with SP1 or later. To proceed, install or upgrade to a required version of Internet Explorer and then run setup again."
    End ExitCode
    Begin ExitCode
    Value="50248"
    Result="Fail"
    Text="This version of SQL Server 2005 Express Edition requires Internet Explorer version 6.0 with SP1 or later. To proceed, install or upgrade to a required version of Internet Explorer and then run setup again."
    End ExitCode
    Begin ExitCode
    Value="70004"
    Result="Fail"
    Text="Another instance of setup is already running. The running instance must complete before this setup can proceed."
    End ExitCode
    Begin ExitCode
    Value="70032"
    Result="Fail"
    Text="A beta version of the .NET Framework 2.0 or SQL Server was detected on the computer. Uninstall any previous beta versions of SQL Server Yukon components, SQL Server Support Files, or .NET Framework 2.0 before continuing."
    End ExitCode
    Begin ExitCode
    Value="70033"
    Result="Fail"
    Text="This version of SQL Server 2005 Express Edition is not supported for the current processor architecture."
    End ExitCode
    Begin DefaultExitCode
    Result="Fail"
    FormatMessageFromSystem="true"
    Text="An error occurred attempting to install SQL Server 2005 Express Edition."
    End DefaultExitCode
    End ExitCodes
    End Command
    End Commands
    Begin InstallChecks
    Begin ExternalCheck
    Property="SQLExpressInstalled"
    PackageFile="SqlExpress\SqlExpressChk.exe"
    End ExternalCheck
    End InstallChecks
    Begin PackageFiles
    CopyAllPackageFiles="false"
    Begin PackageFile
    Name="SqlExpress\SqlExpressChk.exe"
    PublicKey="3082010A0282010100CF38F7E1A4275EF8F0CCAACEFB3ADE3B6231460546BBF5B6051AD3B3ACC29F0F4C670828C44310F53B75797F6A91F4D633C861BFFA9190007AF0791D5D6870F690B29877B5031D2F9B9D9B75892F4A01417C9E7CCB87439BF49674999E98C1CF40575816F6C0D59216E52485718F9949ED557C65C91F380023C53EAB11D6296CC69EA0705B7DD537D4677720C306CE85F84E3480A035C41C53320157EFB128BD6C01E3AD40BC80A90949DB36E337F41D49AA2AA76BD019D3CC8E9DD686467A134AD64519A553B3E2782F2E35976B4CC6E81AB0D3D1249069ABCEFC696E3E4CFB024162DC07985D7E5CA74C27316B564CE198D8E0D11D718D3D2AC07F714DFFCF0203010001"
    End PackageFile
    Begin PackageFile
    Name="SqlExpress\sqlexpr32.exe"
    HomeSite="http://go.microsoft.com/fwlink/ LinkId=37280&clcid=0x409"
    PublicKey="3082010A0282010100CF38F7E1A4275EF8F0CCAACEFB3ADE3B6231460546BBF5B6051AD3B3ACC29F0F4C670828C44310F53B75797F6A91F4D633C861BFFA9190007AF0791D5D6870F690B29877B5031D2F9B9D9B75892F4A01417C9E7CCB87439BF49674999E98C1CF40575816F6C0D59216E52485718F9949ED557C65C91F380023C53EAB11D6296CC69EA0705B7DD537D4677720C306CE85F84E3480A035C41C53320157EFB128BD6C01E3AD40BC80A90949DB36E337F41D49AA2AA76BD019D3CC8E9DD686467A134AD64519A553B3E2782F2E35976B4CC6E81AB0D3D1249069ABCEFC696E3E4CFB024162DC07985D7E5CA74C27316B564CE198D8E0D11D718D3D2AC07F714DFFCF0203010001"
    Size="36624088"
    End PackageFile
    End PackageFiles
    Begin RelatedProducts
    Begin DependsOnProduct
    Code="Microsoft.Net.Framework.2.0"
    End DependsOnProduct
    Begin DependsOnProduct
    Code="Microsoft.Windows.Installer.3.1"
    End DependsOnProduct
    End RelatedProducts
    End Package



  • Marzullo

    The Internal MSI file for the Office 2003 PIAs has a productcode of {91490409-6000-11D3-8CFE-0150048383C9}, so set up the bootstrap to check that this productcode guid is installed.

  • DavidDo

    Hi;

    I searched google (nothing) - I think I have the wrong format. I have tried all of the following:

    <BootstrapperItem Include="91490409-6000-11D3-8CFE-0150048383C9">
    <ProductName>Microsoft 2003 PIAs</ProductName>
    </BootstrapperItem>
    <BootstrapperItem Include="{91490409-6000-11D3-8CFE-0150048383C9}">
    <ProductName>Microsoft 2003 PIAs</ProductName>
    </BootstrapperItem>
    <BootstrapperFile Include="91490409-6000-11D3-8CFE-0150048383C9">
    <ProductName>Microsoft 2003 PIAs</ProductName>
    </BootstrapperFile>
    <BootstrapperFile Include="{91490409-6000-11D3-8CFE-0150048383C9}">
    <ProductName>Microsoft 2003 PIAs</ProductName>
    </BootstrapperFile>

    And in all cases, I have the PIAs removed from my system and it does not install them. What is the format And if this is documented somewhere, could you point me at it

    thanks - dave



  • osamaT

    BootstrapperItem I got from the MSBuild docs - and it does build with it so I assume it is useful for something.

    Unfortunately VS 2005 does not need any of the Office hotfixes or PIAs - and clearly error codes must be known to get those in. So I'm back to asking who knows what to puit for the Office pre-reqs

    thanks - dave



  • GenerateBootstrapper - Office PIAs