Raising money by issuing stock for the purpose of modernizing a company is one thing, as an investor I'd be happy to buy such stock.
But I would not buy stock only for the company to do buy-back programs for other shareholders, especially not if the company would be in a worse shape (i.e. less net worth of its assets and debts) afterwards.