/build/static/layout/Breadcrumb_cap_w.png

Script not working

I have a script to uninstall Firefox.  Here is part of the .xml script

  <dependencies>
    <dependency name="/packages/kbots/684/helper.zip" checksum="29d19f5b7cda1a6c8d31abb4268ef147"  />
  </dependencies>

...

      <launch_program path="$(KACE_DEPENDENCY_DIR)" program="helper.exe" wait="true" parms="/s" />

It downloads helper.zip and unzips it to helper.exe

The error log says:

...\kbots_cache\packages\kbots\684\helper.exe : (2) The system cannot find the file specified.

 

I don't see why it isn't seeing the file. The old Firefox is not deleted. It is very old 3.6 but it is still in Add/Remove programs. It did remove the shortcut and it appears that firefox.exe is gone from the folder. I can manually remove it in add/remove programs.


0 Comments   [ + ] Show comments

Answers (2)

Posted by: dwilliams1307 12 years ago
Purple Belt
0

Have you tried under Scripting/Configuration Policy? 

You can chose the software you want to remove from your dropdown list of inventoried software.  Where it asks for the process to kill, it would be Firefox.exe and the directory to be deleted would be C:\Program Files\Mozilla Firefox

Posted by: philologist 12 years ago
Red Belt
0

Did you zip the executable, or a folder containing the executable?

Unrelated to your problem, you may also need /S or -ms rather than /s.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ