Adding a SubMenu to the Start Menu Group

Got a problem you cannot solve? Try here.
Edhy
Posts: 138
Joined: Sun Jul 31, 2005 4:09 pm
Location: New York, USA

Adding a SubMenu to the Start Menu Group

Postby Edhy » Sun Mar 05, 2006 8:01 pm

Hi, I want to have a Start Menu Group like this: My Company Name\\My Product Name.

I enter that information in the Shortcut Folder of the Project Properties page, but when testing the installation returns an error that the Start Menu Group contains invalid characters.

So how can I make this entry work in InstallAware?

Thanks!
Edhy Rijo
Thom Child and Family Services

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Sun Mar 05, 2006 8:57 pm

Edhy,

There is no Shortcut Folder field in the Create Shortcut command. There is a Link Location field which is what you should be using.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

Edhy
Posts: 138
Joined: Sun Jul 31, 2005 4:09 pm
Location: New York, USA

Postby Edhy » Sun Mar 05, 2006 9:19 pm

Hi Michael,

I am not talking about creating Shortcuts, this is about the Shortcut Folder in the Project Properties page in the Visual IDE.

So when my installation is complete, you should be able to see My Application Folder and then my Shortcuts. Like this:

Start Menu->My Company Name->My Application->My Shortcuts

Right now if I enter in the Shortcut Folder something like:
My Company Name\\My Application

I will get an error.

Hope you can understand my question here.

Thanks.
Edhy Rijo
Thom Child and Family Services

jimo
Posts: 342
Joined: Fri Aug 19, 2005 10:59 am
Location: Atlanta, GA
Contact:

Postby jimo » Mon Mar 06, 2006 10:10 am

Edhy,

In my Shortcuts pane of the IDE I have created all my shortcuts with
$SHORTCUTFOLDER$\\Product Name

I even have several that are three levels deep like
$SHORTCUTFOLDER\\Product Name\\Sub Group

Edhy
Posts: 138
Joined: Sun Jul 31, 2005 4:09 pm
Location: New York, USA

Postby Edhy » Mon Mar 06, 2006 10:47 am

Hi Jimo,

Thanks for jumping here.

It looks like the Pre-Defined Variable $SHORTCUTFOLDER$ does not exist in the demo version I have 5.12 (Build ponderosa_sp2.060222).

Code: Select all

I enter the following in the Shortcut Folder:
$SHORTCUTFOLDER$\\MyCompany Name\\$TITLE$

and when testing I got this:
$SHORTCUTFOLDER$\\MyCompany Name\\My Title

I also looked at the help file and could not find any reference to this variable $SHORTCUTFOLDER$.

This should be simple entering MyCompany Name\\$TITLE$ what am I missing here?

Thanks again!
Edhy Rijo
Thom Child and Family Services

jimo
Posts: 342
Joined: Fri Aug 19, 2005 10:59 am
Location: Atlanta, GA
Contact:

Postby jimo » Mon Mar 06, 2006 3:46 pm

The initial value for shortcut folder is defined in the Project Properties page of the IDE.

The $SHORTCUTFOLDER$ variable is set in the "Main Install" section of the script.

If you use my example in the IDE for the Link Location value it will work as it is designed.


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 173 guests