alien1980 Posted May 10, 2005 Posted May 10, 2005 Can somebody help me.I'm trying to install Norton Antivirus 2005 silent.This is the script that i'm usingprog[pn]=['Norton Antivirus 2005']uid[pn]=['NORTONANTIVIRUS2005']ordr[pn]=[3]regb[pn]=['REGEDIT /S %CDROM%\\Install\\nav2005\\NAVSETUP.reg']cmd1[pn]=['%CDROM%\\Install\\NAV2005\\NAVSetup.exe /qn /noreboot REBOOT=ReallySuppress']cmd2[pn]=['COPY "%CDROM%\\Install\\Nav2005\\symlcrst.dll" "%systemdrive%\\Program Files\\Common Files\\Symantec Shared\\ccpd-lc\\symlcrst.dll"']dflt[pn]=['yes']cat[pn]=['Internet']everytime when the installation comes at CMD2 (the copy statement), it says that windows can't find copy.I have tried using set copy = "copy.exe" in WPI.cmd and some other .cmd files but nothing works.Can someone help me!Thnx
BoardBabe Posted May 10, 2005 Posted May 10, 2005 First, your line does not say COPY /Y but just COPY, also I don't think your supposed to do it like that man... You got it wrong. Make a batch and run it after install. Thats how I do it, and it works like a charm.
Yzöwl Posted May 10, 2005 Posted May 10, 2005 You could trycmd2[pn]=['CMD /C COPY /Y "%CDROM%\\Install\\Nav2005\\symlcrst.dll" "%ProgramFiles%\\Common Files\\Symantec Shared\\ccpd-lc\\"']
BoardBabe Posted May 10, 2005 Posted May 10, 2005 Yzöwl: You think its better to run commands through WPI like that than to have WPI run a config.cmd after each app?Will you eg. gain any speed advantage by doing it directly through WPI?
Yzöwl Posted May 10, 2005 Posted May 10, 2005 No, I think inf and cmd can do everything I need, no need for all this GUI stuff at all, but each to their own!If however I was using one of these 'other' methods, I think I would try to do as much as possible in it, before 'calling out', more for troubleshooting and maintenance.
bonedaddy Posted May 11, 2005 Posted May 11, 2005 prog[pn]=['<u><font color=#ff9900">Copy to Root</font></u>]desc[pn]=['Copy multiple files to temphold folder and Boot Screens folder on C drive']cmd1[pn]=['%cdrom%\\software\\temphold\\temp_hold.exe']cmd2[pn]=['xcopy /Y /e "%CDROM%\\software\\Bootscr\\*.*" "%systemdrive%\"']dflt[pn]=['yes'] cat[pn]=['<u><font color=#ff9900">Tools</font></u>]ordr[pn]=[580]pn++the above comes out of my wpi and works.........BD
alien1980 Posted May 11, 2005 Author Posted May 11, 2005 Thnx for all the helpI used xcopy instead and it works like a charm
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now