Don't use advertised shortcuts.

http://wix.sourceforge.net/manual-wix3/create_start_menu_shortcut.htm 

Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the <Virtual Environment>**
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer

-----Original Message-----
From: Thomas Kehl - PP Software AG [mailto:t.k...@ppsoftware.ch] 
Sent: 29 March 2010 13:16
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Problem with ShortCut

Hi.

I create a shortcut on the fallowing way:

  <Directory Id="ProgramFilesFolder">
    <Directory Id="MANUFACTURER_DIR" Name="xxx">
      <Directory Id="INSTALLLOCATION" Name="yyy"
FileSource="..\..\Project\output">
        <Component Id="yyy.exe" Guid="{.....}">
          <File Id="yyy.exe" KeyPath="yes" Vital="yes" Checksum="yes">
            <Shortcut Id="ORShortCut"
                      Name="name"
                      Directory="ApplicationProgramsFolder"
                      Description="desc"
                      Advertise="yes"
                      WorkingDirectory="INSTALLLOCATION"
                      Icon="yyy.exe">
              <Icon Id="yyy.exe" SourceFile="..\..\output\yyy.exe"/>
            </Shortcut>
            <Shortcut Advertise="yes"
                                     Id="ORDesktopShortcut"
                                     Directory="DesktopFolder"
                                     Name="name"
                                     WorkingDirectory="INSTALLLOCATION"
                                     Description="desc"
                                     Icon="yyy.exe">
            </Shortcut>
            ...
            ...
          </File>
          ....
          ....
        </Component>
        ...
        ...
      </Directory>
    </Directory>
  </Directory>

On this way, a Shotcut to my application will be created on the Desktop
and in the Start/Programm/.../ menu. They will also work fine. Now the
problem is, when I copy the shortcut for example from the desktop to the
windows quick-start or the win7 taskbar and then I will update the
application the copy of the shortcut will not working after. Is there a
setting, which i can set or can anybody tell me, what i have to looking
for?

Thanks

Thomas

------------------------------------------------------------------------
------
Download Intel&#174; Parallel Studio Eval Try the new software tools for
yourself. Speed compiling, find bugs proactively, and fine-tune
applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to