Nova Posted January 11, 2005 Share Posted January 11, 2005 Hello everyone, I am new to MSFN and have been reading up as much as I possibly can. I am in process of making an XP Sp2 Unattended cd. So far so good. 2 problems remaining to be solved in the process. Both Spybot 1.3 and Symantec Antivirus 9.0 fail during runonce. I get the errors cant find file.... They are both in the same install directory as the four other programs I have installing at first logon. This leads me to believe my directory structure is correct. I am down to sheer ignorance Would someone kindly view my file and provide feedback? Thanks in advance to one and all.cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExSET I=%SYSTEMDRIVE%\InstallREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\002 /VE /D "DVD Decrypter 3.5.1.0" /fREG ADD %KEY%\002 /V 1 /D "%systemdrive%\Install\DVDDecrypter\Setup.exe /S" /fREG ADD %KEY%\003 /VE /D "DVD Shrink 3.2" /fREG ADD %KEY%\003 /V 1 /D "%systemdrive%\Install\DVDShrink\Setup.exe /verysilent" /fREG ADD %KEY%\004 /VE /D "Nero 6.6.0.1 Ultra" /fREG ADD %KEY%\004 /V 1 /D "REGEDIT /S %systemdrive%\Install\Nero\register.reg" /fREG ADD %KEY%\004 /V 2 /D "%systemdrive%\Install\Nero\nero6601.exe" /fREG ADD %KEY%\005 /VE /D "Symantec" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\Install\Symantec AntiVirus.msi /S /v/qn" /fREG ADD %KEY%\020 /VE /D "Spybot SD 1.3" /fREG ADD %KEY%\020 /V 1 /D "%systemdrive%\Install\Spybot\spybotsd13.exe /VERYSILENT /NOCANCEL /TASKBARHIDE /AUTOCLOSE" /fREG ADD %KEY%\007 /VE /D "WinRAR 3.40 Corporate Edition" /fREG ADD %KEY%\007 /V 1 /D "%systemdrive%\Install\WinRAR\wrar340.exe /s /W" /fREG ADD %KEY%\008 /VE /D "Importing Registry Tweaks" /fREG ADD %KEY%\008 /V 1 /D "REGEDIT /S %systemdrive%\Install\RegTweaks.reg" /fREG ADD %KEY%\009 /VE /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\009 /V 1 /D "%systemdrive%\Install\cleanup.cmd" /fEXITNova Link to comment Share on other sites More sharing options...
Yzöwl Posted January 11, 2005 Share Posted January 11, 2005 I've no idea about whether the switches are correct, but Symantec Code is missing quotes and backslashes due to spaces in filename.REG ADD %KEY%\005 /VE /D "Symantec" /fREG ADD %KEY%\005 /V 1 /D "\"%systemdrive%\Install\Symantec AntiVirus.msi\" /S /v/qn" /fAlso since you have used 'SET I=%SYSTEMDRIVE%\Install' should your lines not replace %SYSTEMDRIVE%\Install with %I%, for example:REG ADD %KEY%\002 /VE /D "DVD Decrypter 3.5.1.0" /fREG ADD %KEY%\002 /V 1 /D "%I%\DVDDecrypter\Setup.exe /S" /f Link to comment Share on other sites More sharing options...
prathapml Posted January 11, 2005 Share Posted January 11, 2005 Hello Nova,Welcome to MSFN forums! First, winrar does not need the "/W" switch (it doesn't do anything). Just the "/s" is enough.For Symantec Anti-Virus, have you read this topic? linkAbout Spybot, I don't know, maybe someone else will come along who uses it. But I'd say there's no need to install that at all, if you are going to have your machine properly protected from the beginning with an anti-virus and firewall (and SP2, if its WinXP).Do post back with how it works out. Link to comment Share on other sites More sharing options...
Nova Posted January 11, 2005 Author Share Posted January 11, 2005 Thanks for teh rapid replies. More reading... Sheesh. I am atempting one last cd recreation and VM install before sleeping. Been up all night. Thanks again for the link and code suggestions. This forum rocks!Regards,Nova Link to comment Share on other sites More sharing options...
Smiley Posted January 11, 2005 Share Posted January 11, 2005 REG ADD %KEY%\020 /VE /D "Spybot SD 1.3" /fREG ADD %KEY%\020 /V 1 /D "%systemdrive%\Install\Spybot\spybotsd13.exe /VERYSILENT /NOCANCEL /TASKBARHIDE /AUTOCLOSE" /fShouldn't it be numbered 6 instead of 20?REG ADD %KEY%\006 /VE /D "Spybot SD 1.3" /fREG ADD %KEY%\006 /V 1 /D "%systemdrive%\Install\Spybot\spybotsd13.exe /VERYSILENT /NOCANCEL /TASKBARHIDE /AUTOCLOSE" /f Link to comment Share on other sites More sharing options...
durex Posted January 11, 2005 Share Posted January 11, 2005 @ Smileyit really shouldnt matter so long as all of the numbers in the group are the same and no other group is using it.@novaYou may have already done this, but I always test out the syntax of my installs at a command line prior to tossing it into runonceex and having that test it for the 1st time. This way you can play around with the syntax and find out exactly what works... Link to comment Share on other sites More sharing options...
Smiley Posted January 11, 2005 Share Posted January 11, 2005 Since it is numbered 20 shouldn't it run after the cleanup, which I am assuming deletes the spybot install in the %systemdrive%\install folder. Link to comment Share on other sites More sharing options...
prathapml Posted January 11, 2005 Share Posted January 11, 2005 Woo!That's called having a very good eye That's right, the "020" should be "006". Nova please check once again in VMware with this modification and tell us whether it works now. Link to comment Share on other sites More sharing options...
durex Posted January 11, 2005 Share Posted January 11, 2005 Since it is numbered 20 shouldn't it run after the cleanup, which I am assuming deletes the spybot install in the %systemdrive%\install folder.Ha.. thats exactly right. I guess thats the other cirumstance where the order does matter... nice catch! Link to comment Share on other sites More sharing options...
Nova Posted January 12, 2005 Author Share Posted January 12, 2005 REG ADD %KEY%\020 /VE /D "Spybot SD 1.3" /fREG ADD %KEY%\020 /V 1 /D "%systemdrive%\Install\Spybot\spybotsd13.exe /VERYSILENT /NOCANCEL /TASKBARHIDE /AUTOCLOSE" /fShouldn't it be numbered 6 instead of 20?REG ADD %KEY%\006 /VE /D "Spybot SD 1.3" /fREG ADD %KEY%\006 /V 1 /D "%systemdrive%\Install\Spybot\spybotsd13.exe /VERYSILENT /NOCANCEL /TASKBARHIDE /AUTOCLOSE" /f Smiley, thanks very much. Spybot now installs. I am still having some difficulties with Symantec. The install now triggers as I left out the proper directory in the command for install (Corrected). However I now get a pop up box saying that an option needs to be added to the msiexec. I am using the /q /p /n at teh end of the string. options. In other words the install still fails. I tired to get screen capture of the vm with the message. Heh, that didnt work either. I am much closer now thanks to you folks.Best Regards,Nova Link to comment Share on other sites More sharing options...
Nova Posted January 12, 2005 Author Share Posted January 12, 2005 Ahhh! Finally success has found me. Must be a mistake. lol I found that using a "msi" file does not like to have a space in the name of the "msi" file name. Out of the box the installer for Symantec 9.0 CE is named "Symantec Ativirus.msi. Simply deleting the space in the name was part of the answer. (I then chose a shorter name as I am a lousy typist (lazy). Then to use the proper syntax was also helpful. Hehehee. Last but not least this is what was used for silent install on my Unattended_Xp cd for my install of SAV,REG ADD %KEY%\005 /VE /D "Sav" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\Install\Sav\sav9.msi /passive RUNLIVEUPDATE=0 REBOOT=REALLYSUPPRESS" /fThanks go to Prathapml, Smiley, Yzowl, and Durex for your guidance, speedy replies, enthusiasm, and finally the re-inforcement to complete the task at hand. I wish I had joined this forum sooner. Next project is to fill the little bit of space left on the cd (about 16 megs) and add additional reg tweaks. There are some settings for the desktop etc., I would like to integrate into the uA_CD.Respectfully,Nova Link to comment Share on other sites More sharing options...
Sarge Posted January 25, 2005 Share Posted January 25, 2005 REG ADD %KEY%\007 /VE /D "WinRAR 3.40 Corporate Edition" /fREG ADD %KEY%\007 /V 1 /D "%systemdrive%\Install\WinRAR\wrar340.exe /s /W" /fok just bout this, im used to installing Winrar 3.2, but have got this 3.4 version now that im gonna integrate.Just wondering when i install it, it appears to go straight into teh directory of where teh setup file is.THis will be an issue wont it??? Link to comment Share on other sites More sharing options...
Astalavista Posted January 25, 2005 Share Posted January 25, 2005 you switch is wrong/s is the correct switchpls read this new guide i made http://www.msfn.org/board/index.php?showtopic=37499 Link to comment Share on other sites More sharing options...
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