Ender2070
24th September 2003 23:56 UTC
Shortcut Problems
Currently I just have this for creating a shortcut but i need the working directory to be binwin\ or else it doesnt work.
CreateShortCut "$SMPROGRAMS\Stellar Frontier\Stellar Frontier.lnk" "$INSTDIR\binwin\frontier.exe" "" "$INSTDIR\binwin\frontier.exe" 0
Can anyone help me?
Vytautas
25th September 2003 00:35 UTC
Change the $OUTDIR to the required working directory and then create the shortcut. :)
Vytautas
Ender2070
25th September 2003 01:07 UTC
I don't know how. I also have other shorcuts that won't be using that working directory.
n0On3
25th September 2003 02:44 UTC
this is what you can do:
SetOutPath "$INSTDIR"
CreateDirectory "$SMPROGRAMS\${NAME}"
CreateShortCut "$SMPROGRAMS\${NAME}\Uninstall.lnk" "$INSTDIR\Uninstall.exe"
CreateShortCut "$SMPROGRAMS\${NAME}\Last Log.lnk" "$INSTDIR\Last Log.txt"
SetOutPath "$INSTDIR\somefolder"
CreateShortCut "$SMPROGRAMS\${NAME}\Settings.lnk" "$INSTDIR\Settings.ini"