Jump to content

Profiles > Macromedia StudioMX 7 > Dreamweaver


Recommended Posts

Posted

I have roaming profiles and am looking into other ways of doing the profile 'thang'.

 

I made a tiny adjustment: prevent local profile changes from propagating to the server - just to see the effect this would have.

 

Dreamweaver then stopped saving sites. Looking into it, Dreamweaver stores this information in the users profile in the cache directory.

 

Am I correct in assuming therefore that a mandatory profile would not save this information - you'd have to re-set up your site every time you wanted to work on it. And also if I had no profile - ie the local machine profile is used - the same would happen there?

 

I've not found anywhere that there's an option to change the location of the cache - indeed Macromedia recommend re-installing Dreamweaver for this problem.

Posted
Whereabouts is the cache directory? If it is in the root of the profile, then you would need to create your own mechanism of up/downloading from the network at logoff/logon. If it's under Application Data, then redirecting this folder to the network should take care of it.
Posted

%profile folder%\Application Data\Macromedia\Dreamweaver MX 2004\Configuration\SiteCache

 

I see - so this would necessitate this portion of the profile be roaming. In effect.

Posted

Not roaming, just redirected. When you redirect a folder with GP, then next time an affected user logs on, the contents of their folder is moved to the redirected location (\\server\user\%username%\applicationdata). Their registry is modified (HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\AppData) to point to the network location. Any application which keeps data in the application data folder is supposed to ask Windows where the folder is (instead of just going to %USERPROFILE%\Application Data). The application therefore should be unaware of the change.

 

Does this make any sense??!?

  • 1 year later...
Posted

With version 8 of Dreamweaver, it seems the profile data has shifted somewhere else - presumably within the ntuser file as the new profile I created had the mandatory user's folder as it's default save location.

 

Any ideas how to combat this?

Posted

Without even running Dreamweaver as the mandatory user when setting up the profile the home folder location defaults to the Mandatory Profile User location for all users of that profile :(

 

I'm still redirecting the Application Data to the users home folder - which is working fine. The site cache folder there is empty.

Posted

Obvious places to check would be the registry under the HKLM hive and in the Program Files folder/subfolder for Dreamweaver. Looking for anything that might control this.

 

Failing that, break out Regmon and Filemon and trace what it touches on startup.

Posted

My guess would be that what is happening is that the first time Dreamweaver runs, it reads the location of the user's My Docs and persists it in some way (eg by writing it to HKCU or a .INI).

 

According to this, settings are stored in HKCU\Software\Macromedia\Dreamweaver 8

Posted

Thanks AJ for joining in! :)

 

The mpm (mandatory profile manager) settings have gone this morning and the default save locations have reverted to the logged in user area.

 

When you log off your sites disappear again. This isn't so bad as all you do is export the site. It'd be very good to get it working properly tho'.

 

..and it's definately controlled by ntuser.dat/man ..I accidentally ruined one profile as I didn't notice I hadn't renamed it to .man - the site saved.

 

How do you edit the registry settings for the profile? - edit it remotely while the mpm user is logged in?

Posted

From the Pm I sent you:

 

In a logon script I make sure a folder called My Websites exists or I create it in the users home folder. I then get into dreamweaver and create a site that points at z:\My Websites . Z: being their home drive.

That is how I did it setting up a man profile.

Posted
How do you edit the registry settings for the profile? - edit it remotely while the mpm user is logged in?

 

To edit registry settings for MPM, either use REGEDIT whilst logged on to a PC as MPM, or mount the NTUSER.MAN into the HKEY_USERS key whilst it is offline. Don't forget to unload it when you have finished though.

Posted

mpm has the same restrictions as students.

 

mount the NTUSER.MAN into the HKEY_USERS key whilst it is offline

 

Could you explain how?

 

Ta!

Posted

I don't put the same restrictions on my MPM account as students. I have an OU with 'manager' type accounts, and MPM resides there. I have a seperate OU for students and that's where the restrictions are applied.

 

Offline edit of a .MAN file...

 

1 - Using an XP or 2K3 machine, launch REGEDIT

2 - Select the HKEY_USERS key

3 - Open the File menu and select Load Hive...

4 - Browse to an NTUSER.DAT or NTUSER.MAN, select it and click Open

5 - You will need to enter a name to identify the hive (eg MPM) then OK

6 - The user registry can now be edited under HKEY_USERS\(name you entered).

7 - When finished, select the (name you entered) node under HKEY_USERS

8 - Open the File menu and select Unload Hive...

9 - Click Yes

10 - Close REGEDIT

 

Job Done.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...