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!
"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)
Please log in to answer
Posted by:
aogilmor
20 years ago
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.
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
Posted by:
MSIMaker
20 years ago
Posted by:
xink22822
20 years ago
Posted by:
GabrielNar
12 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.