Jump to content

luckycharmsjj

Member
  • Posts

    8
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Russian Federation

About luckycharmsjj

Profile Information

  • OS
    none specified

luckycharmsjj's Achievements

0

Reputation

  1. I'll get that done as soon as they return from the New Year holiday
  2. What about non-profs and schools. I live overseas and volunteer for a non-profit educational institution. I say "work" but it's not like I'm getting paid.
  3. Thanks, myselfidem. I'm out of the office most of the day today, but I'll check it out when I get back and see if this enables me to do what I want.
  4. Actually, you can forget that it's uninstalling anything. I really just need to know how to use the response from the getAntiVirusProduct() call in a command (either embedded in a single command or somehow passed to a second command.
  5. That's helpful, but sparks a couple more questions. First, how do I call the vbscript from WPI. I've never actually written a stand-alone vbscript. I assume I would just save it as a specific filetype, drop it in the Install folder, and point the WPI command to that file. Is that close? Secondly, since getAntiVirusProduct() will return the name of the product and I have a command that will use that name to call the uninstaller from the command line, is there a way to use what is returned by getAntiVirusProduct() in a second command? Is that clear? Can I run a command with getAntiVirusProduct(), store that result, and then use it in the next command that runs my uninstaller?
  6. It depends on where I'm at. It's not just one computer. It depends on what that particular person installed. My larger question is how to do the scripting. For example, how can I use the getAntiVirusProduct() and put the result in a variable to use with another command. My background is in procedural programming and sql databases, but scripting in this form is new. Even if I could write a javascript file, I wouldn't know how to run it from WPI.
  7. I'm new to this program and some of the scripting that it may require. I'm using this to update several computers, and I'm looking for how to create a script to uninstall the current antivirus software before installing a new one. I know I can retrieve the current program using the getAntiVirusProduct() condition, and I've found a command that can uninstall it from the command line: wmic product where name="AntiVirusProduct" call uninstall. My problem is that I'm not sure how to put this into a script or batch or some other form that WPI can use. I'm 100% sure this is simple, but I haven't been able to find an example and don't know how. Thanks in advance for any help.
×
×
  • Create New...