I've only been working with WiX for a little over a month, so I'll _try_ to
answer your questions to the best of my knowledge:
On 3/15/07, DE <[EMAIL PROTECTED]> wrote:
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,
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
the previous point? From what I cans see, the ICE errors are not fixed by
ALLUSERS=1.
I pretty much have always been setting ALLUSERS = 1. From what I've read
in this newsgroup, it seems that it's pretty difficult to maintain a true
per-user installation, so I've opted for simplicity :-) Adding this
property was just a guess, but you still may need to use the <RemoveFolder
/> element to rid yourself of them.
4) Are icons required to get the Start menu shortcut working correctly?
No.
5) Does there exist a working example in Wix 3.0? Should we perhaps not be
using Wix 3.0?
AFAIK, WiX 3.0 is a perfectly viable solution for MOST situations. There
has been the occasional bug that has passed through the message board here
that just simply haven't been ported from v2 to v3 yet, but for most
situations v3.0 is perfectly fine. I've been using it for all of my
installations and haven't ran into any issues. There have been other
postings within the last month that discuss this very issue if you'd like to
check them out.
Levi Wilson wrote:
>
> 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"
> />
>
> On 3/15/07, Erich Buhler <[EMAIL PROTECTED]> wrote:
>>
>>
>> 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.
>>
>>
>> Levi Wilson wrote:
>> >
>> > 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?
>> >
>> > On 3/15/07, Erich Buhler <[EMAIL PROTECTED]> wrote:
>> >>
>> >>
>> >> 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.
>> >>
>> >>
>> >> Levi Wilson wrote:
>> >> >
>> >> > 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
>> >> >
>> >> > On 3/15/07, Erich Buhler <[EMAIL PROTECTED]> wrote:
>> >> >>
>> >> >>
>> >> >> 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.
>> >> >>
>> >> >>
>> >> >> Levi Wilson wrote:
>> >> >> >
>> >> >> > You should check out the tutorial linked off of the
>> >> >> > wix.sourceforge.netpage.
>> >> >> >
>> >> >> > On 3/15/07, Erich Buhler <[EMAIL PROTECTED]> wrote:
>> >> >> >>
>> >> >> >>
>> >> >> >> 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.
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>>
-------------------------------------------------------------------------
>> >> >> >> 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
>> >> >> >> WiX-users@lists.sourceforge.net
>> >> >> >> 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
>> >> >> > WiX-users@lists.sourceforge.net
>> >> >> > 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.
>> >> >>
>> >> >>
>> >> >>
>> >>
>>
-------------------------------------------------------------------------
>> >> >> 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
>> >> >> WiX-users@lists.sourceforge.net
>> >> >> 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
>> >> > WiX-users@lists.sourceforge.net
>> >> > 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.
>> >>
>> >>
>> >>
>>
-------------------------------------------------------------------------
>> >> 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
>> >> WiX-users@lists.sourceforge.net
>> >> 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
>> > WiX-users@lists.sourceforge.net
>> > 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.
>>
>>
>>
-------------------------------------------------------------------------
>> 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
>> WiX-users@lists.sourceforge.net
>> 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
> WiX-users@lists.sourceforge.net
> 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#a9506071
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
WiX-users@lists.sourceforge.net
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users