This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- XCopy error 0x80070003
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
May 11, 2010
03:04 PM
XCopy error 0x80070003
When attempting to use XCopyFile to copy files to a backup folder, I get this error code (0x80070003 - The system cannot find the file specified). This only happens if I have files with the following characters in their filename:
ß䵘
Removing all files with those characters does not cause the error to occur. Any help would be appreciated.
We are using InstallShield 2010 with SP1 and hotfix for Windows 2000 install.
Thank you
ß䵘
Removing all files with those characters does not cause the error to occur. Any help would be appreciated.
We are using InstallShield 2010 with SP1 and hotfix for Windows 2000 install.
Thank you
4 Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
May 11, 2010
03:50 PM
The tilde is probably doing it.
Probably would fail with spaces and a few other chars in filespec.
Try putting quotes around the filespec.
Let us Know.
Probably would fail with spaces and a few other chars in filespec.
Try putting quotes around the filespec.
Let us Know.
- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
May 12, 2010
12:57 PM
Sorry made mistake in original post - we are using XCopyFile API from InstallShield not XCopy.
I do not copy files individually
The call to XCopyFile is:
XCopyFile("*.*", "*.*", INCLUDE_SUBDIR)
where the TARGETDIR and SRCDIR were saved via VarSave and restored afterwards via VarRestore
I do not copy files individually
The call to XCopyFile is:
XCopyFile("*.*", "*.*", INCLUDE_SUBDIR)
where the TARGETDIR and SRCDIR were saved via VarSave and restored afterwards via VarRestore
- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
May 12, 2010
04:34 PM
Are you running on Windows 2000? Make sure you have all the code pages installed. My guess is that the characters you mention are not in the active code page, so InstallScript copy fails.
Also, private me your e-mail if you are interested in Beta testing the latest InstallScript.
Also, private me your e-mail if you are interested in Beta testing the latest InstallScript.
- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
May 14, 2010
10:31 AM
Not running on Win2k - this is on Vista
On a similar note, during an upgrade of our software, we read and write to ini files using GetProfString and WriteProfString
The same string ("ßäµ≈") is changed to ("ßäµ~") during that upgrade process.
What happens is that the string is read from the ini file using GetProfString, a string concatenation happens to add another value (e.g "ßäµ≈, Test") and the concatenated string gets written using WriteProfString but the "ßäµ≈" is changed to "ßäµ~".
I verified that the ≈ is in the character map (0x2248) but the ~ character (0x02dc) is not.
On a similar note, during an upgrade of our software, we read and write to ini files using GetProfString and WriteProfString
The same string ("ßäµ≈") is changed to ("ßäµ~") during that upgrade process.
What happens is that the string is read from the ini file using GetProfString, a string concatenation happens to add another value (e.g "ßäµ≈, Test") and the concatenated string gets written using WriteProfString but the "ßäµ≈" is changed to "ßäµ~".
I verified that the ≈ is in the character map (0x2248) but the ~ character (0x02dc) is not.
