The following warnings occurred:
Warning [2] Trying to access array offset on value of type null - Line: 59 - File: inc/class_session.php PHP 8.2.35 (Linux)
File Line Function
/inc/class_session.php 59 errorHandler->error
/global.php 49 session->init
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.2.35 (Linux)
File Line Function
/global.php 94 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 550 - File: global.php PHP 8.2.35 (Linux)
File Line Function
/global.php 550 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 811 - File: global.php PHP 8.2.35 (Linux)
File Line Function
/global.php 811 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 811 - File: global.php PHP 8.2.35 (Linux)
File Line Function
/global.php 811 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 937 - File: global.php PHP 8.2.35 (Linux)
File Line Function
/global.php 937 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5196 - File: inc/functions.php PHP 8.2.35 (Linux)
File Line Function
/inc/functions.php 5196 errorHandler->error
/global.php 937 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7360 - File: inc/functions.php PHP 8.2.35 (Linux)
File Line Function
/inc/functions.php 7360 errorHandler->error
/inc/functions.php 5216 is_member
/global.php 937 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7360 - File: inc/functions.php PHP 8.2.35 (Linux)
File Line Function
/inc/functions.php 7360 errorHandler->error
/inc/functions.php 5216 is_member
/global.php 937 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.2.35 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.2.35 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.2.35 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.2.35 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.2.35 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.2.35 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key 1 - Line: 866 - File: inc/class_parser.php PHP 8.2.35 (Linux)
File Line Function
/inc/class_parser.php 866 errorHandler->error
/inc/class_parser.php 938 postParser->mycode_parse_post_quotes
[PHP]   postParser->mycode_parse_post_quotes_callback1
/inc/class_parser.php 816 preg_replace_callback
/inc/class_parser.php 451 postParser->mycode_parse_quotes
/inc/class_parser.php 201 postParser->parse_mycode
/printthread.php 179 postParser->parse_message
Warning [2] Undefined array key 1 - Line: 885 - File: inc/class_parser.php PHP 8.2.35 (Linux)
File Line Function
/inc/class_parser.php 885 errorHandler->error
/inc/class_parser.php 938 postParser->mycode_parse_post_quotes
[PHP]   postParser->mycode_parse_post_quotes_callback1
/inc/class_parser.php 816 preg_replace_callback
/inc/class_parser.php 451 postParser->mycode_parse_quotes
/inc/class_parser.php 201 postParser->parse_mycode
/printthread.php 179 postParser->parse_message
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.2.35 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.2.35 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key 1 - Line: 866 - File: inc/class_parser.php PHP 8.2.35 (Linux)
File Line Function
/inc/class_parser.php 866 errorHandler->error
/inc/class_parser.php 938 postParser->mycode_parse_post_quotes
[PHP]   postParser->mycode_parse_post_quotes_callback1
/inc/class_parser.php 816 preg_replace_callback
/inc/class_parser.php 451 postParser->mycode_parse_quotes
/inc/class_parser.php 201 postParser->parse_mycode
/printthread.php 179 postParser->parse_message
Warning [2] Undefined array key 1 - Line: 885 - File: inc/class_parser.php PHP 8.2.35 (Linux)
File Line Function
/inc/class_parser.php 885 errorHandler->error
/inc/class_parser.php 938 postParser->mycode_parse_post_quotes
[PHP]   postParser->mycode_parse_post_quotes_callback1
/inc/class_parser.php 816 preg_replace_callback
/inc/class_parser.php 451 postParser->mycode_parse_quotes
/inc/class_parser.php 201 postParser->parse_mycode
/printthread.php 179 postParser->parse_message



Support Forum
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 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\*.*"



RE: Copy a file during a Software Installation - JosephRB - 2007-01-26

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?


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?