You are here

run an exe file with options (blumind.exe -p)

3 posts / 0 new
Last post
jandoe
Offline
Last seen: 7 years 6 months ago
Joined: 2016-10-08 08:45
run an exe file with options (blumind.exe -p)

Hello

I try to make an installer for the mindmap software Blumind. Blumind.exe has an option -p one can use to run Blumind in a portable mode. In the zip file of the portable version of Blumind there is a bat file, that include the line Blumind.exe -p. I created in the App\Appinfo a Launcher folder with the file BlumindPortable.ini. In this file I added the following lines:

[Launch]
ProgramExecutable=Blumind\Portable.bat
WorkingDirectory=%PAL:AppDir%\Blumind
DirectoryMoveOK=yes
SupportsUNC=yes

The bat file is in the same folder like the Blumind.exe. With this configuration I can install an launch Blunind but the bat file opens cmd window with in the command

D:\PortableApps\BlumindPortable\App\Blumind>Blumind.exe -p

is executed. And the cmd window stays open until Blumind is closed. I don't have a lot of windows expierence but I suppose the bat file needs the cmd from the windows host. And in case cmd is blocked for non-admin-users on a host (like at our school) Blumind won't run.
How can I modify my Launcher file avoiding the bat file. Meaning something like

ProgramExecutable=Blumind\Blumind.exe -p

When I use the above line in the the [Launch] section I get the following error

Blumind 't Portable can started. ... (ERROR: App\Blumind\Blumind\Blumind.exe -p couldn't be found)

So how can I run Blumind with the option -p without using a bat file. Or how can I use the bat file with a PortableApps CMD so that Blumind doesn't depend on the host CMD.

Kind regards, jandoe

JLim
Offline
Last seen: 5 days 7 hours ago
Joined: 2013-07-17 01:30
correct entries are

ProgramExecutable=Blumind\Blumind.exe
CommandLineArguments=-p

JLim
Offline
Last seen: 5 days 7 hours ago
Joined: 2013-07-17 01:30
Already has one here
Log in or register to post comments