コード例 #1
0
        private void MyInstaller_AfterUninstall(object sender, InstallEventArgs e)
        {
            string regAll     = @"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run";
            bool   isSuccess  = RegisterTool.DeleteValue(regAll, AppName);
            string regCurrent = @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run";

            isSuccess = RegisterTool.DeleteValue(regCurrent, AppName);
        }