Archive: Unattended install with Moder UI


Unattended install with Moder UI
Hi,

I've created an installer with HM NIS Edit that creates an installer with the Modern UI. All went fine and manual install also goes fine.

But with unattended install (/S), the icons in the start menu are placed in the Programs map instead of the <COMPANY>/<APPLICATION> sub-map. No maps are created.

Is this a known problem? I tried both NSIS 2.0 as the pre-build version of 2004-07-29.

Regards,

Bas.


Can you attach a simple script that reproduces the problem and compiles on every system?


More information
Here is an example script. I've removed some names and paths to make it easier to reproduce the installer.

You need a Test.exe and MyApp.dll to create the package.


You're not using the MUI_STARTMENU_WRITE_BEGIN and MUI_STARTMENU_WRITE_END macros. Please check the examples.


OK, that fixed the problem.

Isn't it strange that it makes a differce whether you are using /S or not?

But anyway, this is a HM NIS Edit bug. So I'll report it there.

Thanks for your quick help.