Anyone having the same issue.... I found the solution. So the OneClick extension was the thing. I found out that when you publish your project, the path of the installation is something like the following: C:\Users\UserName\AppData\Local\Apps\2.0\J9OYLD59.Q85\32RP9PX7.B8W\brun...exe_0000000000000000_0001.000b_none_56c17bd12b8e1751
Probably the length, but more likely the exact name (maybe the '.'s) of the path caused some inconsistency in the program. So I solved it using another installator program, where the user can choose where to install the program.