Announcement

Collapse
No announcement yet.

Startup doesn't show icons

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Startup doesn't show icons

    Hello,

    I am using NSIS to make an installer for a simple program and I need to start on boot, but whenever I add this option it doesn't load images or translations.

    Here's how it shows up on startup:


    Here's how it should appear:


    Could it be something about the NSIS installer or should I look into the program?

  • #2
    This sound like a problem with the current/working directory. The problem is with the application itself but you can probably work around it in NSIS if you don't care about problems when a user manually starts this application.

    If you are creating a .lnk in the startup folder make sure to use SetOutPath with the correct directory before CreateShortcut...
    IntOp $PostCount $PostCount + 1

    Comment


    • #3
      Use SetOutPath with CreateShortcut as Anders said, but CreateShortcut has own parameter for working directory -> use it.
      Cool looking installers with custom design: www.graphical-installer.com
      Create Setup Pages easily: www.install-designer.com
      Build installers in Visual Studio 2005-2022: www.visual-installer.com
      or RAD Studio 2009 - 11 Alexandria: www.rad-installer.com

      Comment


      • #4
        Originally Posted by T.Slappy View Post
        Use SetOutPath with CreateShortcut as Anders said, but CreateShortcut has own parameter for working directory -> use it.
        CreateShortCut uses $OUTDIR for the working directory and does not have any explicit working directory argument. It does now have a /NoWorkingDir switch to not set any working directory (NSIS 3).

        Stu

        Comment


        • #5
          Originally Posted by Afrow UK View Post
          CreateShortCut uses $OUTDIR for the working directory and does not have any explicit working directory argument. It does now have a /NoWorkingDir switch to not set any working directory (NSIS 3).

          Stu
          Heh my bad. Yes, /NoWorkingDir actually does exactly the opposite thing.
          Cool looking installers with custom design: www.graphical-installer.com
          Create Setup Pages easily: www.install-designer.com
          Build installers in Visual Studio 2005-2022: www.visual-installer.com
          or RAD Studio 2009 - 11 Alexandria: www.rad-installer.com

          Comment

          Working...
          X
          😀
          🥰
          🤢
          😎
          😡
          👍
          👎