Dear,

On our site you will not find an uninstalling script for certain software.
Reasons:
  • procedure can be very complex, which needs to deal with rights, permission and
    required feedback.
    Like jhansenjr says he gets an additional program to uninstall it.
  • procedure can be very easy, when you are removing the related shortcuts. Most
    people will not start an application by explorer.
    Also it is very easy to remove or to rename the related file or directory on your
    client. It is also possible to replace related program with a dummy one. Such
    solution can be very easy
    An example for f.e. notepad.exe
    code:
    $eof="~~~ end of file ~~~"
    shell '%comspec% /c dir c:\notepad.exe /b /s >%tmp%\kixtemp.txt'
    shell '%comspec% /c echo $eof >>%tmp%\kixtemp.txt'
    IF (Open(1,"%tmp%\kixtemp.txt",2) = 0)
    $line=Readline(1)
    WHILE (@error = 0) AND (Instr($line,$eof) = 0)
    IF (Instr($line,"\notepad.exe") <> 0)
    COPY \\server\netlogon\dummy.exe $line /H ; - command for replacing it
    ; DEL $line ; - command to remove it
    ENDIF
    $line=Readline(1)
    LOOP
    IF lose(1)
    ENDIF
    ENDIF

  • by virus infections the most common site have already program to clean your
    system.
greetngs.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA