Program install needs "My Documents", not "Documents"

vistan22

New Member
Hello,

I'm trying to install Flex Builder 2 onto a Vista x64 machine. The installation fails, but I found this solution on the internet:

The real problem is Vista’s use of the new directory junction point concept. Both the installer and the actual app for Flex Builder need to write into the user’s home directory My Documents folder. However, in Vista, My Documents isn’t a real directory. It is a junction point. Apparently Flex Builder (and Windows Explorer itself) cannot handle junction points. If you run the installer, it will say it finished with errors. If you check the log, sure enough it failed writing to the My Documents folder. I fixed the problem by deleting the My Documents junction point and creating a directory symbolic link to the real Documents folder. This Documents folder is where the My Documents junction point is supposed to be pointing to. Anyway, using:


mklink /d “My Documents” Documents

from inside my home directory solved the problem


How do I go about doing this? Typing mklink /d “My Documents” Documents gives me the following error: "The syntax of the command is incorrect"

I also have no idea how to delete a junction point.

Help!
 

My Computer

Last edited:

My Computer

System One

  • CPU
    T7600G Core2Duo 2.66 Ghz
    Motherboard
    Intel 945PM + ICH7 Chipset
    Memory
    4GB DDR2 PC2-5300 667MHz
    Graphics Card(s)
    Mobility Radeon x1900 256MB
    Sound Card
    Realtek HD
    Monitor(s) Displays
    WUXGA 17"
    Screen Resolution
    1920X1200
    Hard Drives
    640GB 7200RPM SATA/RAID 0 (2x320GB)
    and 320GB 7200RPM External
    Mouse
    Wireless Microsoft 3000
    Internet Speed
    10 mbps/2 mbps
    Other Info
    Optical Drive:
    Panasonic UJ-220 DL BD-RE (Blu-Ray)
Thanks for the replies rive, but I don't really know how to apply the info you gave me.

The adobe link doesn't really address my issue (thanks, though), and I'm still confused as to how/why I should use the mklnk command.

Upon its installation, Flex Builder tells me that "the application installed, but with some errors."
As far as I understand the post I quoted above, the installer requires a "My Documents" folder to exist in the Users/myusername folder.

Vista won't let me name a folder in the Users/myusername folder "My Documents." I actually tried it before, and it said that the contents of that folder would be moved to "Documents." Now, inexplicably, it simply won't let me create a folder by that name, and won't give me an explanatory dialog. I guess it figures I should know by now.

I'm looking to see if there's already a "My Documents" folder that's hidden, and is a simlink to the "Documents" folder, but this doesn't seem to be the case. The OS simply won't let me create a folder by that name, which the Flex installer requires.

How does mklnk figure into this?

Thoughts? Help?

-edit-

I used the program you posted above, rive.
Initially you can only do one thing with it: scan your system for junction points. I did just that, and it found a junction between C:/Users/myusername/Documents and C:/Usera/myusername/My Documents, which was really surprising because "My Documents" doesn't seem to actually exist anywhere. Maybe this is just the nature of juncture points, and they don't show up anywhere, but are simply aliases for folders? I deleted that junction point, tried to install, and (upon trying to launch) was told that there had been an error and I should check c:/Users/myusername/My Documents/Flex Builder 2/.metadata/.log which is a file that doesn't exist.

Forgot to mention that I tried to create a simlink to My Documents, but got an error:

C:\Users\admin>mklink /d "My Documents" Documents
Cannot create a file when that file already exists.
 

My Computer

Back
Top