Archive: Hi-color Icons & Preset Paths


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'?


To set the default directory use this code


; The default installation directory
InstallDir $PROGRAMFILES\Example


Vytautas

I know how to do that, I just wondered if I can use a path outside the Windows or Program Files folder.


Yes you can specify any path using the same command e.g.


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


Vytautas :)

To use icons with more than 16 colors upgrade to NSIS 2. Get it at http://nsis.sf.net/.