Hi, I wrote a WIX bootstrapper to download
"postgresql-9.6.13-1-windows-x64.exe" / "pgadmin4-4.6-x86.exe" and to install
it from the bootstrapper, and it looks like this:
However, when I ran the bootstrapper, it failed with the following errors
during postgresql exe download (the same error also occurred for pgadmin4 exe):
Prompt for source of package: PostGres, payload: PostGres, path:
C:\3rd_party\\postgresql-9.6.13-1-windows-x64.exe
Acquiring package: PostGres, payload: PostGres, download from:
https://www.enterprisedb.com/thank-you-downloading-postgresql?anid=1256629
Error 0x800b0003: Failed authenticode verification of payload:
C:\ProgramData\Package Cache\.unverified\PostGres
Error 0x800b0003: Failed to verify signature of payload: PostGres
Failed to verify payload: PostGres at path: C:\ProgramData\Package
Cache\.unverified\PostGres, error: 0x800b0003. Deleting file.
Error 0x800b0003: Failed to cache payload: PostGres
Failed to cache payload: PostGres from working path:
C:\Users\petronius\AppData\Local\Temp\{36b05203-ecc5-4f24-a06c-a11f0dedc47c}\PostGres,
error: 0x800b0003.
Error 0x800b0003: Failed while caching, aborting execution.
Here is how I authored the bootstrapper using WIX:
https://www.enterprisedb.com/thank-you-downloading-postgresql?anid=1256629";
Name="$(var.3rd_party_dir)\postgresql-9.6.13-1-windows-x64.exe">
https://www.postgresql.org/ftp/pgadmin/pgadmin4/v4.6/windows/";
Name="$(var.3rd_party_Dir)\pgadmin4-4.6-x86.exe">
If I do not download but statically include those EXE's to the bundle, it works
fine.
I've been search for the cause for a couple days but no luck. Did anyone
approach this way and successfully downloaded and continued to install?
Another question:
Due to this error, I am think to embed those EXE's to the bootstrapper, but I
do not know if it is against licensing policy.
Is it okay to do it?
Thanks.