<< Click to Display Table of Contents >> RayPack > 7.3 u6 > User Guide > PackDesigner > MSI / MST / RPP Based Projects > Building Packages > Building Microsoft Patches Uninstallable Patches |
The Build options view can be used to customize whether a patch should be uninstallable. Enabling this setting will set the informational attribute to the patch metadata, informing that the patch can be removed once it is installed. However, the actual availability of the removal options depends on number of factors due to Windows Installer limitations.
The patch will be uninstallable if all the following conditions are fulfilled:
1.The checkbox Allow the patch to be removed in the Build options view has been checked
2.The Windows Installer installing the patch package is in version 3.0 or newer
3.The machine policy DisablePatchUninstall is not set on target computer.
4.Patches have to have the MsiPatchMetadata table (RayPack creates this table automatically in the background)
5.The patch has been applied to an application installed in a context for which the user has insufficient privileges to uninstall patches
(see http://msdn.microsoft.com/pl-pl/library/aa372102%28v=vs.85%29.aspx for more information).
6.The patch is not a major upgrade. Major Upgrades of an application should be performed by installing the upgraded application (*.msi file) rather than a patch.
7.The patch does not add new rows to the following tables
•AppId
•BindImage
•Class
•Complus
•CreateFolder
•DuplicateFile
•Environment
•Extension
•Font
•IniFile
•IsolatedComponent
•LockPermissions
•MsiLockPermissionsEx
•MIME
•MoveFile
•MsiServiceConfig
•MsiServiceConfigFailureActions
•ODBCAttribute
•ODBCDataSource
•ODBCDriver
•ODBCSourceAttribute
•ODBCTranslator
•ProgId
•PublishComponent
•RemoveIniFile
•SelfReg
•ServiceControl
•ServiceInstall
•TypeLib
•Verb
When the option Allow the patch to be removed is checked, RayPack will automatically check whether the patch can be marked as removable by analyzing the content of the tables mentioned above. If new content is detected in any of these tables, RayPack will issue a warning, informing that the patch will not be removable even though the setting is enabled.
Be aware: Patches applied to an administrative installation are not uninstallable. |