Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8573817
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T19:20:13+00:00 2026-06-11T19:20:13+00:00

I got this very odd issue with my NSIS installer, it is showing the

  • 0

I got this very odd issue with my NSIS installer, it is showing the components page/sections, after everything has been installed??

I haven’t got this on an another installer of mine and I can’t figure out what seems to be causing this..

Y.

EDIT:

Code:

; Script generated by the HM NIS Edit Script Wizard.

; HM NIS Edit Wizard helper defines
!define PRODUCT_NAME "SnapShot BK"
!define PRODUCT_VERSION "1.0.4"
!define PRODUCT_PUBLISHER "DataAccess Europe"
!define PRODUCT_WEB_SITE "http://www.dataaccess.eu/"
!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\snapshotbk.exe"
!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
!define PRODUCT_UNINST_ROOT_KEY "HKLM"

; MUI 1.67 compatible ------
!include "MUI.nsh"
!include "Sections.nsh"

; MUI Settings
!define MUI_ABORTWARNING
!define MUI_ICON "C:\Documents and Settings\Yoshi\Desktop\Snapshot BK Installer\Files\snapshot.ico"
!define MUI_UNICON "C:\Documents and Settings\Yoshi\Desktop\Snapshot BK Installer\Files\snapshot.ico"

; Welcome page
!insertmacro MUI_PAGE_WELCOME

; License page
!define MUI_LICENSEPAGE_CHECKBOX
!insertmacro MUI_PAGE_LICENSE "C:\Documents and Settings\Yoshi\Desktop\Snapshot BK Installer\License Agreement.txt"

; Directory page
!insertmacro MUI_PAGE_DIRECTORY

;Variable for the icons_group
var ICONS_GROUP

;Start menu page
!define MUI_STARTMENUPAGE_NODISABLE
!define MUI_STARTMENUPAGE_DEFAULTFOLDER "SnapShot BK"
!define MUI_STARTMENUPAGE_REGISTRY_ROOT "${PRODUCT_UNINST_ROOT_KEY}"
!define MUI_STARTMENUPAGE_REGISTRY_KEY "${PRODUCT_UNINST_KEY}"
!define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "${PRODUCT_STARTMENU_REGVAL}"
!insertmacro MUI_PAGE_STARTMENU Application $ICONS_GROUP

; Instfiles page
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_COMPONENTS

; Finish page
!define MUI_FINISHPAGE_RUN "$INSTDIR\snapshotbk.exe"
!define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\readme.txt"
!insertmacro MUI_PAGE_FINISH

; Uninstaller pages
!insertmacro MUI_UNPAGE_INSTFILES
!insertmacro MUI_UNPAGE_COMPONENTS

; Language files
!insertmacro MUI_LANGUAGE "English"

; MUI end ------

page components
page instfiles

Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
OutFile "C:\Documents and Settings\Yoshi\Desktop\Snapshot BK Installer\Setup.exe"
InstallDir "C:\Appl\SnapShot BK"
InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" ""
ShowInstDetails show
ShowUnInstDetails show

Section  "SnapShot BK AES" SEC01
  SetOutPath "$INSTDIR"
  SetOverwrite ifnewer
  File "C:\Documents and Settings\Yoshi\Desktop\Snapshot BK Installer\Files\snapshotbk.exe"
  CreateDirectory "$SMPROGRAMS\SnapShot BK"
  CreateShortCut "$SMPROGRAMS\SnapShot BK\Snapshot BK.lnk" "$INSTDIR\snapshotbk.exe"
  CreateShortCut "$DESKTOP\Snapshot BK.lnk" "$INSTDIR\snapshotbk.exe"
  File "C:\Documents and Settings\Yoshi\Desktop\Snapshot BK Installer\Files\snapshot.ico"
  File "C:\Documents and Settings\Yoshi\Desktop\Snapshot BK Installer\Files\settings.sts"
  File "C:\Documents and Settings\Yoshi\Desktop\Snapshot BK Installer\Files\readme.txt"
  File "C:\Documents and Settings\Yoshi\Desktop\Snapshot BK Installer\Files\Exclude.txt"
  File "C:\Documents and Settings\Yoshi\Desktop\Snapshot BK Installer\Files\AES\AESauth.sts"
SectionEnd

Section  "SnapShot BK RC4" SEC02
  SetOutPath "$INSTDIR"
  SetOverwrite ifnewer
  File "C:\Documents and Settings\Yoshi\Desktop\Snapshot BK Installer\Files\snapshotbk.exe"
  CreateDirectory "$SMPROGRAMS\SnapShot BK"
  CreateShortCut "$SMPROGRAMS\SnapShot BK\Snapshot BK.lnk" "$INSTDIR\snapshotbk.exe"
  CreateShortCut "$DESKTOP\Snapshot BK.lnk" "$INSTDIR\snapshotbk.exe"
  File "C:\Documents and Settings\Yoshi\Desktop\Snapshot BK Installer\Files\snapshot.ico"
  File "C:\Documents and Settings\Yoshi\Desktop\Snapshot BK Installer\Files\settings.sts"
  File "C:\Documents and Settings\Yoshi\Desktop\Snapshot BK Installer\Files\readme.txt"
  File "C:\Documents and Settings\Yoshi\Desktop\Snapshot BK Installer\Files\Exclude.txt"
  File "C:\Documents and Settings\Yoshi\Desktop\Snapshot BK Installer\Files\RC4\RC4auth.sts"
SectionEnd

Section -AdditionalIcons
  CreateShortCut "$SMPROGRAMS\SnapShot BK\Uninstall.lnk" "$INSTDIR\uninst.exe"
SectionEnd

Section -Post
  WriteUninstaller "$INSTDIR\uninst.exe"
  WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "" "$INSTDIR\snapshotbk.exe"
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)"
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\uninst.exe"
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayIcon" "$INSTDIR\snapshotbk.exe"
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}"
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}"
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}"
SectionEnd


Function un.onUninstSuccess
  HideWindow
  MessageBox MB_ICONINFORMATION|MB_OK "$(^Name) was successfully removed from your computer."
FunctionEnd

Function un.onInit
  MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "Are you sure you want to completely remove $(^Name) and all of its components?" IDYES +2
  Abort
FunctionEnd

Section "Un.SnapShot BK AES" SE01
  Delete "$INSTDIR\uninst.exe"
  Delete "$INSTDIR\Exclude.txt"
  Delete "$INSTDIR\readme.txt"
  Delete "$INSTDIR\settings.sts"
  Delete "$INSTDIR\snapshot.ico"
  Delete "$INSTDIR\snapshotbk.exe"
  Delete "$INSTDIR\AESauth.sts"
  Delete "$INSTDIR\Exclude.txt"
  Delete "$INSTDIR\readme.txt"
  Delete "$INSTDIR\settings.sts"
  Delete "$INSTDIR\snapshot.ico"
  Delete "$INSTDIR\snapshotbk.exe"

  Delete "$SMPROGRAMS\SnapShot BK\Uninstall.lnk"
  Delete "$DESKTOP\Snapshot BK.lnk"
  Delete "$SMPROGRAMS\SnapShot BK\Snapshot BK.lnk"

  RMDir "$SMPROGRAMS\SnapShot BK"
  RMDir "$INSTDIR"

  DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
  DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}"
  SetAutoClose true
SectionEnd

Section "Un.SnapShot BK RC4" SE02
  Delete "$INSTDIR\uninst.exe"
  Delete "$INSTDIR\Exclude.txt"
  Delete "$INSTDIR\readme.txt"
  Delete "$INSTDIR\settings.sts"
  Delete "$INSTDIR\snapshot.ico"
  Delete "$INSTDIR\snapshotbk.exe"
  Delete "$INSTDIR\RC4auth.sts"
  Delete "$INSTDIR\Exclude.txt"
  Delete "$INSTDIR\readme.txt"
  Delete "$INSTDIR\settings.sts"
  Delete "$INSTDIR\snapshot.ico"
  Delete "$INSTDIR\snapshotbk.exe"

  Delete "$SMPROGRAMS\SnapShot BK\Uninstall.lnk"
  Delete "$DESKTOP\Snapshot BK.lnk"
  Delete "$SMPROGRAMS\SnapShot BK\Snapshot BK.lnk"

  RMDir "$SMPROGRAMS\SnapShot BK"
  RMDir "$INSTDIR"

  DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
  DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}"
  SetAutoClose true
SectionEnd
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T19:20:14+00:00Added an answer on June 11, 2026 at 7:20 pm

    Pages are shown in the order the statements Page or !insertmacro MUI_PAGE_xx are listed

    You have misplaced the components page:

    ; Instfiles page
    !insertmacro MUI_PAGE_INSTFILES
    !insertmacro MUI_PAGE_COMPONENTS
    

    Here the page for choosing the components will appear after the file installation progression.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a very weird issue. I've got this Procedure object that contains two
I've got this very odd bug that appears to be a quirk in Visual
I got this code from someone and it works very well, I just want
I posted this very same item on SERVERFAULT, but got no reply. So here
Today I got this question for which I think I answered very bad. I
I asked this question earlier and I got very quick and helpful responses: Linq
This is a followup of a previous question I had. I got the very
We've got this very annoying problem with Scriptaculous and Internet Explorer 7/8. We have
Ruby has this very interesting functionality in which when you create a class with
I have this very strange issue with my MVC 2 project. Often times, I'll

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.