Of course, it does. Here is what you need to do (something like that, anyway):
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder">
<Directory Id="INSTALLDIR" .. >
<Component ... >
<File ... >
<Shortcut Id=".." Directory="StartupFolder" ...>
<Icon ... />
</Shortcut>
</File>
</Component>
</Directory>
<!-- ADD THIS -->
<Directory Id="StartupFolder" ...>
<Directory Id="MyShortcutFolder" ... />
</Directory>
</Directory>
</Directory>
You can find more information on shortcuts here:
http://blogs.technet.com/alexshev/archive/2008/02/20/from-msi-to-wix-part-10-shortcuts.aspx
Alex
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrei
Sent: Friday, March 07, 2008 4:44 AM
To: [email protected]
Subject: [WiX-users] Howto add shortcut to startup menu
I am looking for a way to add shortcut to the startup menu for the current
user.
I tried:
<Shortcut Id="StartupShortcut" Directory="StartupFolder" ...'/>
however I got "Unresolved reference to symbol 'Directory:StartupFolder'"
from light.exe
It seems my wix-2.0.5325 does not support "StartupFolder" directory
predefined name.
Any hints howto solve the problem?
Upgrading to wix 3-x is currently not an option for me.
-- Andrei
--
View this message in context:
http://www.nabble.com/Howto-add-shortcut-to-startup-menu-tp15891214p15891214.html
Sent from the wix-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users