Hi,
Here's what I would ideally like to do:
When the setup starts, I want to detect any installed versions of the .Net framework. I already know how to do this by looking in the registry. I have different merge modules for my software, and by specifying a condition on each feature I can install a specific merge module.
I am installing different versions of my software, one for each version of the .Net CLR (1.1, 2.0, 3.0). Depending on what is available on the user's machine, I want to offer the user the choice:
- if nothing is available, then suggest to install .Net 3.0 and then the 3.0 version of my software (but still allow the user to choose a previous version if required)
- if several versions are available, install to the highest version
- if only 1 version is available, install that version
I have looked into prerequisites, but that does not exactly do what I want: if I set .Net 1.1 as a prerequisite, and the user has v2.0, then he shouldn't have to install the older 1.1 version. The software should just install the 2.0 version instead. I can also not set .Net 2.0 as a prerequisite, because then my users who have 1.1 will not be able to install to their CLR.
I do not want to include all 3 versions of the .Net framework because then my MSI would be too big to download. Ideally the setup would detect what is available, and if necessary download only the requested version of .Net from the internet.
As a side note, my hosting provider does not allow me to put EXE files on my website (for security reasons). MSI files may be allowed, I have not yet checked that.
But ideally I would like to put the .Net runtimes on my website as ZIP files, so that I not only get around this security problem but also have smaller downloads.
Can this be done using Advanced Installer? How would I go about this?
Thanks
Mat
FOLLOW US
Get the latest news in Application Packaging