iifuzz
Posts: 8
Joined: Thu Jun 29, 2023 3:47 pm

Pre-Build Events

I am trying to create a pre-build event which runs an exe file which validates several file checksums before the build is started.

How can I have the build process abort if the checksum check fails?
iifuzz
Posts: 8
Joined: Thu Jun 29, 2023 3:47 pm

Re: Pre-Build Events

having my pre-build application throw an exception seems to work.
Liviu
Posts: 1048
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Pre-Build Events

Hello and welcome to our forums,

That's great to hear that you were able to find a solution to your issue! Having your pre-build application throw an exception when the checksum check fails is a clever approach to abort the build process. It's wonderful when developers like yourself are able to troubleshoot and come up with effective solutions.

If you have any further questions or need assistance with anything else, feel free to ask. Keep up the great work!

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”