98EXL Posted January 12, 2005 Author Posted January 12, 2005 \REG ADD %KEY%\022 /VE /D "Microsoft Anti-Spyware" /fREG ADD %KEY%\022 /V 1 /D "%PP%MSAntiSpyware\MicrosoftAntiSpywareInstall.msi /quiet /qn" /fthat worked fine for me after all
nzrandom Posted January 12, 2005 Posted January 12, 2005 Thanks for the install info, but after scanning with adaware and spybot, it came up with 5 results, all false positives.
viol8r Posted January 12, 2005 Posted January 12, 2005 I tried this in my batch_filestart /wait %systemdrive%\install\Applications\MSAntispy\MicrosoftAntiSpywareInstall.exe /s /a /s /v"/qb" REBOOT=REALLYSUPPRESSDidn't get an error, but it didn't install.I'll try the REG ADD %KEY%\022 /VE /D "Microsoft Anti-Spyware" /fREG ADD %KEY%\022 /V 1 /D "%PP%MSAntiSpyware\MicrosoftAntiSpywareInstall.msi /quiet /qn" /fin my runonce and see what happens.
viol8r Posted January 12, 2005 Posted January 12, 2005 Yeah, I got a little ahead of myself there, can't do anything with an .MSI I don't have.I did find this site which may be of use to someone smarter than I, that shouldn't take much. MS Antispyware unattended installation scripts
Frank_Sechrist Posted January 12, 2005 Posted January 12, 2005 The /quiet /qn switches with the msi file do not work. I tested on a clean XP install and received the same error as before when starting the program.
Guest r_e_endymion Posted January 12, 2005 Posted January 12, 2005 i've had the same problem and after some analysis i've found that after the unattended install you must call gcasDtServ.exe /regserverexample:start /wait AntiSpyware.msi /qn REBOOT=ReallySuppress ALLUSERS=1 INSTALLDIR=%ProgramFiles%\Tools\Security\AntiSpystart /wait %ProgramFiles%\Tools\Security\AntiSpy\gcasDtServ.exe /regservernow, it works great for me! :-)
Frank_Sechrist Posted January 12, 2005 Posted January 12, 2005 Running gcasDtServ.exe /regserver after the silent install works for me!Thanks r_e_endymion!!
mickmack Posted January 13, 2005 Posted January 13, 2005 and what is the command line for RunOnceEx installation from CD with default install directory?
viol8r Posted January 14, 2005 Posted January 14, 2005 I got it to work in my batch_file using the following;ECHO Please wait...start /wait %systemdrive%\install\Applications\MSAntispy\MicrosoftAntiSpywareInstall.exe /s /a /s /v"/qb"ECHO Please wait...start /wait %systemdrive%\"Microsoft AntiSpyware.msi" /quiet Note: If I remember correctly, I removed a space or two in the original file name MicrosoftAntiSpywareInstall.exe so I didn't have to use " "s.
mickmack Posted January 14, 2005 Posted January 14, 2005 great work! it works for me like thisREG ADD %KEY%\022 /VE /D "Microsoft Antispyware" /fREG ADD %KEY%\022 /V 1 /D "%CDROM%\Software\internet\mantispy.exe /s /a /s /v"/qb" /fREG ADD %KEY%\022 /V 2 /D "%CDROM%\Software\internet\antispy.msi /quiet" /fthank you! r_e_endymion
Mekrel Posted January 14, 2005 Posted January 14, 2005 huh, you two are using the exe and the msi , although that works it would mean having a bigger install directory, your doing different to r_e_endymion's install.
TeT_TaT Posted January 15, 2005 Posted January 15, 2005 mickmackwhat is that file mantispy.exeis it something with Microsoft's AntiSpywareor what cos i wanna use runonceEx
maxXPsoft Posted January 15, 2005 Posted January 15, 2005 I got error 101 when I silent installed straight up the exe so I ran and copied the dir from temp[AntiSpyware_MS]REM NOTES: http://www.microsoft.com/athome/security/spyware/software/default.mspxREM NOTES: Run to first screen and copy all files over from Temp Dir.REG ADD %KEY%\iAdd /VE /D "Microsoft Windows AntiSpyware" /fREG ADD %KEY%\iAdd /V Inum /D "msiexec.exe /I %SystemDrive%\Install\AntiSpyware_MS\AntiSpyware.msi /qn" /fYou can then track everything with InstallWatch Pro and get rhe REG settings
mickmack Posted January 15, 2005 Posted January 15, 2005 TeT_TaT: it's renamed Microsoft Antispyware. by using exe, and than .msi program goes automatically to the tray and starts protecting the PC.
mickmack Posted January 15, 2005 Posted January 15, 2005 maybe it is possible to import this registry key, and than it should workWindows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]"gcasServ"="\"C:\\Program Files\\Microsoft AntiSpyware\\gcasServ.exe\""
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now