       else
         callback("#{stdout}\n#{stderr}")
 
-  installModule: (options, pack, modulePath, destination, callback) ->
+  installModule: (options, pack, modulePath, callback) ->
     installArgs = ['--globalconfig', config.getGlobalConfigPath(), '--userconfig', config.getUserConfigPath(), 'install']
     installArgs.push(modulePath)
     installArgs.push("--target=#{@electronVersion}")
     installArgs.push("--arch=#{config.getElectronArch()}")
     installArgs.push('--silent') if options.argv.silent
     installArgs.push('--quiet') if options.argv.quiet
-    installArgs.push('--production') if options.argv.production or options.installInPlace
+    installArgs.push('--production') if options.argv.production
 
     if vsArgs = @getVisualStudioFlags()
       installArgs.push(vsArgs)

    @addBuildEnvVars(env)
    installOptions = {env}
    installOptions.streaming = true if @verbose
    installOptions.cwd = modulePath if options.installInPlace

    installGlobally = options.installGlobally ? true
    if options.installInPlace
      installGlobally = false

    if installGlobally
      installDirectory = temp.mkdirSync('apm-install-dir-')

          commands = []
          for child in fs.readdirSync(nodeModulesDirectory)
            source = path.join(nodeModulesDirectory, child)
            destination = path.join(@atomPackagesDirectory, child)
            do (source, destination) ->
              commands.push (callback) -> fs.cp(source, destination, callback)

