How to open a folder
Is there something like MUI_FINISHPAGE_RUN that I can use to simply open a folder? Or what else would you suggest?
23 posts
ExecShell "open" "$PLUGINSDIR\source"
seems to work
push $outdir
setoutpath ""
createshortcut "$temp\test.lnk" "$documents"
pop $outdir
works just fine (When I first responded to your post, I just got the "open with" dialog, maybe a shell bug or something, who knows)setoutpath $appdata ;"random" outdir
createshortcut "$temp\nsistest2.lnk" "$programfiles\Internet Explorer"
execshell "" "$temp\nsistest2.lnk"
!define MUI_ICON "$windir\regedit.exe"
!define DESKTOP_NAME "nsislnktest"
!define PRODUCT_NAME "Internet Explorer" ;"Internet Explorer\iexplore.exe" also works fine to start an app
InstallDir $programfiles
Section "MainSection" SEC01
MessageBox MB_YESNO "Would you like to have a shortcut on your desktop?" IDNO +2
Call DesktopShortcut
ExecShell "" "$DESKTOP\${DESKTOP_NAME}.lnk"
Delete "$DESKTOP\${DESKTOP_NAME}.lnk"
SectionEnd
Function DesktopShortcut
SetOutPath $appdata ;"random" outdir
CreateShortCut "$DESKTOP\${DESKTOP_NAME}.lnk" "$INSTDIR\${PRODUCT_NAME}" "" "${MUI_ICON}"
FunctionEnd