Yeah I think you're somewhat misunderstanding the problem.
A pneumothorax is caused anytime air turns the potential space between the parietal/visceral pleura into an actual space.
This air can come from the outside in (e.g. a trauma, in which the subcutaneous tissue is injured and that injury carries all the way through the parietal pleura, or a pneumothorax from a central line placement). Realistically however in both those instances (i.e. an outside-in injury) both the parietal and visceral pleura will probably be 'penetrated' or injured (and often the underlying lung parenchyma). It's not a clean process.
A pneumothorax can also occur with an inside to out injury - the above example of barotrauma from a ventilator being a great one. In these cases it is the visceral, not parietal, pleura that is primarily insulted.