Help for install shield 9
In my project, we need to update a software. In the intall shield file, it removes the existing files before coping from new version. I want to have a backup copy of the data file in the old version before removing the old files. I added a custom action
working directory= WindowFolder
Filename & command line = cmd.exe /c "C:\Program Files\SiiDRILL\Yield Point\installation.bat"
return processing = Synchronous (check exit code)
In-Script Execution = Immediate execution
Execution Scheduling = Always execute
Install Exec Sequence = after installValidate
In the installation.bat :
IF NOT EXIST "C:\Program Files\SiiDRILL\Yield Point\YPData5.mdb" GOTO ENDPROG
mkdir "C:\Program Files\SiiDRILL\Yield Point\BACKUP"
copy "C:\Program Files\SiiDRILL\Yield Point\YPData5.mdb" "C:\Program Files\SiiDRILL\Yield Point\BACKUP\YPData5.mdb"
It failed to copy the database before removing the old files.
Could you please give me some advise.
Thank you very much.
IÃ¢Â€Â™m looking forward to hearing from you.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.