Skip to content
⌘ NSIS Forum Archive

Startup doesn't show icons

5 posts

lpoblet#

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?
Anders#
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...
T.Slappy#
Use SetOutPath with CreateShortcut as Anders said, but CreateShortcut has own parameter for working directory -> use it.
Afrow UK#
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
T.Slappy#
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.