Thursday, 4 June 2015

How to install .msi package in SafeMode?

How to install .msi package in SafeMode,

When tried to install any msi package in safemode, it will just display a popup as, Windows Installer service is not running on safemode. Inorder to rectify it, here comes a solution.

If machine is in SafeMode :

1. Open command prompt in admin mode
2. Type the command - REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\MSIServer" /VE /T REG_SZ /F /D "Service"
3. Once the opreation is success, run the command - net start msiserver
4. The windows installer service will be started successfully, which in turn allows to install msi packages.

If machine is in SafeMode with Network :

1. Open command prompt in admin mode
2. Type the command - REG ADD "REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\Network\MSIServer" /VE /T REG_SZ /F /D "Service""
3. Once the opreation is success, run the command - net start msiserver
4. The windows installer service will be started successfully, which in turn allows to install msi packages.

No comments: