You are here

adding new app by duplicating DOSBoxPortable with custom autoexec

3 posts / 0 new
Last post
PiRK
Offline
Last seen: 9 years 2 months ago
Joined: 2015-02-07 04:14
adding new app by duplicating DOSBoxPortable with custom autoexec

Hi.

I'm trying to add a new launcher in Portable Apps. What I did is create a copy of the already installed PortableApps\DOSBoxPortable folder.
The new folder name is PortableApps\Lemmings, and inside that new folder I renamed DOSBoxPortable.exe into Lemmings.exe.
Then, I edited PortableApps\Lemmings\Data\settings\dosbox.conf to add :

[autoexec]
# Lines in this section will be run at startup.
mount c \dos_apps
c:
c:\lemmings\vgalemmings

Whenever I executes Lemmings.exe directly from the regular Windows Explorer (double click or right click > Open), it works as expected by starting DOSBox and then executing vgalemmings.exe straight away.

But for some reason it doesn't work when I try to start it from the PortableApps menu. Initially I had a second "DOSBox Portable" entry instead of "Lemmings", and it didn't work (nothing happened when I clicked on it). I renamed the menu entry into Lemmings (right click on menu item > Rename), but it still doesn't work.

Is there a manual way to add a custom App to the PortableApps menu? Any configuration file I could modify to make sure my Lemmings menu entry is actually linked to PortableApps\Lemmings\Lemmings.exe?

I'd appreciate any piece of advice you might have.

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 57 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
appinfo.ini

The menu uses appinfo.ini to know what EXE to run

Sometimes, the impossible can become possible, if you're awesome!

PiRK
Offline
Last seen: 9 years 2 months ago
Joined: 2015-02-07 04:14
thanks

Thank you very much.

FYI this worked for me:

F:\PortableApps\Lemmings\App\AppInfo\appinfo.ini

[Format]
Type=PortableApps.comFormat
Version=2.0

[Details]
Name=Lemmings
AppID=Lemmings
Publisher=DOSBox Team & PortableApps.com
Homepage=PortableApps.com/DOSBoxPortable
Category=Games
Description=Lemmings started through DOSBox autoexec.
Language=Multilingual

[License]
Shareable=true
OpenSource=true
Freeware=true
CommercialUse=true

[Version]
PackageVersion=0.74.0.0
DisplayVersion=0.74

[Control]
Icons=1
Start=Lemmings.exe

And I also had to modify my autoexec slightly, because the game crashes if you don't cd into the directory:

[autoexec]
# Lines in this section will be run at startup.
mount c \dos_apps
c:
cd lemmings
vgalemmi.exe
Log in or register to post comments