--- a/data/flameshot.rc
+++ b/data/flameshot.rc
@@ -4,11 +4,14 @@
 
 #include <windows.h>
 
+#define STRINGIFY_(s) #s
+#define STRINGIFY(s) STRINGIFY_(s)
+
 #define VER_FILEVERSION             FLAMESHOT_VERSION_MAJOR,FLAMESHOT_VERSION_MINOR,FLAMESHOT_VERSION_BUGFIX,FLAMESHOT_VERSION_BUILD
-#define VER_FILEVERSION_STR         FLAMESHOT_VERSION_STRING
+#define VER_FILEVERSION_STR         STRINGIFY(FLAMESHOT_VERSION_STRING)
 
 #define VER_PRODUCTVERSION          FLAMESHOT_VERSION_MAJOR,FLAMESHOT_VERSION_MINOR,FLAMESHOT_VERSION_BUGFIX,FLAMESHOT_VERSION_BUILD
-#define VER_PRODUCTVERSION_STR      FLAMESHOT_VERSION_STRING
+#define VER_PRODUCTVERSION_STR      STRINGIFY(FLAMESHOT_VERSION_STRING)
 
 #ifndef DEBUG
 #define VER_DEBUG                   0
