Disable check for Application Runtimes while uninstalling
Posted: Mon Jan 15, 2007 11:44 am
Hello!
Checks for Application Runtimes are also performed when a product is uninstalled. It seems to me that this can lead to absurd situations.
For example, I might create a setup project that requires the .NET Framework. A potential customer does not have .NET Framework installed on his computer yet, so it is installed before my own setup logic starts. So far, so well. Later, this customer decides that he doesn't like my program, so he wants to uninstall it, along with the .NET Framework. When the customer uses the control panel, it is perfectly valid that he chooses to uninstall .NET Framework first. In that case, my program cannot be _uninstalled_ without _installing_ .NET Framework again. This is really absurd, and I don't want to expose customers to these difficulties.
I think it is possible to develop a custom setup logic and make use e.g. of the MAINTENANCE, NEEDSUPGRADE or REMOVE variables to avoid the situation described above, i.e. to check for Application Runtimes only when installing. On the other hand, I'm new to InstallAware, and I don't want to start with a blank setup. Is it possible to modify the script code generated by a "Default Project" in the desired way?
Checks for Application Runtimes are also performed when a product is uninstalled. It seems to me that this can lead to absurd situations.
For example, I might create a setup project that requires the .NET Framework. A potential customer does not have .NET Framework installed on his computer yet, so it is installed before my own setup logic starts. So far, so well. Later, this customer decides that he doesn't like my program, so he wants to uninstall it, along with the .NET Framework. When the customer uses the control panel, it is perfectly valid that he chooses to uninstall .NET Framework first. In that case, my program cannot be _uninstalled_ without _installing_ .NET Framework again. This is really absurd, and I don't want to expose customers to these difficulties.
I think it is possible to develop a custom setup logic and make use e.g. of the MAINTENANCE, NEEDSUPGRADE or REMOVE variables to avoid the situation described above, i.e. to check for Application Runtimes only when installing. On the other hand, I'm new to InstallAware, and I don't want to start with a blank setup. Is it possible to modify the script code generated by a "Default Project" in the desired way?