totoymola Posted September 28, 2004 Posted September 28, 2004 Hello!I have a problem installing these programs. I just want to install them silently so I use these commands in my RunOnceEx.cmdREG ADD %KEY%\009 /VE /D "Norton Internet Security 2005" /fREG ADD %KEY%\009 /V 1 /D "%SystemDrive%\Install\NIS2005\SYMSETUP.EXE /O REBOOT=ReallySuppress /qb" /fREG ADD %KEY%\010 /VE /D "Norton SystemWorks 2005" /fREG ADD %KEY%\010 /V 1 /D "%SystemDrive%\Install\NSWP2005\NSWSETUP.EXE /O REBOOT=ReallySuppress /qb" /fIt installs the Norton Internet Security 2005 silently. No problem with that. The problem is when the installation of Norton SystemWorks 2005 starts, it saysSetup has detected that a previous Install or Uninstall has been completed but requires a restart. Please restart your computer then launch setup again.What command should I add in between them? Or.. is it really not possible to install these two programs without a restart in between? Thanks.
prathapml Posted September 29, 2004 Posted September 29, 2004 It does look that way. Both the two are extremely bloated, and so require re-boot in-between.But I see two things:1. Use the "/QB" switch - "/O" alone is not enough.2. Deleting the NAV folder (and related objects) from NIS 2005 install, might help. Because it gets installed through NSW as well. So maybe that conflict is what forces a re-boot.
totoymola Posted September 29, 2004 Author Posted September 29, 2004 But I see two things:1. Use the "/QB" switch - "/O" alone is not enough.2. Deleting the NAV folder (and related objects) from NIS 2005 install, might help. Because it gets installed through NSW as well. So maybe that conflict is what forces a re-boot. So what is the exact command that I have to use? I don't it get it. Do I have to changeREG ADD %KEY%\009 /V 1 /D "%SystemDrive%\Install\NIS2005\SYMSETUP.EXE /O REBOOT=ReallySuppress /qb" /fREG ADD %KEY%\010 /VE /D "Norton SystemWorks 2005" /fREG ADD %KEY%\010 /V 1 /D "%SystemDrive%\Install\NSWP2005\NSWSETUP.EXE /O REBOOT=ReallySuppress /qb" /ftoREG ADD %KEY%\009 /VE /D "Norton Internet Security 2005" /fREG ADD %KEY%\009 /V 1 /D "%SystemDrive%\Install\NIS2005\SYMSETUP.EXE /QB REBOOT=ReallySuppress /O" /fREG ADD %KEY%\010 /VE /D "Norton SystemWorks 2005" /fREG ADD %KEY%\010 /V 1 /D "%SystemDrive%\Install\NSWP2005\NSWSETUP.EXE /QB REBOOT=ReallySuppress /O" /fIs that what you are trying to say?If it requires reboot in between the two installation, can I just insert a reboot command in between them? After rebooting, will it continue installing Norton Systemworks? What command exatly is it?REG ADD %KEY%\009 /VE /D "Norton Internet Security 2005" /f
mazin Posted September 30, 2004 Posted September 30, 2004 Hi!Well!AFAIK, this problem is related to temporary files and folders thrown to your %TEMP% directory by NIS and NSW at the time of installation.The second program you install finds those temporary files and folders which were expected to be deleted.Therefore, I think deleting all contents of the %TEMP% directory is a possible solution.You can execute the following batch after the the first installation completes and before the second installation begins.cls@echo offECHO Deleting temporary files and foldersdel %TEMP%\*.*RD /S /Q %TEMP%\EXITPlease, post back whether it works or not.
totoymola Posted September 30, 2004 Author Posted September 30, 2004 I think thats a good idea. I'll try it now. Thanks!
totoymola Posted October 1, 2004 Author Posted October 1, 2004 cls@echo offECHO Deleting temporary files and foldersdel %TEMP%\*.*RD /S /Q %TEMP%\EXITIn a way, it works. It lets the installation of NSW begin. However, I encountered two problems after using this.First, when the command above starts, the command prompt pops up and says:Deleting temprorary files and foldersC:\DOCUME~1\Testing\LOCALS~1\Temp\*.*, Are you sure (Y/N)?This makes the installation not unattended.Second, when the NSW installation begins, it automatically starts the pre-installation virus scan. Please see the picture below.I waited for an hour but it never stopped, so the installation did not continue. Im using this command in my runonceex.cmdREG ADD %KEY%\012 /VE /D "Norton Internet Security 2005" /fREG ADD %KEY%\012 /V 1 /D "%SystemDrive%\Install\NIS2005\SYMSETUP.EXE /O REBOOT=ReallySuppress /qb" /fREG ADD %KEY%\012 /V 2 /D "%SystemDrive%\Install\NIS2005\deltemp.cmd" /fREG ADD %KEY%\013 /VE /D "Norton SystemWorks 2005" /fREG ADD %KEY%\013 /V 1 /D "%SystemDrive%\Install\NSW2005\NSWSETUP.EXE /O REBOOT=ReallySuppress /qb" /fIs there a switch that I can use to prevent the pre-installation virus scan form starting automatically?I'll try to delete the NAV folder inside the NSW installation files, like prathapml said.
mazin Posted October 1, 2004 Posted October 1, 2004 Please, add this line to your batch:cls@echo offECHO Deleting temporary files and foldersattrib -r %TEMP%\*.*del %TEMP%\*.*RD /S /Q %TEMP%\EXITDoing so, you won't have "Are you sure (Y/N)?" showing up.I'm afraid deleting NAV folder inside NSW installation files can make NSW complain. However, you can try it and see what happens.
totoymola Posted October 1, 2004 Author Posted October 1, 2004 Ok, I'll try that. But is there any way to skip the pre-installation scan?Thanks!
totoymola Posted October 2, 2004 Author Posted October 2, 2004 Its still not working.. It still asks me if I really want to delete the temorary files.. And the installation of NSW doesn't continue too..
mazin Posted October 2, 2004 Posted October 2, 2004 Well! No problem. You can add /y to the del command:cls@echo offECHO Deleting temporary files and foldersattrib -r %TEMP%\*.*del %TEMP%\*.* /yRD /S /Q %TEMP%\EXITAlso, add CHECKPREV=0 to command line of NSW. So, it won't check if NAV was installed with NIS. Your command line for installing NSW becomes: /qb /O CHECKPREV=0 REBOOT=ReallySuppressI hope this helps.
totoymola Posted October 2, 2004 Author Posted October 2, 2004 Wow! This is a new one. Im really excited to try this. Thanks mazin!
jambocool Posted October 2, 2004 Posted October 2, 2004 been waiting for this lol.. im trying to do the same as this exept with NSW 04 and NIS 04..
mazin Posted October 2, 2004 Posted October 2, 2004 been waiting for this lol.. im trying to do the same as this exept with NSW 04 and NIS 04..Any progress?
totoymola Posted October 3, 2004 Author Posted October 3, 2004 Still no luck on this.. The NSW installation always gets stucked while initializing..
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