Bardy
25th September 2008 08:16 UTC
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
Comperio
25th September 2008 16:49 UTC
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.
Bardy
3rd November 2008 07:47 UTC
Many thanks. I will do so.