I've been trying to get Inno setup to create a working shortcut for my game. However, the shortcut only tells me that it can't find the necessary files when I click on it. The Inno documentation says this about this particular issue:
In virtually all cases, this is something that should be corrected at the application level. Properly designed GUI applications should not expect to be started from a particular directory; they should always specify full pathnames on files they open. In Delphi or C++Builder, for example, it's possible to get the full pathname of the directory containing the application EXE by calling: ExtractFilePath(ParamStr(0)). To get the full path of a file named "File.txt" in the application directory, use: ExtractFilePath(ParamStr(0)) + 'File.txt'.
This is all latin to me, but the documentation also adds this:
If for some reason you cannot fix this at the application level, you can tell Inno Setup to set the "Start In" field by adding "WorkingDir: {app}" to your [Icons] entries.
I've tried all possible ways to insert this to the [Icons] entries, without any success whatsoever. I simply have no idea about how or exactly where it should be added.
Can anybody please help me with this?
Thanks!
Mikaell