Windows Features
Posted: Thu Sep 20, 2018 4:55 am
I have created an install using InstallAware Studio X8. The installed application requires .NET 3.5, but as that is available as a Windows Feature, I'd rather enable this feature than embedding the application runtimes in my install.
When I run the installer as an admin, all is good. Features are enabled and the product works fine. In order to enable features, I expect that the installer has to run elevated.
I was hoping that if .NET 3.5 is already enabled when I run the install, installer elevation would not be required. None of the apps installed by the installer require elevation to run, so the optimal situation would be that the user installing the product does not to be member of the Administrators group.
However, when I run without elevation, I get a message claiming that Windows Features could not be installed and that I should install these manually. There is no information about which feature(s) that is missing.
Please correct if my assumption about no elevated requirement does not hold. Also, please tell me if there is any way to detect which features could not be enabled. I tried to pass /l argument to the installer, but the resulting log file did not reveal anything, neither in elevated or normal mode.
Thanks in advance,
Morten
When I run the installer as an admin, all is good. Features are enabled and the product works fine. In order to enable features, I expect that the installer has to run elevated.
I was hoping that if .NET 3.5 is already enabled when I run the install, installer elevation would not be required. None of the apps installed by the installer require elevation to run, so the optimal situation would be that the user installing the product does not to be member of the Administrators group.
However, when I run without elevation, I get a message claiming that Windows Features could not be installed and that I should install these manually. There is no information about which feature(s) that is missing.
Please correct if my assumption about no elevated requirement does not hold. Also, please tell me if there is any way to detect which features could not be enabled. I tried to pass /l argument to the installer, but the resulting log file did not reveal anything, neither in elevated or normal mode.
Thanks in advance,
Morten