> 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? Yours, Frank > you IMHO only can use something like this: > > > <?xml version="1.0" encoding="UTF-8"?> > <packages> > <!-- This package definition was made in order to remove Microsoft > Office 2007 Trial that is preinstalled on some laptops --> > <package id="office2007" name="Microsoft Office 2007 System" > revision="1" reboot="false" priority="10" execute="once"> > <install cmd='cmd.exe /c if exist "%CommonProgramFiles%\Microsoft > Shared\OFFICE12\Office Setup Controller\setup.exe" > "%CommonProgramFiles%\Microsoft Shared\OFFICE12\Office Setup > Controller\setup.exe" /uninstall PROHYBRIDR /dll OSETUP.DLL'> > <exit code="any" /> > </install> > </package> > </packages> > > Or, you put the "if exist ... setup.exe /uninstall ..." in a simple > script and run this > by a execute="once" package. > > The problem is, if you use the check how you tried it, you would install > the package one day (without a "install cmd" in the package, or with > something like "echo ok >c:\mypackage.txt") on all clients, > and remove it the second day. > > Best regards, > Falko > ------------------------------------------------------------------------- > Reporting bugs, all WPKG mailing lists >> http://wpkg.org/Support > _______________________________________________ > wpkg-users mailing list > wpkg-users at lists.wpkg.org > http://lists.wpkg.org/mailman/listinfo/wpkg-users > |