I have a Basic MSI project installer. When user run a setup then I want to download a EULA file from server and then I want to display it on License Agreement dialog at the time of installation. It's possible in InstallScript installer. But how I can show EULA file dynamically in LicenseAgreement dialog in Basic MSI installer?
0
votes
Downloading things via your setup is a very bad idea. The setup might run on a system with a proxy server for web access and often several firewalls (software, hardware) and perhaps also security software. All these factors can interfere with the download. As could the fact that the user may simply install whilst offline (no wireless connectivity). You should use a different approach, perhaps just link to the online license agreement so that the browser opens. It will generally have the correct proxy settings and hardware details configured.
- Stein Åsmul
Moreover your setup can also be run in silent mode, and you should definitely not have any custom actions trying to access the Internet during a silent install. The whole GUI is skipped in silent mode, but it is easy to misconfigure a custom action which then may trigger a runtime error in silent mode.
- Stein Åsmul
1 Answers
1
votes
You need a custom action to dynamically download the rich text and then update the in memory msi database using temporary views. See:
https://resources.flexera.com/web/pdf/archive/msiaccess.pdf
If you want to use C#/DTF it's more like this:
http://blog.deploymentengineering.com/2008/07/dynamic-windows-installer-ui.html