Announcement

Collapse
No announcement yet.

Cannot create directory error.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Cannot create directory error.

    When installing on ME; i'm getting an error
    "Cannot create directory c:\windows\system"
    (http://www.jassing.com/temp/ir-createdir.jpg)

    However, the LAST actions prior to installing files is not a create directory line...
    (http://www.jassing.com/temp/ir-LastAction.jpg)

    I did a report, and searched the report, the only directory that is created is %AppDir%\FoxFix5

    The last few lines of the install log are:
    START: Perform action: IF
    Condition = TRUE or FALSE or FALSE
    (On Error) User notification mode = None
    (On Error) Action = Continue
    Result = 0
    END: Perform action: IF

    START: Perform action: Assign Value
    Variable name = %RunTimeDir%
    Value = C:\WINDOWS\SYSTEM

    Evaluate Value as expression = FALSE
    (On Error) User notification mode = None
    (On Error) Action = Continue
    Result = 0
    END: Perform action: Assign Value

    START: Perform action: END IF

    Result = 0
    END: Perform action: END IF


    [Installing from Archive]
    C:\WINDOWS\SYSTEM
    \vfp8r.dll (Installed)
    *ERROR*

    Setup was aborted before completion.

    Any ideas what's going on?

  • #2
    Re: Cannot create directory error.

    another thing.. the vfp8r.dll file wasn't installed...

    Comment


    • #3
      Re: Cannot create directory error.

      More info!

      What I do is
      1) Set a variable (RunTimeDir) to be %commonfiles%\Microsoft shared\VFP
      2) if it's a 9x based system, I change RunTimeDir to %SysDir%

      6 files get installed to %RunTimeDir%

      Doing this; causes a "cannot create c:\windows\system" directory when I install.

      I changed (file properties) of the files to %SysDir% -- I changed NO OTHER ACTIONS ANYWHERE; and it runs thru w/o a problem.

      Comment


      • #4
        Re: Cannot create directory error.

        The following was copied from the response to your other post which is likely the cause:

        "I believe the problem is that you have a carriage return in your Assign Value action. If you look at the "Value" field, and press the down arrow, you will notice that you have a line after %SysDir%. This is causing the error I believe. If you delete the line, I suspect everything will work fine. "

        Comment

        Working...
        X