Old 20th August 2009, 17:08   #1
chiragjain1989
Junior Member
 
Join Date: Aug 2009
Posts: 4
Unhappy 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
chiragjain1989 is offline   Reply With Quote
Old 20th August 2009, 17:35   #2
jpderuiter
Major Dude
 
Join Date: Feb 2007
Posts: 672
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:
code:
SetOutPath "$INSTDIR"
jpderuiter is offline   Reply With Quote
Old 20th August 2009, 18:18   #3
chiragjain1989
Junior Member
 
Join Date: Aug 2009
Posts: 4
@jpderuiter

Thanks for your advice. It worked nicely for me.

chiragjain1989 is offline   Reply With Quote
Old 20th August 2009, 18:53   #4
chiragjain1989
Junior Member
 
Join Date: Aug 2009
Posts: 4
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 is offline   Reply With Quote
Old 20th August 2009, 19:03   #5
chiragjain1989
Junior Member
 
Join Date: Aug 2009
Posts: 4
hi all,

I have resolved the problem.

Thanks
chiragjain1989 is offline   Reply With Quote
Old 20th August 2009, 19:19   #6
jpderuiter
Major Dude
 
Join Date: Feb 2007
Posts: 672
Quote:
Originally posted by chiragjain1989
@jpderuiter
Thanks for your advice. It worked nicely for me.
Graag gedaan ;-)
jpderuiter is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump