/build/static/layout/Breadcrumb_cap_w.png

SetupCapture "Cannot copy file"

Having been a WPS 5 user for some time I am now beening faced with the deep joy of having to use v4.01! which although I know has a few bugs do not know how they present themselves. When trying to repackage what seems to be a fairly straight forward app setup capture returns the following messages during the final stage;

"Could not write row in table: Environment" followed by...

"Cannot copy file: the file name you specified is not valid or too long...."

this results in none of the source files being copied across. One of my colleagues advised he'd seen similar things before for which the solution was to re-run the scan, unfortunately this doesn't seem to work in this instance.

I have the following options selected;

Copy Source Files During Installation Save.
Store Source File Pathnames as Relative Pathnames.

Any help or advise would be greatly appreciated!

0 Comments   [ + ] Show comments

Answers (5)

Posted by: aogilmor 20 years ago
9th Degree Black Belt
0
There is a path name length limitation, but not sure if Wise or Windows Installer is responsible for that. I've run across it before.

Unfortunately there's not a lot you can do except modify the install path to one with a shorter name.

Also watch for spaces in the path names. Some Unix/Oracle type apps don't like them. If you must use a path name with spaces use the short file name(s), i.e. c:\progra~1

If you could name the specific app you're trying to package, and more details on how you're packaging it -- maybe somebody already has experience with it.

ORIGINAL: Naffcat

Having been a WPS 5 user for some time I am now beening faced with the deep joy of having to use v4.01! which although I know has a few bugs do not know how they present themselves. When trying to repackage what seems to be a fairly straight forward app setup capture returns the following messages during the final stage;

"Could not write row in table: Environment" followed by...

"Cannot copy file: the file name you specified is not valid or too long...."

this results in none of the source files being copied across. One of my colleagues advised he'd seen similar things before for which the solution was to re-run the scan, unfortunately this doesn't seem to work in this instance.

I have the following options selected;

Copy Source Files During Installation Save.
Store Source File Pathnames as Relative Pathnames.

Any help or advise would be greatly appreciated!

Comments:
  • This is a Windows* OS/file system issue.The cause is directory paths on the drive is longer than 255 characters (including spaces).There's a lot of additional softwares which can fix this problem like Long Path Tool.
    http://PathTooDeep.com - GabrielNar 12 years ago
Posted by: Naffcat 20 years ago
Senior Purple Belt
0
It didn't appear to be path length related, but the work round was to create the MSI from scratch. Not ideal I know.
Posted by: MSIMaker 20 years ago
2nd Degree Black Belt
0
I have seen this error as well and it only occurred when my client setup used a mapped drive and not a UNC path to the Software Manager Repository.

Try reinstalling the client of WPS and use the UNC path and see how it goes.
Posted by: xink22822 20 years ago
Senior Yellow Belt
0
When you begin to capture, you select "Copy Source Files During Installation Save" and specify a "Destination Directory". The path of the Destiatnion Directory must not end with a backslash (\)
Posted by: GabrielNar 12 years ago
White Belt
0

This is a Windows* OS/file system issue.The cause is directory paths on the drive is longer than 255 characters (including spaces).There's a lot of  additional softwares which can fix this problem like Long Path Tool.
http://PathTooDeep.com

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ