chiragjain1989
20th August 2009 18:08 UTC
Application desktop shortcuts not running
Hi,
I have created an installer script for my python pygtk py2exe application. I have uploaded it at http://pastebin.be/20417
The problem is that when I try to run the application from the desktop and start menu shortcuts it does not run and says something like this:
"""
Run time error.
This application has requested the Runtime to terminate it in an unusual way.
"""
Any one please help me with this.
Thanks in advance
jpderuiter
20th August 2009 18:35 UTC
Are your Start Menu shortcuts working?
I'm not sure, but setting the working directory to "$INSTDIR\data" (with SetOutPath "$INSTDIR\data") might cause the problem.
Try adding the folowing line just before the CreateShortCut command:
SetOutPath "$INSTDIR"
chiragjain1989
20th August 2009 19:18 UTC
@jpderuiter
Thanks for your advice. It worked nicely for me.
:)
chiragjain1989
20th August 2009 19:53 UTC
To all,
Now the application is launching fine from the desktop and start menu shortcut but is not Running after the installation when user checks the Run application option.
I have uploaded it at
http://pastebin.be/20418
Thanks in advance
chiragjain1989
20th August 2009 20:03 UTC
hi all,
I have resolved the problem.
Thanks :)
jpderuiter
20th August 2009 20:19 UTC
Originally posted by chiragjain1989
@jpderuiter
Thanks for your advice. It worked nicely for me.
Graag gedaan ;-)