shortcuts Question
Hi
I have an application for which i have $SMPROGRAMS shortcuts to launch the application.
i.e.
CreateShortCut "$SMPROGRAMS\My Program\Website.lnk" "$INSTDIR\${PRODUCT_NAME}.url"
This works well.
I have been trying to add the Version number of the application to make it show in the $SMPROGRAMS shortcuts.
I have been able to add the Version number to the directory but can not have it appear on the shortcuts, I am trying to add it just the same way as I add it to the directory.
Like this for the Directory which works fine:
CreateDirectory "$SMPROGRAMS\My Program ${version}"
and like this for the shortcut which fails to add the version info on to My Program
CreateShortCut "$SMPROGRAMS\My Program ${version}\Uninstall.lnk" "$INSTDIR\uninst.exe"
Is this possable to do this with shortcuts, I would have thought it was as it is a string being added to a string,I would be thankful for any help or if any one can show me what I am doing wrong.
Many Thanks
:confused: