I built a little installer, which installs to program files. I run the installer and all is good, run the installed .exe and it just disappears. I guess at giving the EXE admin launch rights in Vista and it runs. But why is this needed? This can’t be normal can it?
Share
It may be your application that is crashing, and completely unrelated to Inno Setup. Bear in mind that if your application is installed to
Program Files, it can read but cannot modify files inside the installation directory without administrator privileges.You should instead use the
AppData\Roamingfolder. Perhaps your application is falling over an unhandled exception while writing to a file while access to it is denied?Edit:
To have Inno remove the restrictive permissions on your installation directory, add the following to your Inno Setup script: