Re: [WiX-users] Std Bootstrapper failed: Error 0x800b010a

2011-07-28 Thread Thomas . Deboben
Hi,

I've tried now to install on a real system without internet connection and 
not having the signatures of the PostgreSQL setup installed before.

But the bootstrapper failed to launch the nested setup as well, but have a 
different error number (0x80096005).

[0640:12D0][2011-07-28T09:45:09.734+01:00]: Error 0x80096005: Failed 
authenticode verification of payload: 
C:\DOKUME~1\tdeboben.MRR\LOKALE~1\Temp\postgresql_9.0.4_1_windows.exe
[0640:12D0][2011-07-28T09:45:09.734+01:00]: Error 0x80096005: Failed to 
verify payload signature: C:\Dokumente und 
Einstellungen\tdeboben.MRR\Lokale Einstellungen\Anwendungsdaten\Package 
Cache\154C214AB639BFA3EBE23615D208EFBD391056E1\postgresql-9.0.4-1-windows.exe
[0640:12D0][2011-07-28T09:45:09.734+01:00]: Error 0x80096005: Failed to 
layout or cache payload.
[0640:12D0][2011-07-28T09:45:09.734+01:00]: Error 0x80096005: Failed to 
cache per-user payload.
[0640:12D0][2011-07-28T09:45:09.734+01:00]: Error 0x80096005: Failed to 
cache packages.
[0640:0C0C][2011-07-28T09:45:09.828+01:00]: Error 0x80096005: Failed while 
waiting for cache thread to complete before executing.

When I try to launch postgresql_9.0.4_1_windows.exe manualy I get a 
security warning about an unknown publisher and that the system could not 
validate the signature.
In this dialog I could choose if I will abort or launch the installation.

I will open a bug as requested (need to check how to do).

Many thanks so far,
  Thomas




Von:Rob Mensching r...@robmensching.com
An: General discussion for Windows Installer XML toolset. 
wix-users@lists.sourceforge.net
Datum:  22.07.2011 18:26
Betreff:Re: [WiX-users] Std Bootstrapper failed: Error 0x800b010a



Hmm, this is supposed to work, Thomas. Can you open a bug with as much
detail as possible. I think it basically comes down to getting the right
flags passed to WinVerifyTrust(), which is unfortunately no easy task.
On Fri, Jul 22, 2011 at 3:35 AM, Tobias S tobias.s1...@gmail.com wrote:

 Hi Thomas,

 Give it a try on that real restricted testsystem or some other system
 without internet connection. Assume that this system migth behave
 different than a VM. We had such experience when using VMs in our
 testing environment where the certificates could not correctly be
 updated.

 My interpretation here was (sorry not very technical description): On
 the real systems without internet connection this certificate
 mechanism seemed to know that it could not update and didn't try to.
 On the VMs the certificate mechanism didn't know whether being on or
 offline and tried to but couldn't and so such strange behaviors
 appeared.

 Regards
 Tobias


 2011/7/22  thomas.debo...@rohde-schwarz.com:
  Hi Tobias,
 
  thanks for your hints.
  But the real problem is not VMWare.
  Our real target system will be restricted testsystem without internet
  connection.
 
  So I really need a way to launch the bootstrapper on a system without
  internet connection.
 
  Cheers,
   Thomas
 
 
 
  Tobias S tobias.s1...@gmail.com
  22.07.2011 11:40
  Bitte antworten an
  General discussion for Windows Installer XML toolset.
  wix-users@lists.sourceforge.net
 
 
  An
  General discussion for Windows Installer XML toolset.
  wix-users@lists.sourceforge.net
  Kopie
 
  Thema
  Re: [WiX-users] Std Bootstrapper failed: Error 0x800b010a
 
 
 
 
 
 
  VMWares seem to be somehow tricky regarding retrieving the revocation
  lists to verify the signatures. If your company policies allow does it
  work if you connect the VM directly to the internet ? Did you try
  different settings for Network Adapter like Host-only + Connect at
  power on disabled ? Ipconfig /release on console ? Just some
  thoughts...
 
  Did you try to sign the exe with a test certificate and deploy these
  testing certificates to that VM ? Sorry I'm not so common with such
  certificates but in my understanding this should make the testing
  certificate valid on that VM.
 
  Regards
  Tobias
 
  2011/7/22  thomas.debo...@rohde-schwarz.com:
  Hi Rob,
 
  yes, the exe is signed, but I run the bootstrapper on a VMWare image
  without a connection to the internet :-(
 
  I have run it now on my host system and the bootstrapper was able to
  launch the chained installer (signature is valid and trusted).
 
  Is there a way to launch it on a system without internet connection?
 
  Thanks,
   Thomas
 
 
 
  Rob Mensching r...@robmensching.com
  21.07.2011 17:18
  Bitte antworten an
  General discussion for Windows Installer XML toolset.
  wix-users@lists.sourceforge.net
 
 
  An
  General discussion for Windows Installer XML toolset.
  wix-users@lists.sourceforge.net
  Kopie
 
  Thema
  Re: [WiX-users] Std Bootstrapper failed: Error 0x800b010a
 
 
 
 
 
 
  0x800B010A == A certificate chain could not be built to a trusted 
root
  authority. Is the exe signed? Is the signature valid and trusted on 
the
  machine?
 
  On Thu, Jul 21, 2011 at 2:48 AM, thomas.debo...@rohde-schwarz.com
  wrote:
 
  Hello,
 
  I'm

Re: [WiX-users] Std Bootstrapper failed: Error 0x800b010a

2011-07-28 Thread Tobias S
issues can be opened at
http://sourceforge.net/tracker/?group_id=105970atid=642714 (or link
on http://wix.sourceforge.net/ right hand side below Support). Then a
registration at sourceforge is necessary and you can report a bug...


2011/7/28  thomas.debo...@rohde-schwarz.com:
 Hi,

 I've tried now to install on a real system without internet connection and
 not having the signatures of the PostgreSQL setup installed before.

 But the bootstrapper failed to launch the nested setup as well, but have a
 different error number (0x80096005).

 [0640:12D0][2011-07-28T09:45:09.734+01:00]: Error 0x80096005: Failed
 authenticode verification of payload:
 C:\DOKUME~1\tdeboben.MRR\LOKALE~1\Temp\postgresql_9.0.4_1_windows.exe
 [0640:12D0][2011-07-28T09:45:09.734+01:00]: Error 0x80096005: Failed to
 verify payload signature: C:\Dokumente und
 Einstellungen\tdeboben.MRR\Lokale Einstellungen\Anwendungsdaten\Package
 Cache\154C214AB639BFA3EBE23615D208EFBD391056E1\postgresql-9.0.4-1-windows.exe
 [0640:12D0][2011-07-28T09:45:09.734+01:00]: Error 0x80096005: Failed to
 layout or cache payload.
 [0640:12D0][2011-07-28T09:45:09.734+01:00]: Error 0x80096005: Failed to
 cache per-user payload.
 [0640:12D0][2011-07-28T09:45:09.734+01:00]: Error 0x80096005: Failed to
 cache packages.
 [0640:0C0C][2011-07-28T09:45:09.828+01:00]: Error 0x80096005: Failed while
 waiting for cache thread to complete before executing.

 When I try to launch postgresql_9.0.4_1_windows.exe manualy I get a
 security warning about an unknown publisher and that the system could not
 validate the signature.
 In this dialog I could choose if I will abort or launch the installation.

 I will open a bug as requested (need to check how to do).

 Many thanks so far,
  Thomas




 Von:    Rob Mensching r...@robmensching.com
 An:     General discussion for Windows Installer XML toolset.
 wix-users@lists.sourceforge.net
 Datum:  22.07.2011 18:26
 Betreff:        Re: [WiX-users] Std Bootstrapper failed: Error 0x800b010a



 Hmm, this is supposed to work, Thomas. Can you open a bug with as much
 detail as possible. I think it basically comes down to getting the right
 flags passed to WinVerifyTrust(), which is unfortunately no easy task.
 On Fri, Jul 22, 2011 at 3:35 AM, Tobias S tobias.s1...@gmail.com wrote:

 Hi Thomas,

 Give it a try on that real restricted testsystem or some other system
 without internet connection. Assume that this system migth behave
 different than a VM. We had such experience when using VMs in our
 testing environment where the certificates could not correctly be
 updated.

 My interpretation here was (sorry not very technical description): On
 the real systems without internet connection this certificate
 mechanism seemed to know that it could not update and didn't try to.
 On the VMs the certificate mechanism didn't know whether being on or
 offline and tried to but couldn't and so such strange behaviors
 appeared.

 Regards
 Tobias


 2011/7/22  thomas.debo...@rohde-schwarz.com:
  Hi Tobias,
 
  thanks for your hints.
  But the real problem is not VMWare.
  Our real target system will be restricted testsystem without internet
  connection.
 
  So I really need a way to launch the bootstrapper on a system without
  internet connection.
 
  Cheers,
   Thomas
 
 
 
  Tobias S tobias.s1...@gmail.com
  22.07.2011 11:40
  Bitte antworten an
  General discussion for Windows Installer XML toolset.
  wix-users@lists.sourceforge.net
 
 
  An
  General discussion for Windows Installer XML toolset.
  wix-users@lists.sourceforge.net
  Kopie
 
  Thema
  Re: [WiX-users] Std Bootstrapper failed: Error 0x800b010a
 
 
 
 
 
 
  VMWares seem to be somehow tricky regarding retrieving the revocation
  lists to verify the signatures. If your company policies allow does it
  work if you connect the VM directly to the internet ? Did you try
  different settings for Network Adapter like Host-only + Connect at
  power on disabled ? Ipconfig /release on console ? Just some
  thoughts...
 
  Did you try to sign the exe with a test certificate and deploy these
  testing certificates to that VM ? Sorry I'm not so common with such
  certificates but in my understanding this should make the testing
  certificate valid on that VM.
 
  Regards
  Tobias
 
  2011/7/22  thomas.debo...@rohde-schwarz.com:
  Hi Rob,
 
  yes, the exe is signed, but I run the bootstrapper on a VMWare image
  without a connection to the internet :-(
 
  I have run it now on my host system and the bootstrapper was able to
  launch the chained installer (signature is valid and trusted).
 
  Is there a way to launch it on a system without internet connection?
 
  Thanks,
   Thomas
 
 
 
  Rob Mensching r...@robmensching.com
  21.07.2011 17:18
  Bitte antworten an
  General discussion for Windows Installer XML toolset.
  wix-users@lists.sourceforge.net
 
 
  An
  General discussion for Windows Installer XML toolset.
  wix-users@lists.sourceforge.net
  Kopie
 
  Thema
  Re: [WiX-users] Std

Re: [WiX-users] Std Bootstrapper failed: Error 0x800b010a

2011-07-22 Thread Thomas . Deboben
Hi Rob,

yes, the exe is signed, but I run the bootstrapper on a VMWare image 
without a connection to the internet :-(

I have run it now on my host system and the bootstrapper was able to 
launch the chained installer (signature is valid and trusted).

Is there a way to launch it on a system without internet connection?

Thanks,
  Thomas



Rob Mensching r...@robmensching.com 
21.07.2011 17:18
Bitte antworten an
General discussion for Windows Installer XML toolset. 
wix-users@lists.sourceforge.net


An
General discussion for Windows Installer XML toolset. 
wix-users@lists.sourceforge.net
Kopie

Thema
Re: [WiX-users] Std Bootstrapper failed: Error 0x800b010a






0x800B010A == A certificate chain could not be built to a trusted root
authority. Is the exe signed? Is the signature valid and trusted on the
machine?

On Thu, Jul 21, 2011 at 2:48 AM, thomas.debo...@rohde-schwarz.com wrote:

 Hello,

 I'm a new WiX-user and just try to build a bootstrapper to customize a
 PostgreSQL installation.
 I use WIX 3.6.1915.0 in VS2010.

 I've added two ExePackages into a chain (64bit and 32bit package).
 Later I will pass additional parameters to these packages given from
 custom dialogs.

 ?xml version=1.0 encoding=UTF-8?
 Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
  Bundle Name=PostgreSQL_Bootstrapper
  Manufacturer=Thomas Deboben
  UpgradeCode=5ba5b32d-01d0-49b5-a683-1f24e09216af
  Version=1.0.0.0

BootstrapperApplicationRef Id=
 WixStandardBootstrapperApplication.RtfLicense /
WixVariable Id=WixStdbaLicenseRtf Value=lic\license.rtf /
WixVariable Id=WixStdbaLogo Value=img\logo.bmp /

Chain
  !-- TODO: Define the list of chained packages. --
  ExePackage SourceFile=pkg\postgresql-9.0.4-1-windows_x64.exe
  InstallCommand=--mode unattended --datadir C:\PGData
  InstallCondition=VersionNT64 = v5.1
  /
  ExePackage SourceFile=pkg\postgresql-9.0.4-1-windows.exe
  InstallCommand=--mode unattended --datadir C:\PGData
  InstallCondition=NOT VersionNT64 AND VersionNT = 
v5.0
 /

  !-- Note: The following PackageGroupRef is required to pull in
 generated authoring from project references. --
  PackageGroupRef Id=Bundle.Generated.Packages/
/Chain

  /Bundle
 /Wix

 The build succeeded with one warning (Warning   1   Unable to reset
 acls on destination files.  light.exe   0   1 
Bootstrapper1).

 When I launch the Bootstrapper executable I get the Error 0x800b010a 
when
 the nested installer should be executed.

 What have I done wrong?

 Thanks in advance,
  Thomas

 Here is the full log:
 [01B4:05BC][2011-07-21T09:23:22.373+01:00]: Burn v3.6.1915.0, path:
 Z:\ddrive\Transfer\PostgreSQL\PostgreSQL_Bootstrapper2.exe, cmdline: ''
 [01B4:05BC][2011-07-21T09:23:22.389+01:00]: Setting string variable
 'BundleTag' to value ''
 [01B4:05BC][2011-07-21T09:23:22.389+01:00]: Setting string variable
 'WixBundleName' to value 'PostgreSQL_Bootstrapper'
 [01B4:05BC][2011-07-21T09:23:22.404+01:00]: Setting string variable
 'WixBundleLog' to value

 
'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\PostgreSQL_Bootstrapper_20110721092322.log'
 [01B4:05BC][2011-07-21T09:23:22.404+01:00]: Setting string variable
 'WixBundleOriginalSource' to value
 'Z:\ddrive\Transfer\PostgreSQL\PostgreSQL_Bootstrapper2.exe'
 [01B4:05BC][2011-07-21T09:23:22.451+01:00]: Detect 2 packages
 [01B4:05BC][2011-07-21T09:23:22.451+01:00]: Detected package:
 postgresql_9.0.4_1_windows_x64.exe, state: Absent, cached: No
 [01B4:05BC][2011-07-21T09:23:22.451+01:00]: Detected package:
 postgresql_9.0.4_1_windows.exe, state: Absent, cached: No
 [01B4:05BC][2011-07-21T09:23:22.451+01:00]: Detect complete, result: 0x0
 [01B4:05BC][2011-07-21T09:23:24.295+01:00]: Plan 2 packages, action:
 Install
 [01B4:05BC][2011-07-21T09:23:24.295+01:00]: Condition 'VersionNT64 AND
 VersionNT = v5.0' evaluates to false.
 [01B4:05BC][2011-07-21T09:23:24.295+01:00]: Planned package:
 postgresql_9.0.4_1_windows_x64.exe, state: Absent, default requested:
 Absent, ux requested: Absent, execute: None, rollback: None, cache: No,
 uncache: No, dependency: Unregister
 [01B4:05BC][2011-07-21T09:23:24.295+01:00]: Condition 'NOT VersionNT64 
AND
 VersionNT = v5.0' evaluates to true.
 [01B4:05BC][2011-07-21T09:23:24.295+01:00]: Setting string variable
 'WixBundleLog_postgresql_9.0.4_1_windows.exe' to value

 
'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\PostgreSQL_Bootstrapper_20110721092322_0_postgresql_9.0.4_1_windows.exe.log'
 [01B4:05BC][2011-07-21T09:23:24.295+01:00]: Setting string variable
 'WixBundleRollbackLog_postgresql_9.0.4_1_windows.exe' to value

 
'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\PostgreSQL_Bootstrapper_20110721092322_0_postgresql_9.0.4_1_windows.exe_rollback.log'
 [01B4:05BC][2011-07-21T09:23:24.295+01:00]: Planned package:
 postgresql_9.0.4_1_windows.exe, state: Absent, default requested: 
Present,
 ux requested: Present

Re: [WiX-users] Std Bootstrapper failed: Error 0x800b010a

2011-07-22 Thread Tobias S
VMWares seem to be somehow tricky regarding retrieving the revocation
lists to verify the signatures. If your company policies allow does it
work if you connect the VM directly to the internet ? Did you try
different settings for Network Adapter like Host-only + Connect at
power on disabled ? Ipconfig /release on console ? Just some
thoughts...

Did you try to sign the exe with a test certificate and deploy these
testing certificates to that VM ? Sorry I'm not so common with such
certificates but in my understanding this should make the testing
certificate valid on that VM.

Regards
Tobias

2011/7/22  thomas.debo...@rohde-schwarz.com:
 Hi Rob,

 yes, the exe is signed, but I run the bootstrapper on a VMWare image
 without a connection to the internet :-(

 I have run it now on my host system and the bootstrapper was able to
 launch the chained installer (signature is valid and trusted).

 Is there a way to launch it on a system without internet connection?

 Thanks,
  Thomas



 Rob Mensching r...@robmensching.com
 21.07.2011 17:18
 Bitte antworten an
 General discussion for Windows Installer XML toolset.
 wix-users@lists.sourceforge.net


 An
 General discussion for Windows Installer XML toolset.
 wix-users@lists.sourceforge.net
 Kopie

 Thema
 Re: [WiX-users] Std Bootstrapper failed: Error 0x800b010a






 0x800B010A == A certificate chain could not be built to a trusted root
 authority. Is the exe signed? Is the signature valid and trusted on the
 machine?

 On Thu, Jul 21, 2011 at 2:48 AM, thomas.debo...@rohde-schwarz.com wrote:

 Hello,

 I'm a new WiX-user and just try to build a bootstrapper to customize a
 PostgreSQL installation.
 I use WIX 3.6.1915.0 in VS2010.

 I've added two ExePackages into a chain (64bit and 32bit package).
 Later I will pass additional parameters to these packages given from
 custom dialogs.

 ?xml version=1.0 encoding=UTF-8?
 Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
  Bundle Name=PostgreSQL_Bootstrapper
          Manufacturer=Thomas Deboben
          UpgradeCode=5ba5b32d-01d0-49b5-a683-1f24e09216af
          Version=1.0.0.0

    BootstrapperApplicationRef Id=
 WixStandardBootstrapperApplication.RtfLicense /
    WixVariable Id=WixStdbaLicenseRtf Value=lic\license.rtf /
    WixVariable Id=WixStdbaLogo Value=img\logo.bmp /

    Chain
      !-- TODO: Define the list of chained packages. --
      ExePackage SourceFile=pkg\postgresql-9.0.4-1-windows_x64.exe
                  InstallCommand=--mode unattended --datadir C:\PGData
                  InstallCondition=VersionNT64 = v5.1
                  /
      ExePackage SourceFile=pkg\postgresql-9.0.4-1-windows.exe
                  InstallCommand=--mode unattended --datadir C:\PGData
                  InstallCondition=NOT VersionNT64 AND VersionNT =
 v5.0
                 /

      !-- Note: The following PackageGroupRef is required to pull in
 generated authoring from project references. --
      PackageGroupRef Id=Bundle.Generated.Packages/
    /Chain

  /Bundle
 /Wix

 The build succeeded with one warning (Warning   1       Unable to reset
 acls on destination files.      light.exe       0       1
 Bootstrapper1).

 When I launch the Bootstrapper executable I get the Error 0x800b010a
 when
 the nested installer should be executed.

 What have I done wrong?

 Thanks in advance,
  Thomas

 Here is the full log:
 [01B4:05BC][2011-07-21T09:23:22.373+01:00]: Burn v3.6.1915.0, path:
 Z:\ddrive\Transfer\PostgreSQL\PostgreSQL_Bootstrapper2.exe, cmdline: ''
 [01B4:05BC][2011-07-21T09:23:22.389+01:00]: Setting string variable
 'BundleTag' to value ''
 [01B4:05BC][2011-07-21T09:23:22.389+01:00]: Setting string variable
 'WixBundleName' to value 'PostgreSQL_Bootstrapper'
 [01B4:05BC][2011-07-21T09:23:22.404+01:00]: Setting string variable
 'WixBundleLog' to value


 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\PostgreSQL_Bootstrapper_20110721092322.log'
 [01B4:05BC][2011-07-21T09:23:22.404+01:00]: Setting string variable
 'WixBundleOriginalSource' to value
 'Z:\ddrive\Transfer\PostgreSQL\PostgreSQL_Bootstrapper2.exe'
 [01B4:05BC][2011-07-21T09:23:22.451+01:00]: Detect 2 packages
 [01B4:05BC][2011-07-21T09:23:22.451+01:00]: Detected package:
 postgresql_9.0.4_1_windows_x64.exe, state: Absent, cached: No
 [01B4:05BC][2011-07-21T09:23:22.451+01:00]: Detected package:
 postgresql_9.0.4_1_windows.exe, state: Absent, cached: No
 [01B4:05BC][2011-07-21T09:23:22.451+01:00]: Detect complete, result: 0x0
 [01B4:05BC][2011-07-21T09:23:24.295+01:00]: Plan 2 packages, action:
 Install
 [01B4:05BC][2011-07-21T09:23:24.295+01:00]: Condition 'VersionNT64 AND
 VersionNT = v5.0' evaluates to false.
 [01B4:05BC][2011-07-21T09:23:24.295+01:00]: Planned package:
 postgresql_9.0.4_1_windows_x64.exe, state: Absent, default requested:
 Absent, ux requested: Absent, execute: None, rollback: None, cache: No,
 uncache: No, dependency: Unregister
 [01B4:05BC][2011-07-21T09:23:24.295+01:00]: Condition 'NOT VersionNT64
 AND
 VersionNT = v5.0' evaluates to true

Re: [WiX-users] Std Bootstrapper failed: Error 0x800b010a

2011-07-22 Thread Thomas . Deboben
Hi Tobias,

thanks for your hints.
But the real problem is not VMWare.
Our real target system will be restricted testsystem without internet 
connection.

So I really need a way to launch the bootstrapper on a system without 
internet connection.

Cheers,
  Thomas



Tobias S tobias.s1...@gmail.com 
22.07.2011 11:40
Bitte antworten an
General discussion for Windows Installer XML toolset. 
wix-users@lists.sourceforge.net


An
General discussion for Windows Installer XML toolset. 
wix-users@lists.sourceforge.net
Kopie

Thema
Re: [WiX-users] Std Bootstrapper failed: Error 0x800b010a






VMWares seem to be somehow tricky regarding retrieving the revocation
lists to verify the signatures. If your company policies allow does it
work if you connect the VM directly to the internet ? Did you try
different settings for Network Adapter like Host-only + Connect at
power on disabled ? Ipconfig /release on console ? Just some
thoughts...

Did you try to sign the exe with a test certificate and deploy these
testing certificates to that VM ? Sorry I'm not so common with such
certificates but in my understanding this should make the testing
certificate valid on that VM.

Regards
Tobias

2011/7/22  thomas.debo...@rohde-schwarz.com:
 Hi Rob,

 yes, the exe is signed, but I run the bootstrapper on a VMWare image
 without a connection to the internet :-(

 I have run it now on my host system and the bootstrapper was able to
 launch the chained installer (signature is valid and trusted).

 Is there a way to launch it on a system without internet connection?

 Thanks,
  Thomas



 Rob Mensching r...@robmensching.com
 21.07.2011 17:18
 Bitte antworten an
 General discussion for Windows Installer XML toolset.
 wix-users@lists.sourceforge.net


 An
 General discussion for Windows Installer XML toolset.
 wix-users@lists.sourceforge.net
 Kopie

 Thema
 Re: [WiX-users] Std Bootstrapper failed: Error 0x800b010a






 0x800B010A == A certificate chain could not be built to a trusted root
 authority. Is the exe signed? Is the signature valid and trusted on the
 machine?

 On Thu, Jul 21, 2011 at 2:48 AM, thomas.debo...@rohde-schwarz.com 
wrote:

 Hello,

 I'm a new WiX-user and just try to build a bootstrapper to customize a
 PostgreSQL installation.
 I use WIX 3.6.1915.0 in VS2010.

 I've added two ExePackages into a chain (64bit and 32bit package).
 Later I will pass additional parameters to these packages given from
 custom dialogs.

 ?xml version=1.0 encoding=UTF-8?
 Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
  Bundle Name=PostgreSQL_Bootstrapper
  Manufacturer=Thomas Deboben
  UpgradeCode=5ba5b32d-01d0-49b5-a683-1f24e09216af
  Version=1.0.0.0

BootstrapperApplicationRef Id=
 WixStandardBootstrapperApplication.RtfLicense /
WixVariable Id=WixStdbaLicenseRtf Value=lic\license.rtf /
WixVariable Id=WixStdbaLogo Value=img\logo.bmp /

Chain
  !-- TODO: Define the list of chained packages. --
  ExePackage SourceFile=pkg\postgresql-9.0.4-1-windows_x64.exe
  InstallCommand=--mode unattended --datadir C:\PGData
  InstallCondition=VersionNT64 = v5.1
  /
  ExePackage SourceFile=pkg\postgresql-9.0.4-1-windows.exe
  InstallCommand=--mode unattended --datadir C:\PGData
  InstallCondition=NOT VersionNT64 AND VersionNT =
 v5.0
 /

  !-- Note: The following PackageGroupRef is required to pull in
 generated authoring from project references. --
  PackageGroupRef Id=Bundle.Generated.Packages/
/Chain

  /Bundle
 /Wix

 The build succeeded with one warning (Warning   1   Unable to reset
 acls on destination files.  light.exe   0   1
 Bootstrapper1).

 When I launch the Bootstrapper executable I get the Error 0x800b010a
 when
 the nested installer should be executed.

 What have I done wrong?

 Thanks in advance,
  Thomas

 Here is the full log:
 [01B4:05BC][2011-07-21T09:23:22.373+01:00]: Burn v3.6.1915.0, path:
 Z:\ddrive\Transfer\PostgreSQL\PostgreSQL_Bootstrapper2.exe, cmdline: ''
 [01B4:05BC][2011-07-21T09:23:22.389+01:00]: Setting string variable
 'BundleTag' to value ''
 [01B4:05BC][2011-07-21T09:23:22.389+01:00]: Setting string variable
 'WixBundleName' to value 'PostgreSQL_Bootstrapper'
 [01B4:05BC][2011-07-21T09:23:22.404+01:00]: Setting string variable
 'WixBundleLog' to value


 
'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\PostgreSQL_Bootstrapper_20110721092322.log'
 [01B4:05BC][2011-07-21T09:23:22.404+01:00]: Setting string variable
 'WixBundleOriginalSource' to value
 'Z:\ddrive\Transfer\PostgreSQL\PostgreSQL_Bootstrapper2.exe'
 [01B4:05BC][2011-07-21T09:23:22.451+01:00]: Detect 2 packages
 [01B4:05BC][2011-07-21T09:23:22.451+01:00]: Detected package:
 postgresql_9.0.4_1_windows_x64.exe, state: Absent, cached: No
 [01B4:05BC][2011-07-21T09:23:22.451+01:00]: Detected package:
 postgresql_9.0.4_1_windows.exe, state: Absent, cached: No
 [01B4:05BC][2011-07-21T09:23

Re: [WiX-users] Std Bootstrapper failed: Error 0x800b010a

2011-07-22 Thread Tobias S
Hi Thomas,

Give it a try on that real restricted testsystem or some other system
without internet connection. Assume that this system migth behave
different than a VM. We had such experience when using VMs in our
testing environment where the certificates could not correctly be
updated.

My interpretation here was (sorry not very technical description): On
the real systems without internet connection this certificate
mechanism seemed to know that it could not update and didn't try to.
On the VMs the certificate mechanism didn't know whether being on or
offline and tried to but couldn't and so such strange behaviors
appeared.

Regards
Tobias


2011/7/22  thomas.debo...@rohde-schwarz.com:
 Hi Tobias,

 thanks for your hints.
 But the real problem is not VMWare.
 Our real target system will be restricted testsystem without internet
 connection.

 So I really need a way to launch the bootstrapper on a system without
 internet connection.

 Cheers,
  Thomas



 Tobias S tobias.s1...@gmail.com
 22.07.2011 11:40
 Bitte antworten an
 General discussion for Windows Installer XML toolset.
 wix-users@lists.sourceforge.net


 An
 General discussion for Windows Installer XML toolset.
 wix-users@lists.sourceforge.net
 Kopie

 Thema
 Re: [WiX-users] Std Bootstrapper failed: Error 0x800b010a






 VMWares seem to be somehow tricky regarding retrieving the revocation
 lists to verify the signatures. If your company policies allow does it
 work if you connect the VM directly to the internet ? Did you try
 different settings for Network Adapter like Host-only + Connect at
 power on disabled ? Ipconfig /release on console ? Just some
 thoughts...

 Did you try to sign the exe with a test certificate and deploy these
 testing certificates to that VM ? Sorry I'm not so common with such
 certificates but in my understanding this should make the testing
 certificate valid on that VM.

 Regards
 Tobias

 2011/7/22  thomas.debo...@rohde-schwarz.com:
 Hi Rob,

 yes, the exe is signed, but I run the bootstrapper on a VMWare image
 without a connection to the internet :-(

 I have run it now on my host system and the bootstrapper was able to
 launch the chained installer (signature is valid and trusted).

 Is there a way to launch it on a system without internet connection?

 Thanks,
  Thomas



 Rob Mensching r...@robmensching.com
 21.07.2011 17:18
 Bitte antworten an
 General discussion for Windows Installer XML toolset.
 wix-users@lists.sourceforge.net


 An
 General discussion for Windows Installer XML toolset.
 wix-users@lists.sourceforge.net
 Kopie

 Thema
 Re: [WiX-users] Std Bootstrapper failed: Error 0x800b010a






 0x800B010A == A certificate chain could not be built to a trusted root
 authority. Is the exe signed? Is the signature valid and trusted on the
 machine?

 On Thu, Jul 21, 2011 at 2:48 AM, thomas.debo...@rohde-schwarz.com
 wrote:

 Hello,

 I'm a new WiX-user and just try to build a bootstrapper to customize a
 PostgreSQL installation.
 I use WIX 3.6.1915.0 in VS2010.

 I've added two ExePackages into a chain (64bit and 32bit package).
 Later I will pass additional parameters to these packages given from
 custom dialogs.

 ?xml version=1.0 encoding=UTF-8?
 Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
  Bundle Name=PostgreSQL_Bootstrapper
          Manufacturer=Thomas Deboben
          UpgradeCode=5ba5b32d-01d0-49b5-a683-1f24e09216af
          Version=1.0.0.0

    BootstrapperApplicationRef Id=
 WixStandardBootstrapperApplication.RtfLicense /
    WixVariable Id=WixStdbaLicenseRtf Value=lic\license.rtf /
    WixVariable Id=WixStdbaLogo Value=img\logo.bmp /

    Chain
      !-- TODO: Define the list of chained packages. --
      ExePackage SourceFile=pkg\postgresql-9.0.4-1-windows_x64.exe
                  InstallCommand=--mode unattended --datadir C:\PGData
                  InstallCondition=VersionNT64 = v5.1
                  /
      ExePackage SourceFile=pkg\postgresql-9.0.4-1-windows.exe
                  InstallCommand=--mode unattended --datadir C:\PGData
                  InstallCondition=NOT VersionNT64 AND VersionNT =
 v5.0
                 /

      !-- Note: The following PackageGroupRef is required to pull in
 generated authoring from project references. --
      PackageGroupRef Id=Bundle.Generated.Packages/
    /Chain

  /Bundle
 /Wix

 The build succeeded with one warning (Warning   1       Unable to reset
 acls on destination files.      light.exe       0       1
 Bootstrapper1).

 When I launch the Bootstrapper executable I get the Error 0x800b010a
 when
 the nested installer should be executed.

 What have I done wrong?

 Thanks in advance,
  Thomas

 Here is the full log:
 [01B4:05BC][2011-07-21T09:23:22.373+01:00]: Burn v3.6.1915.0, path:
 Z:\ddrive\Transfer\PostgreSQL\PostgreSQL_Bootstrapper2.exe, cmdline: ''
 [01B4:05BC][2011-07-21T09:23:22.389+01:00]: Setting string variable
 'BundleTag' to value ''
 [01B4:05BC][2011-07-21T09:23:22.389+01:00]: Setting string variable
 'WixBundleName

Re: [WiX-users] Std Bootstrapper failed: Error 0x800b010a

2011-07-22 Thread Rob Mensching
Hmm, this is supposed to work, Thomas. Can you open a bug with as much
detail as possible. I think it basically comes down to getting the right
flags passed to WinVerifyTrust(), which is unfortunately no easy task.
On Fri, Jul 22, 2011 at 3:35 AM, Tobias S tobias.s1...@gmail.com wrote:

 Hi Thomas,

 Give it a try on that real restricted testsystem or some other system
 without internet connection. Assume that this system migth behave
 different than a VM. We had such experience when using VMs in our
 testing environment where the certificates could not correctly be
 updated.

 My interpretation here was (sorry not very technical description): On
 the real systems without internet connection this certificate
 mechanism seemed to know that it could not update and didn't try to.
 On the VMs the certificate mechanism didn't know whether being on or
 offline and tried to but couldn't and so such strange behaviors
 appeared.

 Regards
 Tobias


 2011/7/22  thomas.debo...@rohde-schwarz.com:
  Hi Tobias,
 
  thanks for your hints.
  But the real problem is not VMWare.
  Our real target system will be restricted testsystem without internet
  connection.
 
  So I really need a way to launch the bootstrapper on a system without
  internet connection.
 
  Cheers,
   Thomas
 
 
 
  Tobias S tobias.s1...@gmail.com
  22.07.2011 11:40
  Bitte antworten an
  General discussion for Windows Installer XML toolset.
  wix-users@lists.sourceforge.net
 
 
  An
  General discussion for Windows Installer XML toolset.
  wix-users@lists.sourceforge.net
  Kopie
 
  Thema
  Re: [WiX-users] Std Bootstrapper failed: Error 0x800b010a
 
 
 
 
 
 
  VMWares seem to be somehow tricky regarding retrieving the revocation
  lists to verify the signatures. If your company policies allow does it
  work if you connect the VM directly to the internet ? Did you try
  different settings for Network Adapter like Host-only + Connect at
  power on disabled ? Ipconfig /release on console ? Just some
  thoughts...
 
  Did you try to sign the exe with a test certificate and deploy these
  testing certificates to that VM ? Sorry I'm not so common with such
  certificates but in my understanding this should make the testing
  certificate valid on that VM.
 
  Regards
  Tobias
 
  2011/7/22  thomas.debo...@rohde-schwarz.com:
  Hi Rob,
 
  yes, the exe is signed, but I run the bootstrapper on a VMWare image
  without a connection to the internet :-(
 
  I have run it now on my host system and the bootstrapper was able to
  launch the chained installer (signature is valid and trusted).
 
  Is there a way to launch it on a system without internet connection?
 
  Thanks,
   Thomas
 
 
 
  Rob Mensching r...@robmensching.com
  21.07.2011 17:18
  Bitte antworten an
  General discussion for Windows Installer XML toolset.
  wix-users@lists.sourceforge.net
 
 
  An
  General discussion for Windows Installer XML toolset.
  wix-users@lists.sourceforge.net
  Kopie
 
  Thema
  Re: [WiX-users] Std Bootstrapper failed: Error 0x800b010a
 
 
 
 
 
 
  0x800B010A == A certificate chain could not be built to a trusted root
  authority. Is the exe signed? Is the signature valid and trusted on the
  machine?
 
  On Thu, Jul 21, 2011 at 2:48 AM, thomas.debo...@rohde-schwarz.com
  wrote:
 
  Hello,
 
  I'm a new WiX-user and just try to build a bootstrapper to customize a
  PostgreSQL installation.
  I use WIX 3.6.1915.0 in VS2010.
 
  I've added two ExePackages into a chain (64bit and 32bit package).
  Later I will pass additional parameters to these packages given from
  custom dialogs.
 
  ?xml version=1.0 encoding=UTF-8?
  Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
   Bundle Name=PostgreSQL_Bootstrapper
   Manufacturer=Thomas Deboben
   UpgradeCode=5ba5b32d-01d0-49b5-a683-1f24e09216af
   Version=1.0.0.0
 
 BootstrapperApplicationRef Id=
  WixStandardBootstrapperApplication.RtfLicense /
 WixVariable Id=WixStdbaLicenseRtf Value=lic\license.rtf /
 WixVariable Id=WixStdbaLogo Value=img\logo.bmp /
 
 Chain
   !-- TODO: Define the list of chained packages. --
   ExePackage SourceFile=pkg\postgresql-9.0.4-1-windows_x64.exe
   InstallCommand=--mode unattended --datadir C:\PGData
   InstallCondition=VersionNT64 = v5.1
   /
   ExePackage SourceFile=pkg\postgresql-9.0.4-1-windows.exe
   InstallCommand=--mode unattended --datadir C:\PGData
   InstallCondition=NOT VersionNT64 AND VersionNT =
  v5.0
  /
 
   !-- Note: The following PackageGroupRef is required to pull in
  generated authoring from project references. --
   PackageGroupRef Id=Bundle.Generated.Packages/
 /Chain
 
   /Bundle
  /Wix
 
  The build succeeded with one warning (Warning   1   Unable to reset
  acls on destination files.  light.exe   0   1
  Bootstrapper1).
 
  When I launch the Bootstrapper executable I get the Error 0x800b010a
  when

Re: [WiX-users] Std Bootstrapper failed: Error 0x800b010a

2011-07-21 Thread Rob Mensching
0x800B010A == A certificate chain could not be built to a trusted root
authority. Is the exe signed? Is the signature valid and trusted on the
machine?

On Thu, Jul 21, 2011 at 2:48 AM, thomas.debo...@rohde-schwarz.com wrote:

 Hello,

 I'm a new WiX-user and just try to build a bootstrapper to customize a
 PostgreSQL installation.
 I use WIX 3.6.1915.0 in VS2010.

 I've added two ExePackages into a chain (64bit and 32bit package).
 Later I will pass additional parameters to these packages given from
 custom dialogs.

 ?xml version=1.0 encoding=UTF-8?
 Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
  Bundle Name=PostgreSQL_Bootstrapper
  Manufacturer=Thomas Deboben
  UpgradeCode=5ba5b32d-01d0-49b5-a683-1f24e09216af
  Version=1.0.0.0

BootstrapperApplicationRef Id=
 WixStandardBootstrapperApplication.RtfLicense /
WixVariable Id=WixStdbaLicenseRtf Value=lic\license.rtf /
WixVariable Id=WixStdbaLogo Value=img\logo.bmp /

Chain
  !-- TODO: Define the list of chained packages. --
  ExePackage SourceFile=pkg\postgresql-9.0.4-1-windows_x64.exe
  InstallCommand=--mode unattended --datadir C:\PGData
  InstallCondition=VersionNT64 = v5.1
  /
  ExePackage SourceFile=pkg\postgresql-9.0.4-1-windows.exe
  InstallCommand=--mode unattended --datadir C:\PGData
  InstallCondition=NOT VersionNT64 AND VersionNT = v5.0
 /

  !-- Note: The following PackageGroupRef is required to pull in
 generated authoring from project references. --
  PackageGroupRef Id=Bundle.Generated.Packages/
/Chain

  /Bundle
 /Wix

 The build succeeded with one warning (Warning   1   Unable to reset
 acls on destination files.  light.exe   0   1 Bootstrapper1).

 When I launch the Bootstrapper executable I get the Error 0x800b010a when
 the nested installer should be executed.

 What have I done wrong?

 Thanks in advance,
  Thomas

 Here is the full log:
 [01B4:05BC][2011-07-21T09:23:22.373+01:00]: Burn v3.6.1915.0, path:
 Z:\ddrive\Transfer\PostgreSQL\PostgreSQL_Bootstrapper2.exe, cmdline: ''
 [01B4:05BC][2011-07-21T09:23:22.389+01:00]: Setting string variable
 'BundleTag' to value ''
 [01B4:05BC][2011-07-21T09:23:22.389+01:00]: Setting string variable
 'WixBundleName' to value 'PostgreSQL_Bootstrapper'
 [01B4:05BC][2011-07-21T09:23:22.404+01:00]: Setting string variable
 'WixBundleLog' to value

 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\PostgreSQL_Bootstrapper_20110721092322.log'
 [01B4:05BC][2011-07-21T09:23:22.404+01:00]: Setting string variable
 'WixBundleOriginalSource' to value
 'Z:\ddrive\Transfer\PostgreSQL\PostgreSQL_Bootstrapper2.exe'
 [01B4:05BC][2011-07-21T09:23:22.451+01:00]: Detect 2 packages
 [01B4:05BC][2011-07-21T09:23:22.451+01:00]: Detected package:
 postgresql_9.0.4_1_windows_x64.exe, state: Absent, cached: No
 [01B4:05BC][2011-07-21T09:23:22.451+01:00]: Detected package:
 postgresql_9.0.4_1_windows.exe, state: Absent, cached: No
 [01B4:05BC][2011-07-21T09:23:22.451+01:00]: Detect complete, result: 0x0
 [01B4:05BC][2011-07-21T09:23:24.295+01:00]: Plan 2 packages, action:
 Install
 [01B4:05BC][2011-07-21T09:23:24.295+01:00]: Condition 'VersionNT64 AND
 VersionNT = v5.0' evaluates to false.
 [01B4:05BC][2011-07-21T09:23:24.295+01:00]: Planned package:
 postgresql_9.0.4_1_windows_x64.exe, state: Absent, default requested:
 Absent, ux requested: Absent, execute: None, rollback: None, cache: No,
 uncache: No, dependency: Unregister
 [01B4:05BC][2011-07-21T09:23:24.295+01:00]: Condition 'NOT VersionNT64 AND
 VersionNT = v5.0' evaluates to true.
 [01B4:05BC][2011-07-21T09:23:24.295+01:00]: Setting string variable
 'WixBundleLog_postgresql_9.0.4_1_windows.exe' to value

 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\PostgreSQL_Bootstrapper_20110721092322_0_postgresql_9.0.4_1_windows.exe.log'
 [01B4:05BC][2011-07-21T09:23:24.295+01:00]: Setting string variable
 'WixBundleRollbackLog_postgresql_9.0.4_1_windows.exe' to value

 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\PostgreSQL_Bootstrapper_20110721092322_0_postgresql_9.0.4_1_windows.exe_rollback.log'
 [01B4:05BC][2011-07-21T09:23:24.295+01:00]: Planned package:
 postgresql_9.0.4_1_windows.exe, state: Absent, default requested: Present,
 ux requested: Present, execute: Install, rollback: Uninstall, cache: Yes,
 uncache: No, dependency: Register
 [01B4:05BC][2011-07-21T09:23:24.295+01:00]: Plan complete, result: 0x0
 [01B4:05BC][2011-07-21T09:23:24.295+01:00]: Apply begin
 [01B4:05BC][2011-07-21T09:23:24.295+01:00]: Caching executable from:
 'Z:\ddrive\Transfer\PostgreSQL\PostgreSQL_Bootstrapper2.exe' to:
 'C:\Documents and Settings\Administrator\Local Settings\Application
 Data\Package
 Cache\{3a1f9531-496d-4e2d-9f2d-04e6296ccb74}\PostgreSQL_Bootstrapper.exe'
 [01B4:05BC][2011-07-21T09:23:25.701+01:00]: Registering bundle dependency
 key: {3a1f9531-496d-4e2d-9f2d-04e6296ccb74}, version 1.0.0.0