Skip to content
⌘ NSIS Forum Archive

Hi-color Icons & Preset Paths

5 posts

Hector#

Hi-color Icons & Preset Paths

Is there a way to use icons with more than 16 colors? And how can I set the default path as, for example, 'c:\MyFolder\Subfolder'?
Vytautas#
To set the default directory use this code


; The default installation directory
InstallDir $PROGRAMFILES\Example
Vytautas
Hector#
I know how to do that, I just wondered if I can use a path outside the Windows or Program Files folder.
Vytautas#
Yes you can specify any path using the same command e.g.

; The default installation directory
InstallDir "C:\Path\To\Somewhere\"
Vytautas 🙂