Connecting Tech Pros Worldwide Forums | Help | Site Map

Off topic: Inno Setup & wxPython

Newbie
 
Join Date: Dec 2008
Posts: 28
#1: Sep 17 '09
I don't know where to post it inBytes, but since I'm used to Python forum, I hope someone will help me here. Advices of as to where I should post this are valid!

I have made a project, compiled it with py2exe and packed fine with Inno setup. The setup installs fine and adds both desktop and start menu Icon.

The problem is when I click the shortcuts, I get error as attached image shows "see log for more details" But when I go to program Directory and run the exe manually, It runs fine. I don't know what is wrong with the installer

Thanks for your help
Attached Thumbnails
error.jpg  

micmast's Avatar
Familiar Sight
 
Join Date: Mar 2008
Location: Belgium
Posts: 137
#2: Sep 17 '09

re: Off topic: Inno Setup & wxPython


what is the content of the log file?
Newbie
 
Join Date: Dec 2008
Posts: 28
#3: Sep 17 '09

re: Off topic: Inno Setup & wxPython


contents of the log complains that certain folder is not found.
In fact, the folder is in its place that's why when I run the exe file, it starts with no problem. I think something is wrong in running usng shortcuts

in Inno setup I see option to start application with arguments. Could there be something I'm missing?
micmast's Avatar
Familiar Sight
 
Join Date: Mar 2008
Location: Belgium
Posts: 137
#4: Sep 18 '09

re: Off topic: Inno Setup & wxPython


I think it might be indeed the directory structure. You could change the shortcut a bit, for example launch a bat file that will first cd in the correct directory and then execute the executable.
Newbie
 
Join Date: Dec 2008
Posts: 28
#5: Sep 19 '09

re: Off topic: Inno Setup & wxPython


How do I do that? I can write the .bat file but what about making a shortcut with the same icon (dont like the .bat's windows icon)
micmast's Avatar
Familiar Sight
 
Join Date: Mar 2008
Location: Belgium
Posts: 137
#6: Sep 19 '09

re: Off topic: Inno Setup & wxPython


I'm not on a windows machine, but the bat script would look something like this.

cd "C:\Program Files\folder\to\your\application\"
yourapp.exe

Then you create a shortcut to this bat file and change the icon (right click - properties)
Newbie
 
Join Date: Dec 2008
Posts: 28
#7: Sep 20 '09

re: Off topic: Inno Setup & wxPython


Ok I will try that!
Thanks
Reply

Tags
inno setup, wxpython