No, the image won't save.
When you install an application in production, it is installed in a folder below the "Program Files" or "Program Files (x86)" folded - and by default these folders are all write protected to help reduce the impact of Trojans, viruses, and so forth.
So when you try to write to it, you get an access violation and the file isn't written there.
While it is possible to get round this, it really isn't recommended - and there is no guarantee that it won't get even more restrictive in future releases of the OS) so the best thing to do is to change where you store data:
Where should I store my data?[
^] should help.