Uninstall Notes 6 via commandline

Hi,

Is there a way to uninstall Lotus Notes 6 via the commandline ?

I tried the “msiexec /x” option, but it requires a GUID. This GUID differs between different client versions (6.5.5 and 6.5.6) and different languages (english, french, dutch).

The reason I need to do this:

We have Lotus Notes 6 set up in a multi-language/multi-user configuration. Such installations can not be upgraded. We need to uninstall them, in order to upgrade to Lotus Notes 7.

Subject: Uninstall Notes 6 via commandline SOLVED

I managed to write a little KixTart Script that does the job.

Here it is, in case someone needs it :


FUNCTION UnInstallNotes

$Computer = “.”

$WMIObject = GetObject(“winmgmts:”)

$Collection = $WMIObject.ExecQuery(“SELECT * FROM Win32_Product”)

FOR EACH $Element IN $Collection

    IF INSTR($Element.Caption, "Lotus Notes 6")               

            $UNID = $Element.IdentifyingNumber

            Shell "msiexec /qr REBOOT=SUPPRESS /x" + $UNID

    ENDIF

NEXT

ENDFUNCTION