I'm in the process of making a launcher for Final Burn Alpha. I using a simple NSIS script as shown below.
------------------------------------------
!define NAME "Final Burn Alpha"
OutFile "${NAME}.exe"
WindowIcon Off
SilentInstall Silent
AutoCloseWindow True
Icon "fba.ico"
Section "Main"
Exec 'App\fba.exe'
SectionEnd
-------------------------------------------
The problem I'm running into is when PAM is running, FBA cannot write to the application directory (\PortableApps\FinalBurnAlpha\App\). Instead it's creating new directories & .ini file in the root directory of the USB drive like it the first time running. If I shut down PAM and run FBA, it's able to write to the directory just fine.
Any ideas? I made launchers for several apps using the same layout and I've never run into this problem before?
Are you using a beta version of the menu, because there is currently a working directory bug fixed in beta two, but broken again in beta 3.
_____________________________
I felt so different without a signature.
I'm on Beta 3. I'll try rolling back to Beta 2 and see if it fixes the problem.
try this at the end:
Section "Main"
Exec '$exedir\App\fba.exe'
SectionEnd
But there’s no sense crying over every mistake,
You just keep on trying till you run out of cake.
You need more quotes.
----
Ryan McCue.
Blog.
So all that Airbus-delay trouble over here in Europe is because of YOU!
Simeon.
"If you're not part of the solution, you're part of the precipitate."
I understand sometimes when the extra quotes are needed for, but what are they needed for in this case?
_____________________________
I felt so different without a signature.
If the directory has a space then part of the filename will be mistaken for command line args.
cowsay Moo
cowthink 'Dude, why are you staring at me.'
For example
Exec '$EXEDIR\hi.exe'
in My Documents would be sent asC:\Documents and Settings\Dummy User\My Documents\hi.exe
which could launch C:\Documents.exe, C:\Documents and Settings\Dummy.exe, C:\Documents and Settings\Dummy User\My.exe or C:\Documents and Settings\Dummy User\My Documents\hi.exeWhereas,
Exec '"$EXEDIR\hi.exe"'
would be sent as"C:\Documents and Settings\Dummy User\My Documents\hi.exe"
which would only match "C:\Documents and Settings\Dummy User\My Documents\hi.exe"----
Ryan McCue.
Blog.
So all that Airbus-delay trouble over here in Europe is because of YOU!
Simeon.
"If you're not part of the solution, you're part of the precipitate."