Cisco VPN client uninstall failing -- relevance substitution failed

(imported topic written by Rob_Swalley91)

Hey everyone,

I’m working on a custom command to uninstall an older version of the Cisco VPN client off of some of our workstations and I have created an automated response (in an uninstall.iss file) to help me complete the task. However, when I run this on some test systems I am getting a “relevance substitution filed” error message.

If many of you have ever attempted this with your organizations, would you mind taking a look at my task to help pinpoint what I might be doing wrong here? Any and all help is greatly appreciated.

My uninstall.iss script is located on my workstation and from the target machines I am trying this on, I can indeed get back to the file in question if that makes any difference. The location of this file is: \rivc01sw0755a\c$\3rd Party Patches\VPN_Client_Uninstall\uninstall.iss.

I have tried this with and without the located around the source location of this file as well.

dos C:\WINDOWS\system32\RunDll32.exe C:\PROGRA~1\COMMON~1\INSTAL~1\engine\6\INTEL3~1\Ctor.dll,LaunchSetup “C:\Program Files\InstallShield Installation Information{5624C000-B109-11D4-9DB4-00E0290FCAC5}\Setup.exe” -l0x9 -s -f1"<\rivc01sw0755a\c$\3rd Party Patches\VPN_Client_Uninstall\uninstall.iss>" VpnUninstall

Thank you,

Rob

(imported comment written by SystemAdmin)

Rather than having the client reach out to a share, why don’t you just have the uninstall script download to the machine via BigFix? If the file isn’t very large, you could even write it out into a text file. I think that would make it work a lot better.

Just from taking a look at your current action script, it looks like you are trying to access an administrative share on your machine. The BESClient runs as “SYSTEM” on the local machine and has no rights beyond the box, so it is probably getting a permission denied when it attempts to access the remote administrative share.

Also, don’t use the “DOS” command unless you are actually using a command that is embedded in the command interpreter such as “copy” or “delete”. I actually don’t use “DOS” as all because it pops up a screen on the users side, so I prefer to use “waithidden cmd.exe /c”, which does the same thing except it…waits…and is…hidden.

(imported comment written by BenKus)

Make sure to escape the open bracket by adding another one “{{”…

See http://support.bigfix.com/cgi-bin/kbdirect.pl?id=1230 for more info…

Ben