SAV 10.1 via SMS - issues with command line (Full Version)

All Forums >> [Management Products] >> Microsoft Systems Management Server >> SMS 2003



Message


barkley -> SAV 10.1 via SMS - issues with command line (10/6/2008 10:06:29 PM)

I am trying to upgrade our users who have older versions of SAV 10.1 installed (10.1.396.0, 10.1.5000.5) to the latest 10.1.7.7000. My plan is to use SMS 2003 for the distribution. To do so I have taken the contents of the "\\%servername%\VPHOME\CLT-INST\WIN32" (including GRC.dat) directory and copied to the package source directory on my SMS server. I then created a package and program using the setup.

In my testing it worked great with the following command line: "Setup.exe /S /v /qn" (minus the quotes of course). However, when I did some testing with a small circle of users we found some systems would automatically reboot without notice after the upgrade completed (not a good thing).

To avoid this issue, I tried using the following: Setup.exe /S /v"/qn+ REBOOT=ReallySuppress".
It worked perfectly when testing from a DOS command line. The /qn+ switch displays a modal dialogue notifiying the user that the install has completed.

I then attempted to use the above command line in the program for my SMS package but was it was not successful. The setup would run but it would completely ignore the switches inside the quotes (
/qn+ REBOOT=ReallySuppress), meaning there would be no "setup completed" dialog box and the system would automatically reboot upon completion.

Does anyone know how I can get SMS to pass along the switches that are contained within the quotes or any alternative method? Appreciate any help. Thanks.




bmason505 -> RE: SAV 10.1 via SMS - issues with command line (10/7/2008 11:34:33 AM)

I suppose you could just advertise a .bat file that uses that command line as one easy work around.




evalasek -> RE: SAV 10.1 via SMS - issues with command line (10/7/2008 2:45:42 PM)

You could just use the MSI installer.
msiexec.exe  /q ALLUSERS=2 /m MSI3G421 /i "Symantec AntiVirus.msi" INSTALLSERVER=0 ADDLOCAL=ALL NETWORKTYPE=1 SERVERNAME={servername}
ENABLEAUTOPROTECT=1 RUNLIVEUPDATE=0 REBOOT=REALLYSUPPRESS
This should be on all one line.
Just add the package from a Defenition file, the msi, and modify the "Pre-system unattended" program.

Works 100% like a charm on new and upgrades.

Hope this helps,
Mike




barkley -> RE: SAV 10.1 via SMS - issues with command line (10/8/2008 12:46:18 AM)

bmason505

Thanks for the suggestion, I had tried just that this morning. I created a batch file with the below:

@echo off
Setup.exe /S /v"/qn+ REBOOT=ReallySuppress"

SMS ran it no problem and completed the setup but strangely it also never displayed the end modal dialog box (Symantec AntiVirus Setup completed successfully). This appears when doing it directly on a dos command line and is set by the /qn+ switch.



mthaxter

I had previously tried the msiexec.exe route as you suggest but it created some errors on the test clients I was working with and SAV did not install successfully. I had tried the below command lines separately:


msiexec.exe  /q ALLUSERS=2 /m MSI3G421 /i "Symantec AntiVirus.msi" INSTALLSERVER=0 ADDLOCAL=ALL NETWORKTYPE=1 SERVERNAME={servername}
ENABLEAUTOPROTECT=1 RUNLIVEUPDATE=0 REBOOT=REALLYSUPPRESS


msiexec.exe /q ALLUSERS=2 /m MSI3G421 /i "Symantec AntiVirus.msi" INSTALLSERVER=0 ENABLEAUTOPROTECT=1 RUNLIVEUPDATE=0 REBOOT=REALLYSUPPRESS

When going the msiexec route I get a ton of entries in the Application Event Log like below (stating that files are in use so they cannot be overwritten):
------------------------------------------------------------------------------------------
Event ID: 2025 (Source: MsiInstaller)

Product: Symantec AntiVirus. The file C:\Program Files\Common Files\Symantec Shared\ccProSub.dll is being held in use by the following process Name: VPTray , Id 3716.
------------------------------------------------------------------------------------------

Event ID: 1001 (Source: MsiInstaller)

Detection of product '{2085C617-589C-40F8-BE40-EDBC9E2CA2EB}', feature 'SAVMain' failed during request for component '{69ED0C2C-B198-4D8D-A7C1-B699FACF66A5}'
------------------------------------------------------------------------------------------




fault -> RE: SAV 10.1 via SMS - issues with command line (10/8/2008 7:09:07 AM)

quote:

SMS ran it no problem and completed the setup but strangely it also never displayed the end modal dialog box (Symantec AntiVirus Setup completed successfully). This appears when doing it directly on a dos command line and is set by the /qn+ switch.


Did you tick the option to "Allow users to interact with the installation"?




barkley -> RE: SAV 10.1 via SMS - issues with command line (10/8/2008 10:27:27 PM)

No I didn't enable that function. Could that be the likely cause?




fault -> RE: SAV 10.1 via SMS - issues with command line (10/9/2008 6:38:08 AM)

Unless you do, nothing will be visible to the console user :)




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.1875