0

So I finished an app, made an .exe, and the original .exe works, but when I try to install the app, the .exe and shortcuts to the .exe don't work. I get this error message: Failed to execute script (app name)

Is there a solution to this or should I make the installer another way or on another computer? In the meantime, I'll try to look into other options.

Noah
  • 11
  • 3

1 Answers1

0

So I switched to Inno Setup and the first time I built the installer it worked. But after building again, the same error occurred. I eventually tried running the app as admin and it worked, so to fix the issue, I added something in the registry to make the app run as admin by default. This is how you do that.

Noah
  • 11
  • 3
  • or you could just simple right click on the exe file select the compatibility tab and check the run as admin file and then package the application, you wouldn't need to go through the registry inputs. – MoonLight Apr 20 '22 at 10:17