[WiX-users] Visual Studio Bootstrapper- define order of prerequisites to be installed

2010-07-23 Thread daniel.knoepfel
Hi

Our wix installer makes use of the visual studio 2008 bootstrapper 
functionality to install Windows Installer 3.1, .NET 3.5 SP1 and Crystal 
reports.

This used to work but suddenly there is an error when i start the setup on a 
clean machine. After aggreeing to the licence files of crystel reports and of 
the .NET framework (windows installer is already on the machine) it starts 
installing crystal reports but it fails.

In my opinion, the reason for this is the fact that crystal reports gets 
installed bevore the .NET framework, which is not the case. How can i ensure 
the order in which the prerequisites are installed?  I tried to change the 
crystal reports package so it depends on the .NET framework but with no success.

Parts of prerequisite package.file (product.xml) from crystal reports:

 DependsOnProduct Code=Microsoft.Net.Framework.3.5.SP1 /
  !--
 it actually depends on .Net 2.0 but this way we ensure .net framework is 
installed first
DependsOnProduct Code=Microsoft.Net.Framework.2.0 /
 --
  /RelatedProducts



Here is our visual studio project file:


ItemGroup

BootstrapperFile Include=Microsoft.Windows.Installer.3.1

ProductNameWindows Installer 3.1/ProductName

/BootstrapperFile

BootstrapperFile Include=Microsoft.Net.Framework.3.5.SP1

ProductName.NET Framework 3.5 SP1/ProductName

/BootstrapperFile

BootstrapperFile Include=BusinessObjects.CrystalReports.10.5

ProductNameCrystal Reports/ProductName

/BootstrapperFile

/ItemGroup

Target Name=AfterBuild

GenerateBootstrapper ApplicationFile=Msi\InstallerCaller.msi 
ApplicationName=Calibrate BootstrapperItems=@(BootstrapperFile) 
ComponentsLocation=Relative CopyComponents=True 
OutputPath=bin\$(Configuration)\ Path=$(ProjectDir)\Prerequisites 
Culture=de-de FallbackCulture=en-us

/GenerateBootstrapper

!--
--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Visual Studio Bootstrapper- define order of prerequisites to be installed

2010-07-23 Thread John Bergman
Have you installed the windows sdk?

One thing we did was take all of the files for the prereq's and check them into 
source control... it made it a lot more reliable to reference that,rather than 
the SDK (which, gets installed inconsistently in my opinion because I had to 
install 6.0a, 7.0 and 7.1 to get all the prereqs we needed until I moved them 
into version control.

-Original Message-
From: daniel.knoep...@noser.com [mailto:daniel.knoep...@noser.com] 
Sent: Friday, July 23, 2010 3:34 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Visual Studio Bootstrapper- define order of prerequisites 
to be installed

Hi

Our wix installer makes use of the visual studio 2008 bootstrapper 
functionality to install Windows Installer 3.1, .NET 3.5 SP1 and Crystal 
reports.

This used to work but suddenly there is an error when i start the setup on a 
clean machine. After aggreeing to the licence files of crystel reports and of 
the .NET framework (windows installer is already on the machine) it starts 
installing crystal reports but it fails.

In my opinion, the reason for this is the fact that crystal reports gets 
installed bevore the .NET framework, which is not the case. How can i ensure 
the order in which the prerequisites are installed?  I tried to change the 
crystal reports package so it depends on the .NET framework but with no success.

Parts of prerequisite package.file (product.xml) from crystal reports:

 DependsOnProduct Code=Microsoft.Net.Framework.3.5.SP1 /
  !--
 it actually depends on .Net 2.0 but this way we ensure .net framework is 
installed first
DependsOnProduct Code=Microsoft.Net.Framework.2.0 /  --
  /RelatedProducts



Here is our visual studio project file:


ItemGroup

BootstrapperFile Include=Microsoft.Windows.Installer.3.1

ProductNameWindows Installer 3.1/ProductName

/BootstrapperFile

BootstrapperFile Include=Microsoft.Net.Framework.3.5.SP1

ProductName.NET Framework 3.5 SP1/ProductName

/BootstrapperFile

BootstrapperFile Include=BusinessObjects.CrystalReports.10.5

ProductNameCrystal Reports/ProductName

/BootstrapperFile

/ItemGroup

Target Name=AfterBuild

GenerateBootstrapper ApplicationFile=Msi\InstallerCaller.msi 
ApplicationName=Calibrate BootstrapperItems=@(BootstrapperFile) 
ComponentsLocation=Relative CopyComponents=True 
OutputPath=bin\$(Configuration)\ Path=$(ProjectDir)\Prerequisites 
Culture=de-de FallbackCulture=en-us

/GenerateBootstrapper

!--
--
This SF.net email is sponsored by Sprint What will you do first with EVO, the 
first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users