1. I read from the documents that package without .Net can be .msi, but package with .Net has to be setup.exe. This brings some confusion for end users as we will make both packages available to the user, we would prefer having single type extension, only msi for example. I know setup.exe have some more power than msi like pre-reqs, localization etc. Can msi do anything that setup.exe cant? If not, I would prefer having a single compressed setup.exe for my both packages. The only thing I know is that Active Directory can deploy only msi files; not setup.exe. But I believe other tools like SMS, Altiris etc can deploy setup.exe, correct?
2. In my package without .Net, I would like to have an install condition so that package cannot be installed on a machine with no .Net. What is the best practice for that? Doing a System Search? If so, it will not be that straightforward since I have to consider that .NET 4 or 5 might be released in the future. I might need to write a Custom Action for that. Does InstallShield provide a means to check the DotNet other than System Search?
3. Having said that my application requires .Net 3.0 at a minimum, I would like to deploy .Net 3.5 if the target machine doesnt have 3.0. How can I do that?
4. InstallShield creates ISSetupPrerequisites folder for the pre-req, is it possible to compress that folder in the exe as well?
Thanks for any help!
You can look for .NET in a few different ways, including system searches for registry keys (look for the Net Framework Setup\NDP key), or with the MsiNetAssemblySupport property (prepopulated by Windows Installer). Choosing which to use will depend on your needs.
You may be able to modify the prerequisite to only install if both the 3.0 and 3.5 keys are not present; I think the current 3.5 prerequisite only checks the 3.5 key.
The release has a setting on the setup.exe tab to choose where the prerequisites are placed. If you choose "extract from setup.exe" they will be compressed into setup.exe at build.
PreScan and PostScan both are very important which must be performed in order to maintain the system without any issues and errors from any kind of software applications and setup files. On the other hand, you can also have install live tv apps such as aos tv on pc by performing the prescan inside bluestacks and post scan after the installation.