How to use the regedit.deleteKey function in regedit

To help you get started, we’ve selected a few regedit examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github prey / prey-node-client / lib / agent / utils / storage / windows.js View on Github external
exports.remove_commands = function(db_path, cb) {
  logger.info("REMOVE COMMAND");
  regedit.deleteKey(db_path, function(err) {
    var e = err && err.code != 'ENOENT' ? err : null;
    return cb && cb(e);
    // if (err) {
    //   logger.infologger.info("ERROR deleteKey:", err);
    // }
    // return cb();   
  })
  //cb();
}
github minbrowser / min / main / registryConfig.js View on Github external
return new Promise(function (resolve, reject) {
      regedit.deleteKey(keysToCreate, function (err) {
        if (err) {
          reject()
        } else {
          resolve()
        }
      })
    })
  }

regedit

Read, Write, List and do all sorts of funky stuff to the windows registry using node.js and windows script host

MIT
Latest version published 10 months ago

Package Health Score

64 / 100
Full package analysis