Copyright and bundling the installer

2019-06-06 Thread Kyle Lee
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.



RE: Copyright and bundling the installer

2019-06-07 Thread Kyle Lee
As I haven't heard regarding the runtime error, I'd like to ask again for the 
question #2.

Does anyone know that including Postgresql setup exe and pgAdmin setup exe in 
my installer doesn't violate the copyright/licensing policy?