In a VB.net 64x project, I used itext7(installed through Nuget) to save PDF files. Everything works fine in debug mode(VS2022, framwork4.8). Then I made a installation package with WixToolset(version4.0). Installation on PC works well as I can see the exe application file with needed dll files in the same C:\program files\ folder. But when run this installed program, an error "unknown PDFException" happens. I believe I distributed all the necessary dlls as shown below. Can anyone help?
iText.Kernel.dll
iText.Layout.dll
iText.IO.dll
iText.Pdfa.dll
itext.bouncy-castle-connector.dll
iText.commons.dll
itext.bouncy-castle-adapter.dll
itext.bouncy-castle-fips-adapter.dll