How to disable button in Add/Remove Programs?

来源:互联网 发布:淘宝网店培训课程 编辑:程序博客网 时间:2024/05/29 16:32
 

1.Create a new entry in the registry during installation.

 

HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Uninstall/YourProgram.

 

2.The values are of type REG_DWORD and neet to be set to 1 fro active and 0 for inactive. The values are:

NoRepair     NoMoify      NoRemove