Changes

FAQ

840 bytes added, 07:26, 9 January 2008
I installed an application with WPKG. Then, I uninstalled that appliation manually, using Control Panel (Software Add/Remove). WPKG doesn't reinstall those applications, why?
== I installed an application with WPKG. Then, I uninstalled that appliation manually, using Control Panel (Software Add/Remove). WPKG doesn't reinstall those applications, why? ==
You probably uninstalled a package which does not supply appropriate package checks. WPKG, or, offers the possibility to verify the package installation-status by checking the uninstall entries as they show up in the control panel. If you remove a package where you did not define any check WPKG has no possibility to verify if the package is still installed properly. To prevent having to re-install the package each time a local settings file ([[wpkg.jsxml]] to ) will be more precise, maintained by WPKG. This file keeps its own "database" track of all packages installed applications. In a default setup, you will find it in <code>C:\Windows\system32\wpkg.xml</code>.
Before wpkg.js attempts Therefore you should make sure that if ever possible your package contains meaningful checks which allows WPKG to install, upgrade or remove anything, it consults this [[wpkgdetect an uninstalled package in a reliable way.xml]] file to see if any given program In most cases an uninstall check or a file is not installed alreadycheck on an essential application binary (e.g. the main executable) would do the job.
Please read Again: If you do not specify any checks WPKG cannot verify the install state of a package. Therefore it will not be re-installed after manual remove. WPKG simply trusts the package entry within [[wpkg.xml]] for a more thorough description of why such . If you specify checks then it allows WPKG to detect a local database is neededremoved package.
 To skip checking Of course you can also manually remove the <code>corresponding entry within [[wpkg.xml</code>, use a [[WPKG flags|/force flag]] but this is not recommended. Instead you should probably provide a new version of the package with <code>wpkgappropriate checks.js</code>WPKG will then detect that the new version is available and do an upgrade.
== Is there a GUI for WPKG? ==
24
edits