Hi, At first glance for me the two files product and pacack.xml seem to have the wrong content.
As you describe your requirements have a look at SQL Server Compact Edition Prerequisite as it has a similar structure and the intention to install MSI packages. Pleaase therefore diff the whole folder (esp. the content of product.xml and package.xml) C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages\YourPackage against C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages\SQL Server Compact Edition Regards, Tobias 2011/3/25 Paul Brook <brook.p...@gmail.com>: > Hi all, > > I am attempting to build a bootstrapper for my wix installer in order > install another program our customer wants deployed along with ours. I've > been given the .msi file. > > Here's the error / warning I'm getting: > warning MSB3155: Item 'Network.Configurator' could not be located in > 'C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\'. > > Also - when I run the setup.exe that is created along with my main .msi file > it doesn't run the SetupNetConfig.msi file. > > Any help would be appreciated > > Paul > > What I have done so far is this. > > 1. created a folder called NetworkConfigurator for the installer in: > > C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages\ > > 2. copied the .msi file into the new folder > 3. created the product.xml in the new folder: Here it is. > > <?xml version="1.0" encoding="utf-8" ?> > <Product > xmlns="http://schemas.microsoft.com/developer/2004/01/bootstrapper" > ProductCode="Network.Configurator"> > > <!-- Defines list of files to be copied on build --> > <PackageFiles CopyAllPackageFiles="true"> > <PackageFile Name="SetupNetConfig.msi"/> > </PackageFiles> > > <RelatedProducts> > <DependsOnProduct Code="Microsoft.Windows.Installer.3.1" /> > </RelatedProducts> > > <ExitCodes> > <ExitCode Value="0" Result="Success"/> > <ExitCode Value="1641" Result="SuccessReboot"/> > <ExitCode Value="3010" Result="SuccessReboot"/> > <DefaultExitCode Result="Fail" String="GeneralFailure"/> > </ExitCodes> > > </Product> > > > 4. created the EN folder > 5. created the package.xml file in the EN folder > > <?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">Network.Configurator</String> > <String Name="Culture">en</String> > <String Name="NotAnAdmin">You must be an administrator to install this > package.</String> > <String Name="GeneralFailure">A general error has occurred while > installing this package.</String> > </Strings> > </Package> > > 6. Added the following to the wixproj file > > <ItemGroup> > <BootstrapperFile Include="Network.Configurator"> > <ProductName>Network.Configurator</ProductName> > </BootstrapperFile> > <BootstrapperFile Include="Microsoft.Windows.Installer.3.1"> > <ProductName>Windows Installer 3.1</ProductName> > </BootstrapperFile> > </ItemGroup> > <Target Name="AfterBuild" Outputs="$(Outdir)\Setup.exe"> > <GenerateBootstrapper ApplicationFile="$(TargetFileName)" > ApplicationName="Network Configurator" > BootstrapperItems="@(BootstrapperFile)" ComponentsLocation="Relative" > CopyComponents="True" OutputPath="$(OutputPath)" Path="C:\Program Files > (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\" /> > </Target> > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users