Skip to content
⌘ NSIS Forum Archive

Application desktop shortcuts not running

6 posts

chiragjain1989#

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#
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#
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



Thanks in advance
jpderuiter#
Originally posted by chiragjain1989
@jpderuiter
Thanks for your advice. It worked nicely for me.
Graag gedaan ;-)