When this user attempted to launch installation, he received an error stating:
That error message, I believe, came from the .NET installer, not our MSI file generated by Advanced Installer. And, no doubt, the error message is appropriate, as Admin privileges are required to install .NET. No problems here. However, the next screen the user sees is:You must have administrative privileges to run the Microsoft .NET Framework 3.5 SP1 Setup. Please contact your system administrator.
If the user selected yes, installation of the main features in the package continued as set forth in the Advanced Installer package, and ultimately, the user receives an "installed successfully" message. The problem, of course, is that he then goes to launch the software and gets tons of errors and exceptions because the underlying .NET Framework and CLR runtime are not installed on his machine. This is a problem.INSTALLER INFORMATION: Warning 4154. .NET Framework 3.5 SP1 prerequisite was not correctly installed. Continue installation of (product name)? Yes / No
So my question: What settings are required to halt installation in the event a prerequisite installation fails? I don't want my user to have the option of continuing installation of the product if the prerequisite is not installed correctly. Rather, I'd prefer a message stating that installation cannot be completed until the .NET Framework is successfully installed.
Current Properties for my Prerequisite in Advanced Installer:
- Properties
- Location: URL
- URL: http://download.microsoft.com/download/ ... 5setup.exe
- Command Line: /q /norestart [i][u]Options[/u][/i]
- Force installation of this prerequisite (checked)
- Feature-based prerequisite installs during main MSI install (selected)
- Everything else unchecked
Thanks,
Jeff Strauss (JStrauss)
St. Louis, Missouri, USA
FOLLOW US
Get the latest news in Application Packaging