[wpkg-users] Svar: RE: Danish characters in package definitions

Falko Trojahn nospam_ft at smi-softmark.de
Mon Apr 14 16:38:54 CEST 2008


Dr. Frank Lee schrieb:
>> Since there is no check condition like "do it only if (uninstall string
>> here) is installed"
> 
> But there is, isn't there?
> 
> <check type='logical' condition='not'>
>  <check type='uninstall' path='Uninstall String Here/>
> </check>
> 
> Or have I mis-understood?
> 

You're right :)

Just tried it with the following package, works this way:

<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='w:\updates\journalviewer\deu\setup.exe /q
/c:"msiexec /l* %SystemDrive%\netinst\logs\journalviewer.txt /x
""Microsoft Windows Journal Viewer.msi"" /qn"' />
</package>


Thanx,
Falko



More information about the wpkg-users mailing list