Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Copy a file during a Software Installation
2007-01-23, 10:30 AM,
#1
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
Reply
2007-01-23, 12:00 PM,
#2
RE: Copy a file during a Software Installation
Hi,

1. I think cmd \c COPY is wrong, cmd /c COPY is better Wink

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

[Image: wucdcreator.png]
[Image: winfuture.png]
[Image: mysoft.gif]
Reply
2007-01-26, 04:18 PM,
#3
RE: Copy a file during a Software Installation
Vitali Wrote:Hi,

1. I think cmd \c COPY is wrong, cmd /c COPY is better Wink

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?
Reply
2007-01-26, 04:55 PM,
#4
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

[Image: wucdcreator.png]
[Image: winfuture.png]
[Image: mysoft.gif]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)