You are here

PortableApps.com Installer only recognizes .exe?

9 posts / 0 new
Last post
shookmon
Offline
Last seen: 7 years 3 months ago
Joined: 2007-02-21 16:26
PortableApps.com Installer only recognizes .exe?

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

darksabre76
darksabre76's picture
Offline
Last seen: 3 months 1 week ago
Developer
Joined: 2011-04-19 23:28
EXE Only

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.

shookmon
Offline
Last seen: 7 years 3 months ago
Joined: 2007-02-21 16:26
Ummm

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

Ken Herbert
Ken Herbert's picture
Online
Last seen: 56 min 40 sec ago
DeveloperModerator
Joined: 2010-05-25 18:19
Shouldn't be an issue

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.

Ken Herbert
Ken Herbert's picture
Online
Last seen: 56 min 40 sec ago
DeveloperModerator
Joined: 2010-05-25 18:19
Easiest way

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.

shookmon
Offline
Last seen: 7 years 3 months ago
Joined: 2007-02-21 16:26
Academic question now anyways

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

John T. Haller
John T. Haller's picture
Online
Last seen: 14 min 17 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
By Design

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!

shookmon
Offline
Last seen: 7 years 3 months ago
Joined: 2007-02-21 16:26
Ahhhh...

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

shookmon
Offline
Last seen: 7 years 3 months ago
Joined: 2007-02-21 16:26
Side note:

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

Log in or register to post comments