myITforum.com Community Forum myITforum.com Community Forum

Home  Forums  Blogs  Live Support chat  Search Articles  Wiki  FAQ  Email Lists  Register  Login  My Profile  Inbox  Address Book  My Subscription  My Forums 

Photo Gallery  Member List  Search  Calendars  FAQ  Ticket List  Log Out

All Forums RSS Feed Subscription:


  


SAV 10.1 via SMS - issues with command line

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
  Printable Version
All Forums >> [Management Products] >> Microsoft Systems Management Server >> SMS 2003 >> SAV 10.1 via SMS - issues with command line Page: [1]
Login
Message << Older Topic   Newer Topic >>
SAV 10.1 via SMS - issues with command line - 10/6/2008 10:06:29 PM   
barkley

 

Posts: 4
Score: 0
Joined: 10/6/2008
Status: offline
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.


< Message edited by barkley -- 10/6/2008 10:09:15 PM >
Post #: 1
RE: SAV 10.1 via SMS - issues with command line - 10/7/2008 11:34:33 AM   
bmason505

 

Posts: 2009
Score: 110
Joined: 1/23/2003
From: Minneapolis, MN
Status: offline
I suppose you could just advertise a .bat file that uses that command line as one easy work around.

_____________________________

Brian Mason
MCSA\MCSE\MS MVP - SCCM
Wells Fargo
http://www.miscusergroup.org/

(in reply to barkley)
Post #: 2
RE: SAV 10.1 via SMS - issues with command line - 10/7/2008 2:45:42 PM   
evalasek


Posts: 22
Score: 0
Joined: 11/16/2007
Status: offline
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


_____________________________

Remember!
No matter where you go.
There you are!
Work Blog

(in reply to bmason505)
Post #: 3
RE: SAV 10.1 via SMS - issues with command line - 10/8/2008 12:46:18 AM   
barkley

 

Posts: 4
Score: 0
Joined: 10/6/2008
Status: offline
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}'
------------------------------------------------------------------------------------------


< Message edited by barkley -- 10/8/2008 3:07:50 AM >

(in reply to evalasek)
Post #: 4
RE: SAV 10.1 via SMS - issues with command line - 10/8/2008 7:09:07 AM   
fault

 

Posts: 32
Score: 2
Joined: 7/21/2008
Status: offline
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"?

(in reply to barkley)
Post #: 5
RE: SAV 10.1 via SMS - issues with command line - 10/8/2008 10:27:27 PM   
barkley

 

Posts: 4
Score: 0
Joined: 10/6/2008
Status: offline
No I didn't enable that function. Could that be the likely cause?

(in reply to fault)
Post #: 6
RE: SAV 10.1 via SMS - issues with command line - 10/9/2008 6:38:08 AM   
fault

 

Posts: 32
Score: 2
Joined: 7/21/2008
Status: offline
Unless you do, nothing will be visible to the console user :)

(in reply to barkley)
Post #: 7
Page:   [1]
All Forums >> [Management Products] >> Microsoft Systems Management Server >> SMS 2003 >> SAV 10.1 via SMS - issues with command line Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts



  
Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.281