I am working on creating the installer for my new app Out2Lunch which is just a batch file. Doesn't need to be compiled as it's opensource, and cmd.exe runs it just fine. However, I think the Installer only recognizes .exe files as program files as it gave me an error about 'No .exe files found'. So I created a fake .exe file. Now Installer runs OK, but leaves out the batch file when I try to actually install it. the appinfo.inin file correctly identifies the batch file as the program to launch.
So, is this a change request to the installer to allow for executables that aren't .exe? Or is there a good reason for this and I need to somehow create an .exe?
Thanks!!
Michael D. Shook | http://Mike.OmegaTower.com | Mike@OmegaTower.com | Eastern Time Zone
Based on how the launcher works, it only takes .exe files. This is partially what I was referring to when I was asking if you were going to compile it to exe in your original post. I'm going to assume that the batch file itself cannot be translated into launcher commands (since there's probably a lot of logic in there). If you're having trouble finding a program to compile the batch file to an exe, try Bat 2 Exe or Advanced BAT to EXE Converter.
The launcher takes .bat and .cmd as well. I know this because I tried.
This would seem to be just an installer issue.
Thanks!!
Michael D. Shook
I have a package of Wiki on a Stick I made for myself that has no executables - it runs simply from a .bat file which is included just fine. (I won't release it as WoaS doesn't like to function on Chromium-based browsers, or at least it didn't when I packaged it)
It was packaged with an older version of the installer, but I'm pretty sure I have packaged things with the most recent installer that also include/use a .bat file.
Can you upload an archived copy of your directory structure (not your installer) somewhere for me to have a look? I don't have access to my preferred email account for this kind of stuff while at work.
Well, this question is now academic, perhaps the installer will be updated to allow .bat and .cmd files at a later date if that is the direction JTH and team want to go.
In order to take the software to the next level of features I want to add, I need a more sophisticated tool. AutoHotKey has been chosen, and will produce an .exe, bypassing this issue.
Thanks!!
Michael D. Shook
We will not be allowing BAT or CMD files. A lot of computers won't work with them for security reasons. And PA.c does not permit command line apps anyway.
PS - Your signature was removed due to forum guidelines. No links or email addresses are permitted in signatures.
Sometimes, the impossible can become possible, if you're awesome!
Thanks for the clarification of what's allowed and what's not. Makes sense, just didn't remember hearing about that. Of, course the last time I really looked through all the guidelines was a few years back...
(Oh, and sorry about the gaffe with the sig...)
Thanks!!
Michael D. Shook
The signature edit screen doesn't say links or email addresses are not allowed, but it does say that they will be turned into a link. I believe that's where I got the idea that they were allowed.
Thanks!!
Michael D. Shook