Benefits of Windows Installer Elevated Privileges : A windows installer package deployed by an administrator runs with elevated privileges, in which the installer can perform operations that a locked down user could not perform. An installation running with elevated privileges can write to the program files folder, (c:\program files) where the applications are mostly installed until and unless changed by you., and to HKEY_LOCAL_MACHINE registry Key. Rollback Installation : Windows Installer keeps track of all the changes it makes to a computer. Therefore, if you attempt to add, modify, or remove an application and the action fails, Windows Installer restores the computer to its previous state. The restoration procedure is known as a rollback, When the Windows Installer processes the installation script for the installation of a product or application, it simultaneously generates a rollback script describing the system changes that have been made so far, and saves a copy of every file deleted during the installation. These files are kept in a hidden system directory and are automatically deleted once the installation is successfully completed. If however the installation is unsuccessful, the installer automatically performs a rollback installation that returns the system to its original state. Automatic rollback of an unsuccessful installation is the default behavior of the installer. Advertisement : The Windows Installer can advertise the availability of an application to users or other applications without actually installing the application. If an application is advertised, only the interfaces (Shortcuts) required for loading and launching the application are presented to the user or other applications. If a user or application activates an advertised interface the installer then proceeds to install the necessary components as described in Installation-On-Demand. Self Repair : When a product installed with windows installer is launched from its shortcut, MSI can detect and reinstall missing resources. In addition the add remove program in the control panel supports a repair option for each product which detects and the installs missing data. Transforms : Many of the applications these days are msi’s. the software developer or the vendor is packaging the applications now in MSI. A vendor msi should never be repackaged under any circumstances. We can customize the vendor msi using transforms. |
Friday, March 09, 2007
Labels: Benefits of Windows Installer