moxo
23rd July 2003 09:14 UTC
the character / with createshortcut
hello
i write this line:
CreateShortCut "$SMPROGRAMS\${MUI_PRODUCT}\myproduct.lnk" '"$PROGRAMFILES\Microsoft shared\access runtime\msaccess.exe" /runtime "$INSTDIR\myproduct.mdb"' "" "" 0
after i launch my install and when i look properties of y shortcut, i have:
"c:\program files\Microsoft shared\acces runtimes\masaccess.exe" \runtime "c:\product\myproduct.mdb".
the installation change the character / before runtime in a \.
why??
thanks to help me, i search in forum and i don't find the good answer.
kichik
23rd July 2003 13:12 UTC
It's not the installer, it's Windows. See the "I am having problems with CreateShortCut" question in the FAQ.
moxo
23rd July 2003 14:10 UTC
with your answer i write this
CreateShortCut "$SMPROGRAMS\${MUI_PRODUCT}\carat.lnk" "$PROGRAMFILES\Microsoft shared\access runtime\msaccess.exe" "/runtime" "$INSTDIR\myproduct.mdb"
it's not good because now i have in the properties of my shorcut:
"C:\Program Files\Microsoft shared\access runtime\msaccess.exe" /runtime
i don't have "c:\product\myproduct.mdb" in final.
thanks you have an idea
Vytautas
23rd July 2003 14:17 UTC
Should not that be
CreateShortCut "$SMPROGRAMS\${MUI_PRODUCT}\carat.lnk" "path\to\msaccess.exe" "/runtime $INSTDIR\myproduct.mdb"
Vytautas
moxo
23rd July 2003 14:32 UTC
it's good i try and my problem is resolved
CreateShortCut "$SMPROGRAMS\${MUI_PRODUCT}\myproduct.lnk" "$PROGRAMFILES\Microsoft shared\access runtime\msaccess.exe" '/runtime "$INSTDIR\myproduct.mdb"'.
thanks for your help