View Issue Details

IDProjectCategoryView StatusLast Update
0011467MMW v4Framework: Scripts/Extensionspublic2013-11-09 17:08
Reporterzvezdan Assigned To 
PrioritynoneSeverityminorReproducibilityalways
Status newResolutionopen 
Summary0011467: Options button in Extensions dialog doesn't work for local scripts
DescriptionHere is the Install.ini:

[Header]
ID=FindCurrentPlayingTrack
Title=Find Currently Playing Track
Description=Automatically find currently playing track, by Zvezdan Dimitrijevic
VersionMajor=1
VersionMinor=3
VersionRelease=0
VersionBuild=0
Type=script
UpdateURL=http://solair.eunet.rs/~zvezdand/FindCurrentPlayingTrack.xml
ConfigurationScript={app}\Scripts\Auto\FindCurrentPlayingTrack.vbs
ConfigurationProcedure=OptionsDialog()

[Copy]
Src=FindCurrentPlayingTrack.vbs
Tgt={app}\Scripts\Auto\FindCurrentPlayingTrack.vbs

[Execute]
File=Install.vbs

[Execute]
File={app}\Scripts\Auto\FindCurrentPlayingTrack.vbs
Function=Install()

If I choose to install script for the current user, the vbs file would be placed in Users folder, as it should, i.e. the Tgt={app} and File={app} will be replaced with Users folder. However, ConfigurationScript={app} will be replaced with Program Files folder as you could see from the related part of my local Extensions.ini file:

[FindCurrentPlayingTrack]
Title=Find Currently Playing Track
Description=Automatically find currently playing track, by Zvezdan Dimitrijevic
VersionMajor=1
VersionMinor=3
VersionRelease=0
VersionBuild=0
Type=script
UpdateURL=http://solair.eunet.rs/~zvezdand/FindCurrentPlayingTrack.xml
ConfigurationScript=C:\Program Files\MediaMonkey4\Scripts\Auto\FindCurrentPlayingTrack.vbs
ConfigurationProcedure=OptionsDialog()

So, the {app} in Tgt key in [Copy] section and File key in [Execute] section are correctly replaced during the installation, but not in ConfigurationScript key in [Header] section and because of that the Options button doesn't work.
TagsNo tags attached.
Fixed in build

Activities

There are no notes attached to this issue.