Build script automatically configures dependencies. #59

Open
wants to merge 15 commits into
from

Conversation

Projects
None yet
2 participants

This version of the build script was moved to its own folder. It starts by looking for an .ini file, and creates a new one if it does not exist. It then goes through an list of default location, and the finally the registry. If all dependencies are found, the build begins. At the end of the build, a message box will notify where the installer can be found.

There's a small workaround for 64-bit versions of Windows, as it seems Compile_AHK does not like to cooperate. I can investigate this further, but for the time being, it's not much of a hack.

The next version of the build script will include downloading and installing missing dependencies.

I'd recommend switching to Compile_AHK instead of using ahk2exe. This allows us to embed the various config information at the top of the belvedere.ahk script and we can also exclude UPX, which tends to get caught by various Anti-virus tools.

Owner

imaginationac replied Mar 15, 2012

Sounds good. I'll look into integrating it soon. I just finished up the configuration, so it's simply a matter a changing the dependency array.

Owner

imaginationac replied Mar 16, 2012

Having trouble compiling with Compile_AHK at the moment. I'm getting the error message: "Error opening the destination file." I can compile fine with ahk2exe by itself, so I'm not sure what's going on.

Owner

imaginationac replied Mar 16, 2012

So I was under the impression that Compile_AHK worked as a wrapper or alternative to ahk2exe. I had to compile a exe with ahk2exe beforehand in order to use Compile_AHK. That seems counter-intuitive. Let me know if I'm doing this wrong.

You shouldn't need to compile it before running through Compile_AHK, the whole point of using this is as an alternative, with more option, than ahk2exe. How are you running it? The build script that is on the HEAD of my MASTER should work fine.

Owner

imaginationac replied Mar 16, 2012

Just tested it. I get the same error. It might be some weird file permission thing I can't seem to narrow down, or maybe the fact I'm building on 64-bit machine? I'm going to test it out on 32-bit machine.

imaginationac added some commits Mar 15, 2012

Temporary fix for compiling Belvedere.exe.
On my Windows 7 64-Bit machine, I am unable to compile directly with Compile_AHK. As a workaround, I'm compiling first
with ahk2exe, and then with Compile_AHK. This seems to have to side effect of not setting the program icon properly.
I'm going to test this on 32-bit version of Windows to see if it makes any difference.
Build script builds executable and help.
I forgot to pop the correct version of the build script last push. This one has the workaround
for 64-bit operating systems. The help manual was also not being compiled due to spaces in
paths. Quotes added to fix.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment