Results 1 to 14 of 14
  1. #1
    Gold Lounger
    Join Date
    Dec 2000
    Location
    New Hampshire, USA
    Posts
    3,386
    Thanks
    0
    Thanked 0 Times in 0 Posts

    VB 6 Package and Deployment Wizard (VB 6)

    Am I running into a path length limit?
    If so, how do I avoid this.

    When I download http://www.standards.com/Downloads/ChangeFileTimes.zip into, say,
    "L:HK-Files-LDownloads", I can unzip the file and the setup runs properly.

    But if I move ChangeFileTimes.zip to, say,
    "L:Visual Basic CodeProgramsChangeFileTimesPostedFiles-ChangeFileTimes1.1.0.0ChangeFileTimes",
    when I run setup.exe, I get a message asking me to "Please insert disk".

    Is there some path length limit?

    If not what am I doing wrong?

  2. #2
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: VB 6 Package and Deployment Wizard (VB 6)

    Howard

    From what I see the curent path length is 96 characters. Is the zip file a self-extractor? If so is it extracting to a folder with a character path length of 160 characters or more...if not have a look here for ideas
    Jerry

  3. #3
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: VB 6 Package and Deployment Wizard (VB 6)

    ...and then as a matter of experimentation have you tried getting rid of the spaces ,fullstops in the path?


    from:
    Visual Basic CodeProgramsChangeFileTimesPostedFiles-ChangeFileTimes1.1.0.0ChangeFileTimes

    to

    VisualBasicCodeProgramsChangeFileTimesPostedFilesC hangeFileTimesChangeFileTimes1100

    just an idea
    Jerry

  4. #4
    Gold Lounger
    Join Date
    Dec 2000
    Location
    New Hampshire, USA
    Posts
    3,386
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: VB 6 Package and Deployment Wizard (VB 6)

    I have no control over the path from which a user does an install.

  5. #5
    Gold Lounger
    Join Date
    Dec 2000
    Location
    New Hampshire, USA
    Posts
    3,386
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: VB 6 Package and Deployment Wizard (VB 6)

    THe .zip is not a self extractor.
    Where the files get unzipped is a function of the unzip used by the user.
    In my case, I use the usual default of unzipping into a directory created for the files in the directory in which the .zip lives.

  6. #6
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: VB 6 Package and Deployment Wizard (VB 6)

    OK

    I had a look and did an install and then an uninstall as I didn't want start mucking about with my files time settings. I tested an install and was only able to install up to a maximum path length of 120 characters long.

    You are mapped to an L drive....is that your external hard drive that you do your ubiquitous back ups to or is it a server folder? Need more information from you
    Jerry

  7. #7
    Gold Lounger
    Join Date
    Dec 2000
    Location
    New Hampshire, USA
    Posts
    3,386
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: VB 6 Package and Deployment Wizard (VB 6)

    <hr>I had a look and did an install and then an uninstall as I didn't want start mucking about with my files time settings. I tested an install and was only able to install up to a maximum path length of 120 characters long.<hr>

    Thanx.

    There must be some (un)documented path lmit for some component of th esetup program.

    <hr>You are mapped to an L drive....is that your external hard drive that you do your ubiquitous back ups to or is it a server folder? <hr>
    That does not matter.
    The purpose of the PDW is to allow creation of setup package, which the user downloads and then uses to install.
    I've not (yet) seen any documentation of any path restrictions.
    If the install works from one directory, it should work from any other.

    I'll search the MSFt KB, and hope.

  8. #8
    Gold Lounger
    Join Date
    Dec 2000
    Location
    New Hampshire, USA
    Posts
    3,386
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: VB 6 Package and Deployment Wizard (VB 6)


  9. #9
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: VB 6 Package and Deployment Wizard (VB 6)

    Thanks for the link, I found that last night, quite late.

    I will take you up on my question about my point about servers or external hard disks though. The reason I asked is that some servers DO have path length limitations set up on them, this is normally done by the server administrator to stop some applications being installed, so it DOES matter.
    Jerry

  10. #10
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: VB 6 Package and Deployment Wizard (VB 6)

    <img src=/S/cool.gif border=0 alt=cool width=15 height=15>
    Jerry

  11. #11
    Gold Lounger
    Join Date
    Dec 2000
    Location
    New Hampshire, USA
    Posts
    3,386
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: VB 6 Package and Deployment Wizard (VB 6)

    L is not on a server.

    I found another problem.

    I created a path that was 120 characters long, not including the terminating slash.

    Running setup in that directory, error was that setup.lst could not be found.

    I them moved the files up 1 directory level, and things worked.

    Sew, apparently path length is relevant.

    Perhaps there are suggestions in KB 830761?
    It's like pulling teeth to get info from msft.
    Ooops, should not have said that, I had a tooth pulled yesterday!

  12. #12
    Gold Lounger
    Join Date
    Dec 2000
    Location
    New Hampshire, USA
    Posts
    3,386
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: VB 6 Package and Deployment Wizard (VB 6)

    Looks like you may have all your, at least, front teeth.

    None of the KB articeles seemed to help.
    Guess I'lll have to try, say Inno Setup.

  13. #13
    Gold Lounger
    Join Date
    Dec 2000
    Location
    New Hampshire, USA
    Posts
    3,386
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: VB 6 Package and Deployment Wizard (VB 6)

    I ditched using the PDW.

    Built setup.exe using Inno Setup.
    Does not seem to have the path lengh problem.

  14. #14
    Gold Lounger
    Join Date
    Dec 2000
    Location
    New Hampshire, USA
    Posts
    3,386
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: VB 6 Package and Deployment Wizard (VB 6)

    I ditched using PDW.
    Built setup with Inno Setup.
    Path problem seems to be gone.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •