Forum moved here!

Home / Which installer?

oO0XX0Oo

Hi,

can anyone tell me which installer was used to create the (windows version) of the SumatraPDF-3.1.2-install.exe and why the prerelease version of the installer from https://www.sumatrapdfreader.org/prerelease.html isn’t able to extract it’s content when using the command line option /x?

kjk

Installer is custom written. It’s described in https://blog.kowalczyk.info/article/8nqb/writing-a-custom-installer-for-windows-software.html

oO0XX0Oo

Ok, thanks.

Is there a reason why the content extracting switch /x isn’t working for the current prerelease version?

E.g. I’m downloading the prerelease 32-bit installer from https://kjkpub.s3.amazonaws.com/sumatrapdf/prerel/SumatraPDF-prerelease-10740-install.exe
and put in it’s own folder:
D:\Users\oO0XX0Oo\Downloads\SumatraPDF extracted

open a dos box in this folder and use:
SumatraPDF-prerelease-10740-install.exe /x

Nothing happens…

When I do the same with the 32-bit release version from
https://www.sumatrapdfreader.org/dl/SumatraPDF-3.1.2-install.exe

it extracts it’s content just fine…

GitHubRulesOK

It may be a user limitation or directory rights bug
my experience

using /x alone seems there is an issue as I also saw no files,
however there seems to be a copy created today in my syswow64 directory (damn)

using /d “path\to\directory” /x I did get the contents extracted to where I expected them !

kjk

This is most likely bug introduced recently. I’ve opened https://github.com/sumatrapdfreader/sumatrapdf/issues/903 to track this.

oO0XX0Oo

@GitHubRulesOK
Using the /d switch works even with the prerelease installer :smile:
Thanks!