• 0 Vote(s) - 0 Average
• 1
• 2
• 3
• 4
• 5
 Copy a file during a Software Installation
2007-01-23, 10:30 AM,
 anthonyb Junior Member Posts: 1 Threads: 1 Joined: Jan 2007 Reputation: 0
Copy a file during a Software Installation
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
2007-01-23, 12:00 PM,
RE: Copy a file during a Software Installation
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"`
or
Code:
`cmd /c COPY /Y "%CDROM%\Software\Sophos\TopLevelCatalogue.dat" "%Programfiles%\Sophos\AutoUpdate\Config\*.*"`
Vitali

2007-01-26, 04:18 PM,
 JosephRB Junior Member Posts: 16 Threads: 6 Joined: Dec 2006 Reputation: 0
RE: Copy a file during a Software Installation
Vitali Wrote: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"`
or
Code:
`cmd /c COPY /Y "%CDROM%\Software\Sophos\TopLevelCatalogue.dat" "%Programfiles%\Sophos\AutoUpdate\Config\*.*"`

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?
2007-01-26, 04:55 PM,
RE: Copy a file during a Software Installation
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?
Vitali

 « Next Oldest | Next Newest »

Forum Jump:

Users browsing this thread: 1 Guest(s)