I'm trying to create an Add-On that will copy a file-folder & files to a specific location on the system drive. I've provided a brief example of what I'm trying to do.
1. First is a directory tree of the file-folder & files I want to copy. The folder names are in upper-case & are preceded by an asterisk. The file names are in lower-case & are preceded by a #-sign.
2. Second is a sample of the CMD/BAT file which I converted into an EXE file using BAT-to-EXE-Converter.
I created an 'svcpack' folder that contains the 'START_MENU_SHORTCUTS' directory & files plus the 'FILES-TO-COPY.EXE' command. My 'entries.ini' file contains:
[EditFile]
I386\SVCPACK.INF,SetupHotfixesToRun,AddProgram
[AddProgram]
FILES-TO-COPY.exe
I used 'AlphaZIP' to create a CAB file taking in both "svcpack" & "entries.ini". For some reason, this causes the XP Pro Set-Up process to run through set-up, Windows start-up (file copying) & quit with a message stating 'there is a problem with set-up & to contact your administrator' just before the point where the PC is suppose to re-boot to bring up XP for the first time.
What's the correct way to turn this into an Add-On file for my XP PRO Slipstream CD?
Please keep in mind, this is just a simple example; my end product will be much more involved and considerably larger. Thanks in advance for your time & assistance.
======================================================
FILE-FOLDER & FILES TO BE COPIED TO C:\Documents and Settings\All Users\Start Menu\Programs
-------------------------------------------------------------------------------------
* START_MENU_SHORTCUTS
* DRIVER-UPDATES======================================================* DRIVERGUIDE-TOOLKIT* FTP-FILESHARE-&-P2P# driverguide-toolkit-home-page.lnk
# driverguide-toolkit.lnk# free-rapid-downloader.lnk
* MSG-&-CDs# msg-&-cds--common-ctop-messages.lnk
# msg-&-cds--device-manager-error-codes.lnk
# msg-&-cds--security-event-messages.lnk
* SECURITY-&-CLEANERS
* AVG-ANTI-VIRUS# avg-free-user-interface.lnk
# avg-kill.lnk
# avg-start.lnk
# uninstall-avg-free.lnk
* CCLEANER# ccleaner-homepage.url
# ccleaner.lnk
# uninstall-ccleaner.lnk
* MS-MRT-PGM# downloaded-ms-mrt-pgm.lnk
# ms-mrt-web-site.url
* SYSTEM-INFO# belarc-advisor.lnk
# win-sys-info.lnk
FILES-TO-COPY.CMD
-------------------------------------------------------------------------------------
set PrimDrive=%SystemDrive%
xcopy "START_MENU_SHORTCUTS"
"%PrimDrive%\Documents and Settings\All Users\Start Menu\Programs" /E /C /R /I
======================================================