It would probably be better to use
conditional build rules instead of modifying the checked status, but you could
save the .bld file to another location at the end if needed, i.e.:
If Project.IsModified Then Project.Save "%TEMP%\temp.bld"
Another option would be to build with the
Console app, which discards any unsaved changes made to the .bld file during the build.