Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Can't change value of MUI_STARTMENUPAGE_DEFAULT_FOLDER (http://forums.winamp.com/showthread.php?t=251028)

jfix 13th July 2006 15:54

Can't change value of MUI_STARTMENUPAGE_DEFAULT_FOLDER
 
Hello,

I've used the EclipseNSIS plugin to create an initial functioning NSI script. This created among other things the lines

Name MyApp
# [...]
!define MUI_STARTMENUPAGE_DEFAULT_FOLDER $(^Name)

Well, now I wanted to change this value to something else, like this:

!define COMPANY "Company Name"
# [...]
!define MUI_STARTMENUPAGE_DEFAULT_FOLDER "${COMPANY}"

But I can try whatever I do ... when testing the setup.exe the default folder is always MyApp.

Could anybody please tell me what I am doing wrong (should something else be changed as well, is this an immutable value???). I spent a couple of hours on this and found no solution.

Thanks in advance.

Afrow UK 13th July 2006 18:32

Make sure you've put the code above your !insertmacro pages.

-Stu

jfix 17th July 2006 09:36

Hi Stu,

Quote:

Originally posted by Afrow UK
Make sure you've put the code above your !insertmacro pages.

-Stu

I checked that, and it is as it should be.

However, I tried to understand the following and failed :igor:


code:
Var StartMenuGroup
#[...]
!insertmacro MUI_PAGE_STARTMENU Application $StartMenuGroup



Is "Application" some hard-coded symbol, can I change it, why is it called "Application"? When does the StartMenuGroup variable gets its initial default value and from where ...?

I wonder whether it's possible to define a Start menu group that's not just one directory deep, but three. While I know it's possible in theory, I don't know how to do it in NSIS.

Help, please?!

I can provide the nsi file if it helps ...

kichik 19th July 2006 14:56

Quote:

Originally posted by jfix
I can provide the nsi file if it helps ...
Please do.

jfix 19th July 2006 15:11

1 Attachment(s)
Quote:

Originally posted by kichik
Please do.
Here it goes. I had to remove the corresponding page (one cannot choose the start menu group at the moment) because it was really urgent. However, I am still really interested in your comments, as this is the first nsis setup I did.


All times are GMT. The time now is 05:00.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.