PortableApps.com Platform and Suite 1.6 have been released.
AdditionalParameters not working in VLCPortable.nsiSubmitted by rpmohn on December 30, 2008 - 11:57am
The Thanks! -Ross ( categories: )
|
PortableApps.com Platform and Suite 1.6 have been released.
AdditionalParameters not working in VLCPortable.nsiSubmitted by rpmohn on December 30, 2008 - 11:57am
The Thanks! -Ross ( categories: )
|
OK, I compiled the fix for
OK, I compiled the fix for myself and it works! Please make this change in the next upgrade to VLC.
Thanks for the great PortableApps platform!
-Ross
you actually enter the
you actually enter the additional parameters into vlcportable.ini in the additionalparameters part there. and then move the ini file to where the vlcportable.exe is located.
I'm sold! Anything that can compute and warm my coffee is total awesome. - OliverK
$Additional Parameters variable not used
Yes, except that it doesn't work in the current release because the
$AdditionalParametersvariable isn't passed to$EXECSTRINGin the VLCPortable.nsi file! Here's the patch that fixes the problem. I hope it is included in the next release!--- VLCPortable.000.nsi 2008-12-31 11:51:38.000000000 -0500 +++ VLCPortable.nsi 2008-12-30 10:50:16.000000000 -0500 @@ -185,11 +185,11 @@ Section "Main" StrCmp "'$0'" "''" "" LaunchProgramParameters ;=== No parameters - StrCpy $EXECSTRING `"$PROGRAMDIRECTORY\$PROGRAMEXECUTABLE" --vlm-conf "$SETTINGSDIRECTORY\vlcrc" --no-plugins-cache --config "$SETTINGSDIRECTORY\vlcrc"` + StrCpy $EXECSTRING `"$PROGRAMDIRECTORY\$PROGRAMEXECUTABLE" --vlm-conf "$SETTINGSDIRECTORY\vlcrc" --no-plugins-cache --config "$SETTINGSDIRECTORY\vlcrc" $ADDITIONALPARAMETERS` Goto AdjustSettings LaunchProgramParameters: - StrCpy $EXECSTRING `"$PROGRAMDIRECTORY\$PROGRAMEXECUTABLE" $0 --vlm-conf "$SETTINGSDIRECTORY\vlcrc" --no-plugins-cache --config "$SETTINGSDIRECTORY\vlcrc"` + StrCpy $EXECSTRING `"$PROGRAMDIRECTORY\$PROGRAMEXECUTABLE" $0 --vlm-conf "$SETTINGSDIRECTORY\vlcrc" --no-plugins-cache --config "$SETTINGSDIRECTORY\vlcrc" $ADDITIONALPARAMETERS` AdjustSettings: StrCmp $SECONDARYLAUNCH "true" LaunchAndCloseCheers! -Ross
What's the problem with the NSIS compiler?
I've just made the changes to the code, but compliler doesn't seem to process the source. It doesn't know what to do with
newadvsplashfunction. What is the right version of compiler for this case? Or the problem is with libs?Plugins
You need some NSIS-Plugins to compile the code. (e.g. NewAdvSplash plugin).