I have a Python script that reads an excel spreadsheet. It does so only if the spreadsheet is in the same folder as the script.
Now, when I use py2exe to convert the script to .exe and then copy my .xls file to the dist folder it creates and where the .exe file is, it runs fine. But, when I use InnoSetup to make an installer, and then I copy my .xls file to the program files folder where the main executable is, the program doesn't find my .xls file anymore, even though the .exe and .xls are in the same folder.
What might be the problem?