Sta pise u Properties od shortcut-a, stavka Start in... ?
Treba da bude putanja do pravog EXE-a.
Takodje, bilo bi korisno da ConnectionString kreiras dinamicki, pri cemu je:
ExtractFilePath( ParamStr(0) )
...odnosno:
ExtractFilePath( Application->ExeName )
... referenca za pocetak exe-a.
A ne bi bilo lose i da pogledas FAQ na InnoSetup sajtu:
(My application can't find any of its files when it is started from the shortcut created by Setup. It works fine when I double-click the application's EXE in Explorer.)
http://www.innosetup.com/isfaq.php#workingdir
Obrati paznju na:
Citat:
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.