Discussion:
[WiX-users] How to create folders and shortcuts in the Start Menu? (Wix 3.0)
Erich Buhler
2007-03-15 10:40:31 UTC
Permalink
Hi guys,
I couldn't find any working example of how to create a folder in the Start
Menu and then include some shortcuts inside. It looks to be quite easy, but
I
couldn't find the way to do that.

Does anybody have any good example?

Thanks,
Erich.
--
View this message in context: http://www.nabble.com/How-to-create-folders-and-shortcuts-in-the-Start-Menu--%28Wix-3.0%29-tf3407487.html#a9491889
Sent from the wix-users mailing list archive at Nabble.com.
Levi Wilson
2007-03-15 14:09:08 UTC
Permalink
You should check out the tutorial linked off of the wix.sourceforge.netpage.
Post by Erich Buhler
Hi guys,
I couldn't find any working example of how to create a folder in the Start
Menu and then include some shortcuts inside. It looks to be quite easy, but
I
couldn't find the way to do that.
Does anybody have any good example?
Thanks,
Erich.
--
http://www.nabble.com/How-to-create-folders-and-shortcuts-in-the-Start-Menu--%28Wix-3.0%29-tf3407487.html#a9491889
Sent from the wix-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
Erich Buhler
2007-03-15 14:27:54 UTC
Permalink
I have read it, but it doesn't say anything about it (there are 2 mentions
only about the way of creating shortcuts, but nothing about creating
shortcuts and folders in the Start Menu).

Cheers,
Erich.
Post by Levi Wilson
You should check out the tutorial linked off of the
wix.sourceforge.netpage.
Post by Erich Buhler
Hi guys,
I couldn't find any working example of how to create a folder in the Start
Menu and then include some shortcuts inside. It looks to be quite easy, but
I
couldn't find the way to do that.
Does anybody have any good example?
Thanks,
Erich.
--
http://www.nabble.com/How-to-create-folders-and-shortcuts-in-the-Start-Menu--%28Wix-3.0%29-tf3407487.html#a9491889
Sent from the wix-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
--
View this message in context: http://www.nabble.com/How-to-create-folders-and-shortcuts-in-the-Start-Menu--%28Wix-3.0%29-tf3407487.html#a9495618
Sent from the wix-users mailing list archive at Nabble.com.
Levi Wilson
2007-03-15 14:34:47 UTC
Permalink
There's this section:

<*Component* Id='Manual' Guid='YOURGUID-574D-4A9A-A266-5B5EC2C022A4'>
<*File* Id='Manual' Name='Manual.pdf' DiskId='1' Source='Manual.pdf'>
<*Shortcut* Id="startmenuManual" Directory="ProgramMenuDir"
Name="Manual" LongName="Instruction Manual" />
</*File*>
</*Component*>

And then there's the section that defines the "ProgramMenuDir":

<*Directory* Id="ProgramMenuFolder" Name="PMenu" LongName="Programs">
<*Directory* Id="ProgramMenuDir" Name='Foobar10' LongName="Foobar 1.0" />
</*Directory*>

The <Directory /> definition will create a folder in the startmenu named
"Foobar 1.0". This does this, because it's parent is the ProgramMenuFolder,
which is one of the define System Folders found here:

http://msdn2.microsoft.com/en-us/library/aa372057.aspx
Post by Erich Buhler
I have read it, but it doesn't say anything about it (there are 2 mentions
only about the way of creating shortcuts, but nothing about creating
shortcuts and folders in the Start Menu).
Cheers,
Erich.
Post by Levi Wilson
You should check out the tutorial linked off of the
wix.sourceforge.netpage.
Post by Erich Buhler
Hi guys,
I couldn't find any working example of how to create a folder in the Start
Menu and then include some shortcuts inside. It looks to be quite easy, but
I
couldn't find the way to do that.
Does anybody have any good example?
Thanks,
Erich.
--
http://www.nabble.com/How-to-create-folders-and-shortcuts-in-the-Start-Menu--%28Wix-3.0%29-tf3407487.html#a9491889
Post by Levi Wilson
Post by Erich Buhler
Sent from the wix-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Post by Levi Wilson
Post by Erich Buhler
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Post by Levi Wilson
Post by Erich Buhler
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
-------------------------------------------------------------------------
Post by Levi Wilson
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Post by Levi Wilson
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
--
http://www.nabble.com/How-to-create-folders-and-shortcuts-in-the-Start-Menu--%28Wix-3.0%29-tf3407487.html#a9495618
Sent from the wix-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
Erich Buhler
2007-03-15 16:34:03 UTC
Permalink
Hi Levi,
I tried the example you included, but it didn't work in Wix 3.0. Could you
provide me a whole example please?

Thanks,
Erich.
Post by Levi Wilson
<*Component* Id='Manual' Guid='YOURGUID-574D-4A9A-A266-5B5EC2C022A4'>
<*File* Id='Manual' Name='Manual.pdf' DiskId='1' Source='Manual.pdf'>
<*Shortcut* Id="startmenuManual" Directory="ProgramMenuDir"
Name="Manual" LongName="Instruction Manual" />
</*File*>
</*Component*>
<*Directory* Id="ProgramMenuFolder" Name="PMenu" LongName="Programs">
<*Directory* Id="ProgramMenuDir" Name='Foobar10' LongName="Foobar 1.0" />
</*Directory*>
The <Directory /> definition will create a folder in the startmenu named
"Foobar 1.0". This does this, because it's parent is the
ProgramMenuFolder,
http://msdn2.microsoft.com/en-us/library/aa372057.aspx
Post by Erich Buhler
I have read it, but it doesn't say anything about it (there are 2 mentions
only about the way of creating shortcuts, but nothing about creating
shortcuts and folders in the Start Menu).
Cheers,
Erich.
Post by Levi Wilson
You should check out the tutorial linked off of the
wix.sourceforge.netpage.
Post by Erich Buhler
Hi guys,
I couldn't find any working example of how to create a folder in the Start
Menu and then include some shortcuts inside. It looks to be quite
easy,
Post by Levi Wilson
Post by Erich Buhler
but
I
couldn't find the way to do that.
Does anybody have any good example?
Thanks,
Erich.
--
http://www.nabble.com/How-to-create-folders-and-shortcuts-in-the-Start-Menu--%28Wix-3.0%29-tf3407487.html#a9491889
Post by Levi Wilson
Post by Erich Buhler
Sent from the wix-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Post by Levi Wilson
Post by Erich Buhler
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to
share
Post by Levi Wilson
Post by Erich Buhler
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Post by Levi Wilson
Post by Erich Buhler
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
-------------------------------------------------------------------------
Post by Levi Wilson
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Post by Levi Wilson
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
--
http://www.nabble.com/How-to-create-folders-and-shortcuts-in-the-Start-Menu--%28Wix-3.0%29-tf3407487.html#a9495618
Sent from the wix-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
--
View this message in context: http://www.nabble.com/How-to-create-folders-and-shortcuts-in-the-Start-Menu--%28Wix-3.0%29-tf3407487.html#a9498378
Sent from the wix-users mailing list archive at Nabble.com.
Levi Wilson
2007-03-15 16:38:42 UTC
Permalink
What didn't work? Can you post your WiX fragment for us to look at? Only
the portion of the wxs file that has the shortcut that you're trying to
create. Did the installation go through, but your start menu folder not get
created? What happened?
Post by Erich Buhler
Hi Levi,
I tried the example you included, but it didn't work in Wix 3.0. Could you
provide me a whole example please?
Thanks,
Erich.
Post by Levi Wilson
<*Component* Id='Manual' Guid='YOURGUID-574D-4A9A-A266-5B5EC2C022A4'>
<*File* Id='Manual' Name='Manual.pdf' DiskId='1' Source='Manual.pdf'>
<*Shortcut* Id="startmenuManual" Directory="ProgramMenuDir"
Name="Manual" LongName="Instruction Manual" />
</*File*>
</*Component*>
<*Directory* Id="ProgramMenuFolder" Name="PMenu" LongName="Programs">
<*Directory* Id="ProgramMenuDir" Name='Foobar10' LongName="Foobar 1.0" />
</*Directory*>
The <Directory /> definition will create a folder in the startmenu named
"Foobar 1.0". This does this, because it's parent is the
ProgramMenuFolder,
http://msdn2.microsoft.com/en-us/library/aa372057.aspx
Post by Erich Buhler
I have read it, but it doesn't say anything about it (there are 2 mentions
only about the way of creating shortcuts, but nothing about creating
shortcuts and folders in the Start Menu).
Cheers,
Erich.
Post by Levi Wilson
You should check out the tutorial linked off of the
wix.sourceforge.netpage.
Post by Erich Buhler
Hi guys,
I couldn't find any working example of how to create a folder in the Start
Menu and then include some shortcuts inside. It looks to be quite
easy,
Post by Levi Wilson
Post by Erich Buhler
but
I
couldn't find the way to do that.
Does anybody have any good example?
Thanks,
Erich.
--
http://www.nabble.com/How-to-create-folders-and-shortcuts-in-the-Start-Menu--%28Wix-3.0%29-tf3407487.html#a9491889
Post by Levi Wilson
Post by Erich Buhler
Post by Levi Wilson
Post by Erich Buhler
Sent from the wix-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Post by Levi Wilson
Post by Erich Buhler
Post by Levi Wilson
Post by Erich Buhler
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to
share
Post by Levi Wilson
Post by Erich Buhler
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Post by Levi Wilson
Post by Erich Buhler
Post by Levi Wilson
Post by Erich Buhler
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
-------------------------------------------------------------------------
Post by Levi Wilson
Post by Erich Buhler
Post by Levi Wilson
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to
share
Post by Levi Wilson
Post by Erich Buhler
Post by Levi Wilson
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Post by Levi Wilson
Post by Erich Buhler
Post by Levi Wilson
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
--
http://www.nabble.com/How-to-create-folders-and-shortcuts-in-the-Start-Menu--%28Wix-3.0%29-tf3407487.html#a9495618
Post by Levi Wilson
Post by Erich Buhler
Sent from the wix-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Post by Levi Wilson
Post by Erich Buhler
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Post by Levi Wilson
Post by Erich Buhler
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
-------------------------------------------------------------------------
Post by Levi Wilson
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Post by Levi Wilson
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
--
http://www.nabble.com/How-to-create-folders-and-shortcuts-in-the-Start-Menu--%28Wix-3.0%29-tf3407487.html#a9498378
Sent from the wix-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
Erich Buhler
2007-03-15 16:51:22 UTC
Permalink
Yes, the installation runs fine but doesn't create the folders in the Start
Menu at all. I manage now to change the source to the following:

<File Id="ReleaseNotes" Name="Dot Net SDK Release Notes.doc"
Source="$(var.TrunkComponentRelease)\Dot Net SDK Release Notes.doc" >
<Shortcut Id="NewShortcut3" Directory="ProgramMenuFolder1"
LongName="NewShortcut3" Name="NewShort" Advertise="yes" Show="normal"/>
<!--Shortcut Id="adguide" Directory="DashMenuDir"
Name="AdGuide"
LongName="Agilent Business Dashboard Admin
Guide"
WorkingDirectory="manuals"
Advertise="yes"
/-->
</File>
<Directory Id="ProgramMenuFolder" Name="PMFolder">
<Directory Id="ProgramMenuFolder1" Name="MyProduct" />
</Directory>

but I received the following error:

Error 17 ICE64: The directory ProgramMenuFolder1 is in the user profile but
is not listed in the RemoveFile table.
D:\BlackDeath\SuperSolution\WixDotNetSDK\WixDotNetSDKRelease.wxs 240 1
WixDotNetSDKRelease


Thanks,
Erich.
Post by Levi Wilson
What didn't work? Can you post your WiX fragment for us to look at? Only
the portion of the wxs file that has the shortcut that you're trying to
create. Did the installation go through, but your start menu folder not get
created? What happened?
Post by Erich Buhler
Hi Levi,
I tried the example you included, but it didn't work in Wix 3.0. Could you
provide me a whole example please?
Thanks,
Erich.
Post by Levi Wilson
<*Component* Id='Manual' Guid='YOURGUID-574D-4A9A-A266-5B5EC2C022A4'>
<*File* Id='Manual' Name='Manual.pdf' DiskId='1' Source='Manual.pdf'>
<*Shortcut* Id="startmenuManual" Directory="ProgramMenuDir"
Name="Manual" LongName="Instruction Manual" />
</*File*>
</*Component*>
<*Directory* Id="ProgramMenuFolder" Name="PMenu" LongName="Programs">
<*Directory* Id="ProgramMenuDir" Name='Foobar10' LongName="Foobar
1.0"
Post by Levi Wilson
/>
</*Directory*>
The <Directory /> definition will create a folder in the startmenu
named
Post by Levi Wilson
"Foobar 1.0". This does this, because it's parent is the
ProgramMenuFolder,
http://msdn2.microsoft.com/en-us/library/aa372057.aspx
Post by Erich Buhler
I have read it, but it doesn't say anything about it (there are 2 mentions
only about the way of creating shortcuts, but nothing about creating
shortcuts and folders in the Start Menu).
Cheers,
Erich.
Post by Levi Wilson
You should check out the tutorial linked off of the
wix.sourceforge.netpage.
Post by Erich Buhler
Hi guys,
I couldn't find any working example of how to create a folder in
the
Post by Levi Wilson
Post by Erich Buhler
Post by Levi Wilson
Post by Erich Buhler
Start
Menu and then include some shortcuts inside. It looks to be quite
easy,
Post by Levi Wilson
Post by Erich Buhler
but
I
couldn't find the way to do that.
Does anybody have any good example?
Thanks,
Erich.
--
http://www.nabble.com/How-to-create-folders-and-shortcuts-in-the-Start-Menu--%28Wix-3.0%29-tf3407487.html#a9491889
Post by Levi Wilson
Post by Erich Buhler
Post by Levi Wilson
Post by Erich Buhler
Sent from the wix-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Post by Levi Wilson
Post by Erich Buhler
Post by Levi Wilson
Post by Erich Buhler
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to
share
Post by Levi Wilson
Post by Erich Buhler
your
opinions on IT & business topics through brief surveys-and earn
cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Post by Levi Wilson
Post by Erich Buhler
Post by Levi Wilson
Post by Erich Buhler
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
-------------------------------------------------------------------------
Post by Levi Wilson
Post by Erich Buhler
Post by Levi Wilson
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to
share
Post by Levi Wilson
Post by Erich Buhler
Post by Levi Wilson
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Post by Levi Wilson
Post by Erich Buhler
Post by Levi Wilson
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
--
http://www.nabble.com/How-to-create-folders-and-shortcuts-in-the-Start-Menu--%28Wix-3.0%29-tf3407487.html#a9495618
Post by Levi Wilson
Post by Erich Buhler
Sent from the wix-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Post by Levi Wilson
Post by Erich Buhler
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to
share
Post by Levi Wilson
Post by Erich Buhler
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Post by Levi Wilson
Post by Erich Buhler
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
-------------------------------------------------------------------------
Post by Levi Wilson
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Post by Levi Wilson
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
--
http://www.nabble.com/How-to-create-folders-and-shortcuts-in-the-Start-Menu--%28Wix-3.0%29-tf3407487.html#a9498378
Sent from the wix-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
--
View this message in context: http://www.nabble.com/How-to-create-folders-and-shortcuts-in-the-Start-Menu--%28Wix-3.0%29-tf3407487.html#a9498747
Sent from the wix-users mailing list archive at Nabble.com.
Levi Wilson
2007-03-15 16:58:50 UTC
Permalink
Someone correct me if I'm wrong, but I think that if you want the shortcut
installed for All Users, you need to define this property:

<Property Id="ALLUSERS" Value="1" />

If you don't, inside that <Component /> you can have this:

<RemoveFolder Id="MyRemFolder" Directory="ProgramMenuFolder1" On="uninstall"
/>
Post by Erich Buhler
Yes, the installation runs fine but doesn't create the folders in the Start
<File Id="ReleaseNotes" Name="Dot Net SDK Release Notes.doc"
Source="$(var.TrunkComponentRelease)\Dot Net SDK Release Notes.doc" >
<Shortcut Id="NewShortcut3" Directory="ProgramMenuFolder1"
LongName="NewShortcut3" Name="NewShort" Advertise="yes" Show="normal"/>
<!--Shortcut Id="adguide" Directory="DashMenuDir"
Name="AdGuide"
LongName="Agilent Business Dashboard Admin
Guide"
WorkingDirectory="manuals"
Advertise="yes"
/-->
</File>
<Directory Id="ProgramMenuFolder" Name="PMFolder">
<Directory Id="ProgramMenuFolder1" Name="MyProduct" />
</Directory>
Error 17 ICE64: The directory ProgramMenuFolder1 is in the user
profile but
is not listed in the RemoveFile table.
D:\BlackDeath\SuperSolution\WixDotNetSDK\WixDotNetSDKRelease.wxs 240
1
WixDotNetSDKRelease
Thanks,
Erich.
Post by Levi Wilson
What didn't work? Can you post your WiX fragment for us to look
at? Only
Post by Levi Wilson
the portion of the wxs file that has the shortcut that you're trying to
create. Did the installation go through, but your start menu folder not get
created? What happened?
Post by Erich Buhler
Hi Levi,
I tried the example you included, but it didn't work in Wix 3.0. Could you
provide me a whole example please?
Thanks,
Erich.
Post by Levi Wilson
<*Component* Id='Manual' Guid='YOURGUID-574D-4A9A-A266-5B5EC2C022A4'>
<*File* Id='Manual' Name='Manual.pdf' DiskId='1' Source='Manual.pdf
'>
Post by Levi Wilson
Post by Erich Buhler
Post by Levi Wilson
<*Shortcut* Id="startmenuManual" Directory="ProgramMenuDir"
Name="Manual" LongName="Instruction Manual" />
</*File*>
</*Component*>
<*Directory* Id="ProgramMenuFolder" Name="PMenu" LongName="Programs">
<*Directory* Id="ProgramMenuDir" Name='Foobar10' LongName="Foobar
1.0"
Post by Levi Wilson
/>
</*Directory*>
The <Directory /> definition will create a folder in the startmenu
named
Post by Levi Wilson
"Foobar 1.0". This does this, because it's parent is the
ProgramMenuFolder,
http://msdn2.microsoft.com/en-us/library/aa372057.aspx
Post by Erich Buhler
I have read it, but it doesn't say anything about it (there are 2 mentions
only about the way of creating shortcuts, but nothing about creating
shortcuts and folders in the Start Menu).
Cheers,
Erich.
Post by Levi Wilson
You should check out the tutorial linked off of the
wix.sourceforge.netpage.
Post by Erich Buhler
Hi guys,
I couldn't find any working example of how to create a folder in
the
Post by Levi Wilson
Post by Erich Buhler
Post by Levi Wilson
Post by Erich Buhler
Start
Menu and then include some shortcuts inside. It looks to be quite
easy,
Post by Levi Wilson
Post by Erich Buhler
but
I
couldn't find the way to do that.
Does anybody have any good example?
Thanks,
Erich.
--
http://www.nabble.com/How-to-create-folders-and-shortcuts-in-the-Start-Menu--%28Wix-3.0%29-tf3407487.html#a9491889
Post by Levi Wilson
Post by Erich Buhler
Post by Levi Wilson
Post by Erich Buhler
Post by Levi Wilson
Post by Erich Buhler
Sent from the wix-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Post by Levi Wilson
Post by Erich Buhler
Post by Levi Wilson
Post by Erich Buhler
Post by Levi Wilson
Post by Erich Buhler
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to
share
Post by Levi Wilson
Post by Erich Buhler
your
opinions on IT & business topics through brief surveys-and earn
cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Post by Levi Wilson
Post by Erich Buhler
Post by Levi Wilson
Post by Erich Buhler
Post by Levi Wilson
Post by Erich Buhler
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
-------------------------------------------------------------------------
Post by Levi Wilson
Post by Erich Buhler
Post by Levi Wilson
Post by Erich Buhler
Post by Levi Wilson
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to
share
Post by Levi Wilson
Post by Erich Buhler
Post by Levi Wilson
your
opinions on IT & business topics through brief surveys-and earn
cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Post by Levi Wilson
Post by Erich Buhler
Post by Levi Wilson
Post by Erich Buhler
Post by Levi Wilson
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
--
http://www.nabble.com/How-to-create-folders-and-shortcuts-in-the-Start-Menu--%28Wix-3.0%29-tf3407487.html#a9495618
Post by Levi Wilson
Post by Erich Buhler
Post by Levi Wilson
Post by Erich Buhler
Sent from the wix-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Post by Levi Wilson
Post by Erich Buhler
Post by Levi Wilson
Post by Erich Buhler
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to
share
Post by Levi Wilson
Post by Erich Buhler
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Post by Levi Wilson
Post by Erich Buhler
Post by Levi Wilson
Post by Erich Buhler
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
-------------------------------------------------------------------------
Post by Levi Wilson
Post by Erich Buhler
Post by Levi Wilson
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to
share
Post by Levi Wilson
Post by Erich Buhler
Post by Levi Wilson
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Post by Levi Wilson
Post by Erich Buhler
Post by Levi Wilson
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
--
http://www.nabble.com/How-to-create-folders-and-shortcuts-in-the-Start-Menu--%28Wix-3.0%29-tf3407487.html#a9498378
Post by Levi Wilson
Post by Erich Buhler
Sent from the wix-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Post by Levi Wilson
Post by Erich Buhler
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Post by Levi Wilson
Post by Erich Buhler
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
-------------------------------------------------------------------------
Post by Levi Wilson
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Post by Levi Wilson
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
--
http://www.nabble.com/How-to-create-folders-and-shortcuts-in-the-Start-Menu--%28Wix-3.0%29-tf3407487.html#a9498747
Sent from the wix-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
DE
2007-03-15 23:55:58 UTC
Permalink
I'd just like to ask some questions relating to this area, because I cannot
find much meaningful documentation about it.
All we want to do is create shortcuts to some of the files we are
installaing. We are using the latest Votive. Assume we are happy to install
to all users.

1) What exactly does it mean to "advertise" a short cut?

2) Using "advertised shortcuts" and the <RemoveFolder> tip you made earlier,
we have managed to create a shortcut that is visible within a sub directory
of Start Menu. But it doesn't actually link correctly; on inspection the
target name is set to the name of the product. Why is this?

3) Should I set ALLUSERS = 1 as well? How does it manifest? Would it effect
the previous point?
Levi Wilson
2007-03-16 12:35:09 UTC
Permalink
I've only been working with WiX for a little over a month, so I'll _try_ to
Post by DE
I'd just like to ask some questions relating to this area, because I cannot
find much meaningful documentation about it.
All we want to do is create shortcuts to some of the files we are
installaing. We are using the latest Votive. Assume we are happy to install
to all users.
1) What exactly does it mean to "advertise" a short cut?
I believe that you can have advertised, and non-advertised shortcuts. What
this means I think is that you can potentially have a component that gets
added, but isn't necessarily installed but can be when someone clicks on the
shortcut. This happens I believe in certain office installations where when
you click on the shortcut you get that Windows Installer message box
indicating that it is installing something. I'm not 100% clear on when to
use or not use advertised shortcuts, but I typically have just been setting
Advertised="yes".

2) Using "advertised shortcuts" and the <RemoveFolder> tip you made earlier,
Post by DE
we have managed to create a shortcut that is visible within a sub directory
of Start Menu. But it doesn't actually link correctly; on inspection the
target name is set to the name of the product. Why is this?
I think that I'd have to look at your wxs source for this shortcut to see if
something doesn't look correct. If you want another example, you can look
in the WiX v3 src folder to see how the WiX install is setup using WiX. I
believe it's in src\Setup.

3) Should I set ALLUSERS = 1 as well? How does it manifest? Would it effect
Mike Dimmick
2007-03-16 20:30:20 UTC
Permalink
An advertised shortcut is one which actually invokes Windows Installer when
activated. If the product feature that the shortcut points to is not
installed at that point, Windows Installer will install it, then invoke the
feature. This is how the 'install on demand' and 'advertised product'
features work.

If you've never worked on a Windows domain, I should say that it's possible
to configure products in Active Directory Group Policy so that the shortcuts
appear on a user's start menu (or elsewhere), but the product itself is not
installed until the user clicks one of these shortcuts. This is referred to
as an advertised product.

The <RemoveFolder> required by the ICE error is there to tidy up folders
containing advertised shortcuts when an advertised product is removed from
Group Policy by an administrator. I think. This isn't too clear.

There are many entry points that can be advertised, such as ProgIDs,
Extensions, TypeLibs and COM classes. However, it's generally not
recommended to advertise COM classes or type libraries, though, as this can
have a surprising effect for the end user (see Rob's blog at
http://robmensching.com/blog/archive/2007/03/12/RobMens-Recommendation-Do-no
t-advertise-COM-information-in-MSI.aspx)

The target of an advertised shortcut is the key file of the component it
belongs to. If your component has multiple files, you may need to specify
the @KeyPath attribute on the file you want the shortcut to launch. Best
practice is one file per component.

ALLUSERS=1 creates a per-machine, not per-user, install. This means that
instead of placing shortcuts in the installing user's start menu, it places
them in \Documents and Settings\All Users\Start Menu. This means they appear
for all users. However, in a shared-computer (hot-desking) scenario, an
administrator might want to only advertise the product to some users and not
others; your install should ideally work in this scenario and therefore
support per-user installs. The validation does not process ALLUSERS=1.

The WiX tutorial at http://www.tramontana.co.hu/wix/ has working shortcuts,
but they're not advertised. The syntax is currently correct for WiX 2.0 but
wixcop should be able to translate it.
--
Mike Dimmick

-----Original Message-----
From: wix-users-***@lists.sourceforge.net
[mailto:wix-users-***@lists.sourceforge.net] On Behalf Of DE
Sent: 15 March 2007 23:56
To: wix-***@lists.sourceforge.net
Subject: Re: [WiX-users] How to create folders and shortcuts in the Start
Menu? (Wix 3.0)


I'd just like to ask some questions relating to this area, because I cannot
find much meaningful documentation about it.
All we want to do is create shortcuts to some of the files we are
installaing. We are using the latest Votive. Assume we are happy to install
to all users.

1) What exactly does it mean to "advertise" a short cut?

2) Using "advertised shortcuts" and the <RemoveFolder> tip you made earlier,
we have managed to create a shortcut that is visible within a sub directory
of Start Menu. But it doesn't actually link correctly; on inspection the
target name is set to the name of the product. Why is this?

3) Should I set ALLUSERS = 1 as well? How does it manifest? Would it effect
the previous point?
dave_c
2007-03-15 14:47:07 UTC
Permalink
And here is an example of implementation

<File Id="InstallGde" Name="InstGde" LongName="Agilent Business
Dashboard Install Guide"
Source="..\..\Documentation\AdminGuide.doc">
<Shortcut Id="adguide" Directory="DashMenuDir" Name="AdGuide"
LongName="Agilent Business Dashboard Admin Guide"
WorkingDirectory='manuals'
Icon="agilent_pgm_icon" IconIndex="0"/>
<Shortcut Id="adminguide" Directory="DesktopFolder"
Name="adminGde"
LongName="Agilent Business Dashboard Admin Guide"
WorkingDirectory='manuals'
Icon="agilent_dtp_icon" IconIndex="0"/>
</File>

where DashMenuDir is defined as

<Directory Id="ProgramMenuFolder" Name="Programs">
<Directory Id="AGI" Name="Agilent">
<Directory Id="DASHB" Name="ADASHB" LongName="Agilent Business
Dashboard">
<Directory Id="DashMenuDir" Name="Manuals"></Directory>
</Directory>
</Directory>
</Directory>

Because the shortcut is being generated in this directory the folder is
automatically createrd for you.
Post by Erich Buhler
I have read it, but it doesn't say anything about it (there are 2 mentions
only about the way of creating shortcuts, but nothing about creating
shortcuts and folders in the Start Menu).
Cheers,
Erich.
Post by Levi Wilson
You should check out the tutorial linked off of the
wix.sourceforge.netpage.
Post by Erich Buhler
Hi guys,
I couldn't find any working example of how to create a folder in the Start
Menu and then include some shortcuts inside. It looks to be quite easy, but
I
couldn't find the way to do that.
Does anybody have any good example?
Thanks,
Erich.
--
http://www.nabble.com/How-to-create-folders-and-shortcuts-in-the-Start-Menu--%28Wix-3.0%29-tf3407487.html#a9491889
Sent from the wix-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
--
View this message in context: http://www.nabble.com/How-to-create-folders-and-shortcuts-in-the-Start-Menu--%28Wix-3.0%29-tf3407487.html#a9496030
Sent from the wix-users mailing list archive at Nabble.com.
Erich Buhler
2007-03-15 16:33:40 UTC
Permalink
Hi Dave,
I tried the example you included, but it didn't work in Wix 3.0. Could you
provide me the whole example please?

Thanks,
Erich.
Post by dave_c
And here is an example of implementation
<File Id="InstallGde" Name="InstGde" LongName="Agilent Business
Dashboard Install Guide"
Source="..\..\Documentation\AdminGuide.doc">
<Shortcut Id="adguide" Directory="DashMenuDir" Name="AdGuide"
LongName="Agilent Business Dashboard Admin Guide"
WorkingDirectory='manuals'
Icon="agilent_pgm_icon" IconIndex="0"/>
<Shortcut Id="adminguide" Directory="DesktopFolder"
Name="adminGde"
LongName="Agilent Business Dashboard Admin Guide"
WorkingDirectory='manuals'
Icon="agilent_dtp_icon" IconIndex="0"/>
</File>
where DashMenuDir is defined as
<Directory Id="ProgramMenuFolder" Name="Programs">
<Directory Id="AGI" Name="Agilent">
<Directory Id="DASHB" Name="ADASHB" LongName="Agilent Business
Dashboard">
<Directory Id="DashMenuDir" Name="Manuals"></Directory>
</Directory>
</Directory>
</Directory>
Because the shortcut is being generated in this directory the folder is
automatically createrd for you.
Post by Erich Buhler
I have read it, but it doesn't say anything about it (there are 2
mentions only about the way of creating shortcuts, but nothing about
creating shortcuts and folders in the Start Menu).
Cheers,
Erich.
Post by Levi Wilson
You should check out the tutorial linked off of the
wix.sourceforge.netpage.
Post by Erich Buhler
Hi guys,
I couldn't find any working example of how to create a folder in the Start
Menu and then include some shortcuts inside. It looks to be quite easy, but
I
couldn't find the way to do that.
Does anybody have any good example?
Thanks,
Erich.
--
http://www.nabble.com/How-to-create-folders-and-shortcuts-in-the-Start-Menu--%28Wix-3.0%29-tf3407487.html#a9491889
Sent from the wix-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
--
View this message in context: http://www.nabble.com/How-to-create-folders-and-shortcuts-in-the-Start-Menu--%28Wix-3.0%29-tf3407487.html#a9498374
Sent from the wix-users mailing list archive at Nabble.com.
Erich Buhler
2007-03-15 15:49:32 UTC
Permalink
Thanks guys, I'll try right now !

Erich.
Post by Erich Buhler
I have read it, but it doesn't say anything about it (there are 2 mentions
only about the way of creating shortcuts, but nothing about creating
shortcuts and folders in the Start Menu).
Cheers,
Erich.
Post by Levi Wilson
You should check out the tutorial linked off of the
wix.sourceforge.netpage.
Post by Erich Buhler
Hi guys,
I couldn't find any working example of how to create a folder in the Start
Menu and then include some shortcuts inside. It looks to be quite easy, but
I
couldn't find the way to do that.
Does anybody have any good example?
Thanks,
Erich.
--
http://www.nabble.com/How-to-create-folders-and-shortcuts-in-the-Start-Menu--%28Wix-3.0%29-tf3407487.html#a9491889
Sent from the wix-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
--
View this message in context: http://www.nabble.com/How-to-create-folders-and-shortcuts-in-the-Start-Menu--%28Wix-3.0%29-tf3407487.html#a9497426
Sent from the wix-users mailing list archive at Nabble.com.
dave_c
2007-03-15 16:37:10 UTC
Permalink
what error message are you getting?
Post by Erich Buhler
Thanks guys, I'll try right now !
Erich.
Post by Erich Buhler
I have read it, but it doesn't say anything about it (there are 2
mentions only about the way of creating shortcuts, but nothing about
creating shortcuts and folders in the Start Menu).
Cheers,
Erich.
Post by Levi Wilson
You should check out the tutorial linked off of the
wix.sourceforge.netpage.
Post by Erich Buhler
Hi guys,
I couldn't find any working example of how to create a folder in the Start
Menu and then include some shortcuts inside. It looks to be quite easy, but
I
couldn't find the way to do that.
Does anybody have any good example?
Thanks,
Erich.
--
http://www.nabble.com/How-to-create-folders-and-shortcuts-in-the-Start-Menu--%28Wix-3.0%29-tf3407487.html#a9491889
Sent from the wix-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
--
View this message in context: http://www.nabble.com/How-to-create-folders-and-shortcuts-in-the-Start-Menu--%28Wix-3.0%29-tf3407487.html#a9498441
Sent from the wix-users mailing list archive at Nabble.com.
Loading...