NewsArchive
01-22-2016, 02:55 AM
Hi Friedrich,
I am trying to copy a file to my install folder. The goal is to copy the
file either from another product installation folder or from a network
share.
It seems no matter what I do the copy is failing.
I have used If File Exists to confirm the file is really there. I've tested
both a network share and a local folder on the system running the install.
The destination folder is the installation folder for the product I'm
installing.
I've tried copying both before and after the Register all pending file
operations in case that had an impact.
The file does not exist in the target folder.
I turned on the SBEvents but it does not include the actual error code for
the copy. Just that it did not succeed. Here are the relevent lines.
|01/21/2016|16:52:12.620|@DISPLAYMESSAGE estimator path C:\Users\rickm_000\Desktop : Debug
|01/21/2016|16:52:14.196|Set Variable %_SB_RETURN% to 1
|01/21/2016|16:52:14.196|@DISPLAYMESSAGE Copying C:\Users\rickm_000\Desktop\ESIMATE.SIN\nto "C:\Program Files\SharpeSoft Email Server" : Debug
|01/21/2016|16:52:17.222|Set Variable %_SB_RETURN% to 1
|01/21/2016|16:52:17.222|@COPYMOVEFILE[1] C:\Users\rickm_000\Desktop\ESIMATE.SIN
|01/21/2016|16:52:17.222|Set Variable %_SB_RETURNEX% to 0
|01/21/2016|16:52:17.222|@DISPLAYMESSAGE Error copying estimate.sin : Debug
Anything you can point me towards?
It seems like this should be really simple but it is kicking my butt.
Thanks,
Rick
I am trying to copy a file to my install folder. The goal is to copy the
file either from another product installation folder or from a network
share.
It seems no matter what I do the copy is failing.
I have used If File Exists to confirm the file is really there. I've tested
both a network share and a local folder on the system running the install.
The destination folder is the installation folder for the product I'm
installing.
I've tried copying both before and after the Register all pending file
operations in case that had an impact.
The file does not exist in the target folder.
I turned on the SBEvents but it does not include the actual error code for
the copy. Just that it did not succeed. Here are the relevent lines.
|01/21/2016|16:52:12.620|@DISPLAYMESSAGE estimator path C:\Users\rickm_000\Desktop : Debug
|01/21/2016|16:52:14.196|Set Variable %_SB_RETURN% to 1
|01/21/2016|16:52:14.196|@DISPLAYMESSAGE Copying C:\Users\rickm_000\Desktop\ESIMATE.SIN\nto "C:\Program Files\SharpeSoft Email Server" : Debug
|01/21/2016|16:52:17.222|Set Variable %_SB_RETURN% to 1
|01/21/2016|16:52:17.222|@COPYMOVEFILE[1] C:\Users\rickm_000\Desktop\ESIMATE.SIN
|01/21/2016|16:52:17.222|Set Variable %_SB_RETURNEX% to 0
|01/21/2016|16:52:17.222|@DISPLAYMESSAGE Error copying estimate.sin : Debug
Anything you can point me towards?
It seems like this should be really simple but it is kicking my butt.
Thanks,
Rick