Start Menu question
Is just me, but even you choose "Not to install"
shortcuts in the startmenu, it always install it.
Section "${MUI_PRODUCT}" desc2
SetOutPath $INSTDIR
ReadINIStr $0 "$PLUGINSDIR\pc.ini" "PC" "SMS"
StrCmp $0 "1" +2 +1
File "${ResDir}\borrar.txt"
File "${ResDir}\log.htm"
File "${ResDir}\app.exe.manifest"
Rename "$INSTDIR\app.exe.manifest" "$INSTDIR\${main}.exe.manifest"
File /r "${ResFiles}\*.*"
!insertmacro MUI_STARTMENU_WRITE_BEGIN
CreateDirectory "$SMPROGRAMS\${MUI_PRODUCT}"
CreateShortCut "$SMPROGRAMS\${MUI_PRODUCT}\${main}.lnk" \
"$INSTDIR\${main}.exe" "" "$INSTDIR\${main}.exe" \
0 "SW_SHOWNORMAL" "" "Ejecutar ${MUI_PRODUCT}"
CreateShortCut "$SMPROGRAMS\${MUI_PRODUCT}\ayuda.lnk" \
"$INSTDIR\ayuda.${ayuda}" "" "$INSTDIR\ayuda.${ayuda}" \
0 "SW_SHOWNORMAL" "" "Abrir Archivo de ayuda"
CreateShortCut "$SMPROGRAMS\${MUI_PRODUCT}\Desinstalar.lnk" \
"$INSTDIR\desinstalar.exe" "" "$INSTDIR\desinstalar.exe" \
0 "SW_SHOWNORMAL" "" "Desinstalar ${MUI_PRODUCT}"
!insertmacro MUI_STARTMENU_WRITE_END
SectionEnd