Archive: Use Function .onGUIInit to search already install files like msvbvm60.dll


Use Function .onGUIInit to search already install files like msvbvm60.dll
HI

Is there a way to search a installed file before the dialog is open, and if is not installed, download it from Internet?

Thanks

:p


To download from the internet either use NSISdl (a plugin) to download the files using NSIS or ExecShell open "http://www.website.com/blabla" to open up a web browser.

I recommend you add that as a section and make it read-only if the files are not there.


Using the NSISDl is done but, how to make the installer search for the file?


GetFullPathName is your best choice.