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?
New: Kanri (Oct 9, '24), Platform 29.5.3 (Jun 27, '24)
1,100+ portable packages, 1.1 billion downloads
No Ads November!, Please donate today
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
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