Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ConcatPDF-1.4.0-bin LibPDF missing #2

Open
oheil opened this issue Oct 25, 2021 · 12 comments
Open

ConcatPDF-1.4.0-bin LibPDF missing #2

oheil opened this issue Oct 25, 2021 · 12 comments

Comments

@oheil
Copy link

oheil commented Oct 25, 2021

Downloading 1.4.0 binary release leads to:

D:\Downloads\ConcatPDF-1.4.0-bin>ConcatPDF.exe

Unbehandelte Ausnahme: System.IO.FileNotFoundException: Die Datei oder Assembly "LibPDF, Version=1.2.7073.1158, Culture=neutral, PublicKeyToken=bd3736a929f259c3" oder eine Abhängigkeit davon wurde nicht gefunden. Das System kann die angegebene Datei nicht finden.
   bei Ujihara.ConcatPDF.MainModule.Main(String[] args)

Translated: it can't find LibPDF.dll

@jesus2099
Copy link

Same problem on a new Windows, in French:

Exception non gérée : System.IO.FileNotFoundException: Impossible de charger le fichier ou l'assembly 'LibPDF, Version=1.2.7073.1158, Culture=neutral, PublicKeyToken=bd3736a929f259c3' ou une de ses dépendances. Le fichier spécifié est introuvable.
   à Ujihara.ConcatPDF.MainModule.Main(String[] args)

I am using the zip version because I have no admin rights.

@jesus2099
Copy link

Hi @kazuyaujihara, as there is no news since 2021, is ConcatPDF still maintained?
We still cannot use it, unfortunately.
If you need more tests from us to understand this bug, please ask.

@oheil
Copy link
Author

oheil commented Nov 27, 2023

@jesus2099 I am using version 1.3.3.0 and it's fine so far.

@k-ujihara
Copy link
Owner

Sorry, I could not repro it. Could not you find LibPDF.DLL in the installed folder?

@k-ujihara
Copy link
Owner

I am still using but not maintaining now.

@jesus2099
Copy link

Thanks for replying!
Indeed, there is no LibPDF.DLL in ConcatPDF-1.4.0-bin.zip from https://github.com/kazuyaujihara/ConcatPDF/releases

@oheil
Copy link
Author

oheil commented Nov 28, 2023

I have forked the repo and made a release build without any code changes:
https://github.com/oheil/ConcatPDF/releases/tag/v1.4.0

The binary package and the installer seem to work now.
Not only LibPDF.dll but also ConcatPDFUI.dll is missing in the original release.

@k-ujihara
Copy link
Owner

Oh. I forgot to add it. Pleasd use installer oackage.

@jesus2099
Copy link

I cannot install with the installer, I am not admin.
Even if I check the Just me option, it requires admin rights.

Please update https://github.com/kazuyaujihara/ConcatPDF/releases/download/v1.4.0/ConcatPDF-1.4.0-bin.zip like oheil did in their repo or remove it, advising people to use https://github.com/kazuyaujihara/ConcatPDF/releases/download/v1.3.3/ConcatPDF-1.3.3-bin.zip instead.

@jesus2099
Copy link

I have forked the repo and made a release build without any code changes: https://github.com/oheil/ConcatPDF/releases/tag/v1.4.0

The binary package and the installer seem to work now. Not only LibPDF.dll but also ConcatPDFUI.dll is missing in the original release.

Thanks so much, @oheil! The binary download from your repo does work!

What would @kazuyaujihara need to do to fix the ConcatPDF-1.4.0-bin.zip file?

@oheil
Copy link
Author

oheil commented Nov 28, 2023

The following two files are missing in the zip archive ConcatPDF-1.4.0-bin.zip:
ConcatPDFUI.dll
LibPDF.dll

Both files are created during build of the Visual Studio Solution ConcatPDF.sln.
They are also part of the deploy project ConcatPDFDeploy and therefor are automatically part of the installers.

As far as I can tell there is no automatic deployment of the binary zip archive. I put all needed binary files into a folder and created the zip archive from them manually.

You should be able to just change the install folder from the original installers to some folder, where you have write access without being admin. Tried it, but doesn't work, admin rights are needed anyways, because target installation folders are:
c:\Windows\Microsoft.NET\assembly\GAC_MSIL\ConcatPDFUI\v4.0_1.4.0.0__bd3736a929f259c3\ConcatPDFUI.dll
c:\Windows\Microsoft.NET\assembly\GAC_MSIL\LibPDF\v4.0_1.2.7073.1158__bd3736a929f259c3\LibPDF.dll
This needs some adjustments to the installer project I have to figure out myself.

You could do this on a computer where you have admin rights, copy the needed files e.g. via stick to the computer where you need the software.

@jesus2099
Copy link

jesus2099 commented Nov 28, 2023

Maybe it is difficult to replace binaries for same version 1.4.0 in GitHub.
If so, proper 1.4.1 binary zip file could be rebuilt after fixing the other issue #3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants