Copy folder on script install from mmip

This forum is for questions / discussions regarding development of addons / tweaks for MediaMonkey for Windows 4.

Moderators: Gurus, Addon Administrators

Psyker7
Posts: 255
Joined: Sat Mar 03, 2007 8:00 am

Copy folder on script install from mmip

Post by Psyker7 »

I'm wanting to distribute a MMIP which contains quite a few source files (a python library is included)
Is there any easy way to copy a directory recursively for an install?
The page
http://www.mediamonkey.com/wiki/index.p ... 5D_section

Suggests you can do
[Copy]
Src=LastFmImportPython\*.*
Tgt={app}\Scripts\LastFmImportPython\

But this fails - presumably because there are directories under the LastFmImportPython folder.
Beyond writing a script to copy all the files manually in the install.ini, or writing a script myself to unzip the folder somewhere I'm at a loss :(
Eyal
Posts: 3118
Joined: Sun Jun 26, 2005 9:27 am
Location: Québec
Contact:

Re: Copy folder on script install from mmip

Post by Eyal »

Essentially it's the same issue as Thanasis had. See: http://www.mediamonkey.com/forum/viewto ... 19&t=64678

Resolved by adding *.* at the end of target spec.

:~)
Skins for MediaMonkey: Cafe, Carbon, Helium, Spotify, Zekton. [ Wiki Zone ].
Psyker7
Posts: 255
Joined: Sat Mar 03, 2007 8:00 am

Re: Copy folder on script install from mmip

Post by Psyker7 »

Thanks! Appreciated.

Search faile to find that thread because he wrote installer.ini instead!
Psyker7
Posts: 255
Joined: Sat Mar 03, 2007 8:00 am

Re: Copy folder on script install from mmip

Post by Psyker7 »

Except it still doesn't work :(
Post Reply