![]() |
#1 |
Junior Member
Join Date: Aug 2014
Posts: 1
|
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 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,358
|
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 |
![]() |
![]() |
![]() |
#3 |
Major Dude
|
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-2019: www.visual-installer.com or RAD Studio 2009, 2010, XE-10.4 Sydney: www.rad-installer.com |
![]() |
![]() |
![]() |
#4 | |
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
Quote:
Stu |
|
![]() |
![]() |
![]() |
#5 |
Major Dude
|
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-2019: www.visual-installer.com or RAD Studio 2009, 2010, XE-10.4 Sydney: www.rad-installer.com |
![]() |
![]() |
![]() |
|
Tags |
error, icons, missing, nsis |
Thread Tools | Search this Thread |
Display Modes | |
|
|