I'm not sure if you want a pure offline solution, or whether an online solution could work as well. Most OpenSource (aka free) shopping carts have strock control built in already.
In fact, you could download a free WAMP server to your PC, download something like OpenCart (simple to use) and have a stock control system that costs nothing. Many web developers can support it so your not tied into expensive support contracts either.