Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created April 18, 2023 01:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/fec435a0802c5cec97dbc20257e5df85 to your computer and use it in GitHub Desktop.
Save parzibyte/fec435a0802c5cec97dbc20257e5df85 to your computer and use it in GitHub Desktop.
Section "Principal" SEC01
SetOutPath "$INSTDIR"
SetOverwrite ifnewer
File ".\api\${NOMBRE_EJECUTABLE_PROGRAMA}"
File ".\detener\${NOMBRE_EJECUTABLE_DETENER}"
SetOutPath "$INSTDIR\dist"
File /r ".\dist\"
SetOutPath "$INSTDIR"
CreateShortCut "$APPDATA\Microsoft\Windows\Start Menu\Programs\Startup\${PRODUCT_NAME}.lnk" "$INSTDIR\${NOMBRE_EJECUTABLE_PROGRAMA}"
CreateShortCut "$DESKTOP\Desinstalar ${PRODUCT_NAME}.lnk" "$INSTDIR\uninst.exe"
WriteIniStr "$DESKTOP\${PRODUCT_NAME}.url" "InternetShortcut" "URL" "${URL_PROGRAMA}"
SectionEnd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment