If you’ve ever dealt with MSI (Microsoft Installer) errors, you know how frustrating they can be, especially when you encounter Error 1612. This error typically indicates that the installation source for the product is unavailable. It often appears with the message: "The feature you are trying to use is on a network resource that is unavailable." This blog post will walk you through a PowerShell script I’ve developed to fix this issue.
Understanding MSI Error 1612
MSI Error 1612 usually occurs when the Windows Installer cannot find the installation source of a program. This can happen for several reasons:
- The installation files have been moved or deleted.
- The network location where the installation files reside is unavailable.
- Incorrect registry entries that point to the wrong location.
The PowerShell Solution
To address MSI Error 1612, I developed a PowerShell script that automates the process of fixing the underlying issues. This script is hosted on GitHub and can be accessed here.
The script performs the following actions:
- Create the log file: It generated the MSI log during uninstallation.
- Get exact uninstallation path from log file: Captures the network path or local path where the msiexec is looking for the uninstall file.
- Tweak the uninstall with local MSI file: Using the file placed locally along with script, the script will tweak it to perform the uninstallation.
How to Use the Script
Open README.md file: First, visit the GitHub repository and open readme.md file.
Follow the procedure as per mentioned in readme.md file
Share your feedback/queries on the github or comment here.
0 $type={blogger}:
Post a Comment