Copy a file during a Software Installation - Printable Version +- Support Forum (https://www.vitaligraf.de/mybb) +-- Forum: Windows Unattended CD Creator (https://www.vitaligraf.de/mybb/forumdisplay.php?fid=9) +--- Forum: English (https://www.vitaligraf.de/mybb/forumdisplay.php?fid=7) +--- Thread: Copy a file during a Software Installation (/showthread.php?tid=287) |
Copy a file during a Software Installation - anthonyb - 2007-01-23 Hi I am tring to do a copy of a file during installation This is what i have in the installation for Sophos "%CDROM%\Software\Sophos\SAU\Sophos AutoUpdate.msi" /quiet" "%CDROM%\Software\Sophos\savxp\sophos anti-virus.msi" /quiet" cmd \c COPY "%CDROM%\Software\Sophos\TopLevelCatalogue.dat" "%Programfiles%\Sophos\AutoUpdate\Config" /y" The install goes OK but can't find any way of copying the file Have tried putting this into a batch file as well COPY "%CDROM%\Software\Sophos\TopLevelCatalogue.dat" "%Programfiles%\Sophos\AutoUpdate\Config" Nothing will work How do i copy a file from CD on anything on the new build? Many thanks Anthony RE: Copy a file during a Software Installation - Vitali - 2007-01-23 Hi, 1. I think cmd \c COPY is wrong, cmd /c COPY is better 2. I think /y" is wrong too, without a quota is better. Is "%Programfiles%\Sophos\AutoUpdate\Config" a file or directory? Try follow: Code: cmd /c COPY /Y "%CDROM%\Software\Sophos\TopLevelCatalogue.dat" "%Programfiles%\Sophos\AutoUpdate\Config\TopLevelCatalogue.dat" Code: cmd /c COPY /Y "%CDROM%\Software\Sophos\TopLevelCatalogue.dat" "%Programfiles%\Sophos\AutoUpdate\Config\*.*" RE: Copy a file during a Software Installation - JosephRB - 2007-01-26 Vitali Wrote:Hi, Where in the interface can you specify such a command to be executed at installation completion? Does it need to be a .bat file that included as another instance of software? RE: Copy a file during a Software Installation - Vitali - 2007-01-26 JosephRB Wrote:Where in the interface can you specify such a command to be executed at installation completion? Does it need to be a .bat file that included as another instance of software?Sorry my english, but I don't understand you. Do you have an example for me? |