/build/static/layout/Breadcrumb_cap_w.png

Apple_iTunes_10.5 - change itunes library

Hi,

I have packaged itunes 10.5 and have it installing fine with no problems other than the company i work for wants the itunes library to be stored locally rather than in the users Home drive. This makes sense as there is a cap on the size of a users homedrive and the itunes media library can get quite large.

I am installing itunes on both Windows XP and on Windows 7 and the default location on each of these is
Windows XP
C:\Documents and Settings\%usersname%\My Documents\My Music\iTunes\iTunes Media
Windows 7
H:\Documents\My Music\iTunes\iTunes Media

I would like these locations to be c:\local\%username%\iTunes\iTunes Media on both OS's.

I have read a post in the Packages section by "Franks" about running a VBScript using Active Setup which copies a vanilla library file to the location created above.
However, this still requires user intervention in that the user needs to press the Shift key while running itunes and selecting the new library location.

I would like this to be completely automated to remove the possible user error.

Anyone had to do something similar? Please help....

0 Comments   [ + ] Show comments

Answers (2)

Posted by: Matias M Andersen 12 years ago
Senior Yellow Belt
0
Hi Mark,

The only fully automated workaround I'm aware of, is to redirect the "My Music" folder back to the C: Drive.
Posted by: DotMsi 12 years ago
Senior Yellow Belt
0
You could use ACT to create a SHIM. Run the Compatibility Administrator and create a New Fix. The SHIM you're looking for is CorrectFilePaths

The parameters you're looking for are going to be something like:

"<redirected path>";"<localpath>"

in 10.4 this was:
\\server\share\JohnSmith\AppData\Roaming\Apple Computer\Itunes;c:\Users\JohnSmith\AppData\Roaming\Apple Computer\Itunes

So I'm guessing fromw what you've said it's now:
....My Music\iTunes\iTunes Media

USE QUOTES

Of course, you don't want to do this for just one user... Read On.

While this works using certain varibles, it doesn't seem to work with %APPDATA%. %APPDATA% is renamed to "%userappdata% by Compatability Administrator, so don't fall into that trap.

Instead I've had to use \\<hardcoded server>\Users\%username%\etc;"%userprofile%\etc. If you're in a fairly open environment, you can even send the redirection to the all users profile.

You then need to add in all the executables (iTunes.exe and iTunesHelper.exe etc). To make this fix work next month when a new version is released, remove their file version information. And hopefully the month after that things will be fine too.

Comments:
  • I'm trying to change the path for media library for itunes 10.6.1from c:\users\%username%\Music\iTunes\ to d:\Music\iTunes\.... I have edited the.xml file and copied the files to that location. Still i couldn't resolve the issue any ideas how to change the path... If you can let me know the the approach in detail it would be really great!!! I'm breaking my head since 3 days reading all the blogs nothing helped me.. Your help would be really Great...
    Thanks in Advance.... - USHARANI 12 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ