> > Using wpkg 1.2... > > I'm switching our users from Openoffice to LibreOffice. The > file associations will > not change to LO unless OO is uninstalled. Sometimes an > uninstall of OO fails and LO > is installed but then the file associations don't work. Can > I somehow make the > installation of LO depend on the uninstallation of OO? Or is > there some better > way to handle this problem?
With the latest WPKG release candidate this can be done: <install cmd='msiexec /passive /package "%SOFTWARE%\libreoffice\libreoffice34.msi" ...'> <condition> <check type="logical" condition="not"> <check type="file" condition="versionequalto" path="%INSTALL_DIR%\soffice.exe" value="3.3.9556.500" /> </check> </condition> </install> Or: <package id="libreoffice" > <condition> <check type="logical" condition="not"> <check type="file" condition="versionequalto" path="%INSTALL_DIR%\soffice.exe" value="3.3.9556.500" /> </check> </condition> </package /> Find it at http://wpkg.svn.sourceforge.net/viewvc/wpkg/wpkg/stable/src/main/resources/wpkg/ --- Stefan ------------------------------------------------------------------------- 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