Hi,

I'm trying to package Modplug Tracker, which I want to configure to store it's data in My Docs and AppData. My users' MyDocs and Appdata are redirected to a network location. I am creating some registry entries (which reference the Mydocs location and subdirs), as well as create some files/folders in the users' my docs.

Mydocs is redirected to N:\
The PersonalFolder is resolving correctly.
A sample folder I'm using is N:\My Music\Modplug Tracker\Songs
I've done some testing and PersonalFolder (ie N:\), My Music, Modplug Tracker all resolve to the correct network locations, but when using the last folder: Songs, resolves locally c:\windows\system32\config\systemprofile\etc.

I can workaround this for the registry entries by entering [PersonalFolder]My Music\Modplug Tracker\Songs instead of [Songs]. But I can't do this for the folders I'm creating. Can anyone suggest what I'm missing here? I've tried changing the ALLUSERS property from 1 to 0, but this does not affect the issue.

PS I'm using WPS.

Thanks
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Sounds like you got an error in the Directory table, is my first guess.
Also, make sure that "Songs" is not the name of a property, because that can really mess things up.

And what do you mean by folders you are creating? This should all be done in the Directory table, or in the CreateFolder table if it is empty. Do you do that?
A print of your Directory table might also help us to give you more support.
Answered 06/15/2006 by: sikkert
Orange Senior Belt

Please log in to comment
0
Hi, Thanks for your prompt reply.

The folder names aren't properties. The folders aren't empty. I've placed a hidden file in each so they're recreated if the user deletes them. I realise that ideally I should a HKCU entry, but that wouldn't recreate folders when they're deleted.

Yes, by creating the folders, I meant the directory table, which WPS populated as part of the repackage.

After some more investigation, the directory seems to stop resolving correctly when the file is assoicated with the directory. For example, if I create a second Songs directory entry: Songs_ and use the same defaultdir and directory_parent, then place the directory as a value in the registry, it resolves correctly. If I then assoicate the new directory with the file, it starts resolving to windows\system32\config\systemprofile again.

This is my directory table as requested:

INSTALLDIR ProgramFilesFolder OPENMP~1|OpenMPT1.17RC2_generic
TARGETDIR SOURCEDIR
WindowsFolder TARGETDIR .:Windows
System16Folder WindowsFolder .:System
ProfilesFolder WindowsFolder .:Profiles
DesktopFolder ProfilesFolder .:Desktop
AppDataFolder ProfilesFolder .:Applic~1|Application Data
RecentFolder ProfilesFolder .:Recent
NetHoodFolder ProfilesFolder .:NetHood
MyPicturesFolder TARGETDIR .:MYPICT~1|My Pictures
LocalAppDataFolder TARGETDIR .:APPLIC~1|Application Data
Songs Modplug_Tracker Songs
Modplug_Tracker My_Music MODPLU~1|Modplug Tracker
Songs_ Modplug_Tracker Songs
SendToFolder ProfilesFolder .:SendTo
WWWROOT TARGETDIR .:wwwroot
StartMenuFolder ProfilesFolder .:StartM~1|Start Menu
TemplateFolder WindowsFolder .:ShellNew
SystemFolder WindowsFolder .:System32
GAC TARGETDIR .:GLOBAL~1|Global Assembly Cache
PrintHoodFolder ProfilesFolder .:PrintH~1|PrintHood
PersonalFolder ProfilesFolder .:Personal
My_Music PersonalFolder MyMusic|My Music
Plugins Modplug_Tracker Plugins
Plugins_ Modplug_Tracker Plugins
TempFolder WindowsFolder .:Temp
Samples Modplug_Tracker Samples
Samples_ Modplug_Tracker Samples
ReleaseNotesImages INSTALLDIR RELEAS~1|ReleaseNotesImages
ProgramFilesFolder TARGETDIR .:Progra~1|Program Files
AdminToolsFolder WindowsFolder .:ADMINT~1|Admin Tools
ProgramMenuFolder StartMenuFolder .:Programs
CommonFilesFolder ProgramFilesFolder .:Common~1|Common Files
Modplug_Tracker2 ProgramMenuFolder MODPLU~3|Modplug Tracker
FavoritesFolder ProfilesFolder .:Favori~1|Favorites
Instruments Modplug_Tracker INSTRU~1|Instruments
StartupFolder ProgramMenuFolder .:Startup
Modplug_Tracker1 AppDataFolder MODPLU~2|Modplug Tracker
RC2 ReleaseNotesImages RC2
extraKeymaps INSTALLDIR EXTRAK~1|extraKeymaps
RC1 ReleaseNotesImages RC1
WinSxS WindowsFolder .:WinSxS
FontsFolder WindowsFolder .:Fonts
CommonAppDataFolder TARGETDIR .:APPLIC~1|Application Data
Instruments_ Modplug_Tracker INSTRU~1|Instruments

Thanks
Mike
Answered 06/15/2006 by: meastaugh1
Senior Purple Belt

Please log in to comment
0
Sounds strange indeed.
I can't say I see anything wrong with your Directory table, at least.
You say it fails when you put it in the Songs directory. What about the Modplug Tracker or My Music directories? Any problems there?
Have you run a validation on the package? That have helped me a few times, digging up some strange errors.
Answered 06/15/2006 by: sikkert
Orange Senior Belt

Please log in to comment
0
Hi,

I think the same issue started to occur when I moved the file up the tree. The validation didn't really give anything useful, other than that I should be using a HKCU entry as the keypath for file I was storing in MyDocs, which I already knew about.

I'm going to try and build the package manually (ie not repackage).

Thanks for the help so far.
Mike
Answered 06/15/2006 by: meastaugh1
Senior Purple Belt

Please log in to comment
3
Did you tried adding set directory CA for songs directory as below

Songs>[N:\My Music\Modplug Tracker\Songs]

or

Songs = [PersonalFolder]My Music\Modplug Tracker\Songs

and also in the default directory column of directory table there are simialar songs dirctory as listed below , remove the un wanted one or differentiate both songs (i.e Songs~1|Songs,Songs~2|Songs)

Songs Modplug_Tracker Songs
Modplug_Tracker My_Music MODPLU~1|Modplug Tracker
Songs_ Modplug_Tracker Songs

Thanks,

Venki
Answered 06/18/2006 by: venki_msi
Senior Yellow Belt

Please log in to comment
0
Hi,

I got the same advice from the Altiris forum. Using the Set Directory custom action works great. Thanks
Answered 06/19/2006 by: meastaugh1
Senior Purple Belt

Please log in to comment
0
Nice one venki_msi.....rated 2 points for that one :)
Answered 06/23/2006 by: MSIMaker
Second Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity