Sign in to follow this  
Followers 0
dufran3

Uninstall Strings are my ENEMY!

2 posts in this topic

I am trying to execute a uninstall string found in the registry:

C:\UCCLIE~1\UNWISE.EXE C:\UCCLIE\INSTALL.LOG

Above is the exact command that is found for the application. I verify the directories are there, and it looks good. I would like to execute it like this.

C:\UCCLIE~1\UNWISE.EXE /s C:\UCCLIE\INSTALL.LOG

Adding a /s switch to it. However, with or without the switch I cannot execute it. I get an error saying: " ==> Unable to execute the external program.: The directory name is invalid"

I can open up and command prompt, and enter in either command, and it executes fine. Any ideas? Below are the ways I have tried running it.

$uninstallstring = 'C:\UCCLIE~1\UNWISE.EXE C:\UCCLIE\INSTALL.LOG'oÝ÷ Ù«­¢+Ø)IÕ¹]¥Ð¡
½µMÁµÀìÅÕ½Ðì½ÌäíèÀäÈíU

1%øÄÀäÈíU9]%M¹aèÀäÈíU

1%ÀäÈí%9MQ10¹1=ÌäìÅÕ½Ðì¤oÝ÷ Ù«­¢+ÙIÕ¸¡
½µÍÁµÀìÅÕ½Ðì½ÅÕ½ÐìµÀìÅÕ½ÐíÍÑÉÐÅÕ½ÐìµÀìÀÌØíÕ¹¥¹Íѱ±ÍÑÉ¥¹°ÅÕ½ÐìÅÕ½Ðì±M]}!%oÝ÷ Ù«­¢+ÙIÕ¹]¥Ð ÀÌØíÕ¹¥¹Íѱ±ÍÑÉ¥¹

Can't get any of these to work. Help please!

Share this post


Link to post
Share on other sites



Well, maybe this will be helpful to everyone here. Add the stinking working dir.!!!! ARG....

$uninstallstring = 'C:\UCCLIE~1\UNWISE.EXE C:\UCCLIE\INSTALL.LOG'
$workingdir = 'C:\UCCLIE~1\'

RunWait($uninstallstring,$workingdir)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0