Archive: How to turn on or off the windows feature with NSIS? (Please help me)


How to turn on or off the windows feature with NSIS? (Please help me)
Hi everyone,

Here is a problem I have no idea how to solve.

Under OS Vista, if run ****.exe, a warning message appears: You must use "Turn Windows features on or off" in the Control Panel to install or configure *******.

I wanna make an installer which could run ***.exe with NSIS under Vista. How could I solve this problem with NSIS in order to run ***.exe.

Could you please help me? Much thanks!!!

Best Regards
Bardy


You didn't say what "feature" you need, so I'm not sure how you expect anyone here to help...

Most of the time, the "on" or "off" settings of control panel items are stored somewhere in the Windows registry, so all you'd have to do is write the value there. Other times, a process may involve an API call of some sort.

The best way to figure it out is to google the feature you want to turn on or off. MSDN would be another excellent resource.


Many thanks. I will do so.