X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=contrib%2Fpulseview_cross.nsi.in;h=13a45fe18435746f1f46c1062dd611a2ecb6b2cd;hp=af5c1c68073c251d5492b617b35aa49aff5e7412;hb=fce541c37fc5d265b94c0f690f7d1d177a74d05f;hpb=b8f93b68d70018e3e9d607ca80ac0523c2f9ea7d diff --git a/contrib/pulseview_cross.nsi.in b/contrib/pulseview_cross.nsi.in index af5c1c68..13a45fe1 100644 --- a/contrib/pulseview_cross.nsi.in +++ b/contrib/pulseview_cross.nsi.in @@ -56,7 +56,7 @@ RequestExecutionLevel admin # --- MUI interface configuration --------------------------------------------- # Use the following icon for the installer EXE file. -!define MUI_ICON "@PROJECT_SOURCE_DIR@/icons/sigrok-logo-notext.ico" +!define MUI_ICON "@PROJECT_SOURCE_DIR@/icons/pulseview.ico" # Show a nice image at the top of each installer page. !define MUI_HEADERIMAGE @@ -135,7 +135,6 @@ FunctionEnd # --- Default section --------------------------------------------------------- Section "PulseView (required)" Section1 - # This section is gray (can't be disabled) in the component list. SectionIn RO @@ -199,7 +198,7 @@ Section "PulseView (required)" Section1 "$\"$INSTDIR\Uninstall.exe$\"" WriteRegStr HKLM "${REGSTR}" "InstallLocation" "$\"$INSTDIR$\"" WriteRegStr HKLM "${REGSTR}" "DisplayIcon" \ - "$\"$INSTDIR\sigrok-logo-notext.ico$\"" + "$\"$INSTDIR\pulseview.ico$\"" WriteRegStr HKLM "${REGSTR}" "Publisher" "sigrok" WriteRegStr HKLM "${REGSTR}" "HelpLink" \ "http://sigrok.org/wiki/PulseView" @@ -215,7 +214,6 @@ Section "PulseView (required)" Section1 # Display "Remove" instead of "Modify/Remove" in the control panel. WriteRegDWORD HKLM "${REGSTR}" "NoModify" 1 WriteRegDWORD HKLM "${REGSTR}" "NoRepair" 1 - SectionEnd Section /o "Example data" Section2 @@ -239,7 +237,7 @@ Section /o "Example data" Section2 File "${CROSS}/share/sigrok-dumps/z80/kc85/kc85-20mhz.sr" # Create a shortcut for the example data folder. - CreateShortCut "$SMPROGRAMS\sigrok\PulseView\Examples.lnk" \ + CreateShortCut "$SMPROGRAMS\sigrok\PulseView\Examples (PulseView).lnk" \ "$INSTDIR\examples" "" "$INSTDIR\examples" 0 \ SW_SHOWNORMAL "" "" SectionEnd @@ -248,7 +246,6 @@ SectionEnd # --- Uninstaller section ----------------------------------------------------- Section "Uninstall" - # Always delete the uninstaller first (yes, this really works). Delete "$INSTDIR\Uninstall.exe" @@ -280,6 +277,7 @@ Section "Uninstall" Delete "$SMPROGRAMS\sigrok\PulseView\Uninstall PulseView.lnk" Delete "$SMPROGRAMS\sigrok\PulseView\Zadig (PulseView).lnk" Delete "$SMPROGRAMS\sigrok\PulseView\Zadig (PulseView, Win XP).lnk" + Delete "$SMPROGRAMS\sigrok\PulseView\Examples (PulseView).lnk" # Delete the sub-directory in the start menu. RMDir "$SMPROGRAMS\sigrok\PulseView"