Tomasz Chmielewski schrieb:
> Andrea Zagli wrote:
>> is there a way to uninstall with wpkg a program not installed with wpkg?
>>
>> i would like to remove the msoffice demo (and others demo) from new pcs
>
> You can create a "msoffice-demov-removal" package, where you would
> have removal instructions (with execute="once")?
>
>
meaning: put the removal instructions within install tags.

You can use execute="once", or  you need a check with "not".

Example:

     <package
        id="nojournalviewer"
        name="Journal Viewer remover"
        revision="1"
        reboot="false"
        priority="99">
        <check type="logical" condition="not" >
                <check type="uninstall" condition="exists"
path="Microsoft Windows-Journal-Viewer" />
        </check>
         <install cmd='%SOFTWARE%\updates\journalviewer\deu\setup.exe /q
/c:"msiexec /l* %SystemDrive%\netinst\logs\journalviewer.txt /x
""Microsoft Windows Journal Viewer.msi"" /qn"' />
    </package>

Regards,
Falko
-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users

Reply via email to