This file is copied from the packager to the temp folder.
It is probably your anti-virus fault. Try to disable it.
I am using BitDefender.
It does appear to be associated with BitDefender, but even when I turn off the protection the problem persists.
I have tracked the following sequence:
- Compile the app
- Run the Build Standalone Package
- These first two steps can be run multiple times as long as the next steps are NOT taken
- Run the EXE created by the Standalone Package from where it has been created in ...\temp\build
- As soon as the exe has been run, Bitdefender identifies it as a threat and puts it in quarantine.
- Restore the files identified - including the exe and FindDosPath.exe. This puts the files into Bitdefender's exception list.
- From this point on, nothing I have done will allow me to rebuild the exe in this location, including disabling Bitdefender and the Windows Firewall.
- Change any name in the file path for the application
- Go to Step 1 and repeat.
I'm at a loss as to how to overcome this problem.
[Added] Well almost. If I copy the build files to a totally different folder BEFORE I run the exe that was created, and run it in the new location,
- Bitdefender identifies it as a threat.
- I restore it, and Bitdefender marks it as an exception.
- I can now run it from its new location without problems
- I can rebuild it in the B4J folder structure without problems.
I just have to make sure I never run it from the temps\build location under the B4J application folder structure.