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

[WiKi] How to Build clawPDF MSI yourself? #135

Open
hansaliyad1 opened this issue May 15, 2024 · 3 comments
Open

[WiKi] How to Build clawPDF MSI yourself? #135

hansaliyad1 opened this issue May 15, 2024 · 3 comments

Comments

@hansaliyad1
Copy link

I am not sure if this is the correct way to do it, but it works. I was exploring this repo for the past two days to figure out how to build my clawPDF fork but did not find an answer. This is for anyone who is looking to build their own clawPDF fork. Feel free to correct me if this is not the correct way to build this project.

Before we build our MSI, we need to add our own code signing certificate or remove the existing code signing certificate configuration. We have to do this for the clawPDF, clawPDF.Bridge, clawPDF.Core, clawPDF.Mail, clawPDF.Settings, clawPDF.Shared, clawPDF.Utilities, ftplib, PDFProcessing, and SetupHelper projects. Right-click on each of these projects, click on "Properties", click on "Signing", and then under "Sign the assembly", either uncheck it or add your own code signing certificate.

Now, how do we build our MSI?

  1. Set the Build Configuration to Release -> Any CPU -> clawPDF.
  2. Right-click on the solution "clawPDF" and then click on "Build Solution".
  3. Change the Build Configuration to Release -> Win32 -> clawPDF.
  4. Right-click on the project "PrinterMonitor" and then click on "Build".
  5. Change the Build Configuration to Release -> ARM64 -> clawPDF.
  6. Right-click on the project "PrinterMonitor" and then click on "Build".
  7. Right-click on the project "clawPDF_setup" and then click on "Build".
  8. You should now find your built MSI under "{PROJECT_DIR}\clawPDF\src\clawPDF_setup\Release".

If anyone has any questions, please feel free to comment below. Thank you!

@hansaliyad1
Copy link
Author

hansaliyad1 commented May 31, 2024 via email

@hueldoeu
Copy link

what kind of software do you use? visual studio?

@hansaliyad1
Copy link
Author

@hueldoeu Yes, I use Visual Studio to build the project. Sometimes, I also use Jetbrains Rider but you cannot build this project using that.

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

2 participants