You are here

Parameters on launcher

3 posts / 0 new
Last post
josheee12
Offline
Last seen: 13 years 4 months ago
Joined: 2009-03-07 18:36
Parameters on launcher

I have an app that requires some command line parameters. Trying
[Control]
...
Start2=App\foo.exe -param

causes the application to fail to even launch. Any ideas?

depp.jones
Offline
Last seen: 2 hours 26 min ago
DeveloperTranslator
Joined: 2010-06-05 17:19
I don't know if you're doing

I don't know if you're doing it correctly. The [Control] section in the AppInfo.ini (I think you refer to that) is just for starting the launcher and not for starting the base app. The launcher then takes over to start the base app, with command line parameters if needed. That is defined in the [Launch] section of the so called launcher.ini (then named after your launcher executables name).
The Launcher can take care of most issues like moving directories, backing up or deleting registries and more.
There is a very rescourceful manual for the Launcher, I advise to read, here.

yours,
dj

Simeon
Simeon's picture
Offline
Last seen: 9 years 7 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
not meant to

The appinfo.ini file provides information about the app to the platform so it shows up faster. It just points to the exe and is not meant to have parameters passed or anything. For parameters and more advanced portabalisation stuff, you'll need the PortableApps.com Launcher as deep.jones already pointed out.

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

Log in or register to post comments