You’re creating an advertized shortcut (Advertise=”yes”).   When you start an 
advertised shortcut, Windows checks to see if the component is installed, if it 
is, it starts it.  If it isn’t, it installs it and then starts it.

 

You need to change Advertised to “no” and there may be other details that need 
to change too. 

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sawyer, Shane
Sent: Tuesday, March 27, 2007 12:02 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Shortcut pointing toward product name

 

Sorry, I am using version 3.  The spaces aren’t there in my code.  Everything 
works fine except the target of the shortcut.

 

thanks

 

________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 27, 2007 9:47 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Shortcut pointing toward product name

 

You didn’t mention which version of WiX you are using.

 

I am still using version 2, and I have an additional “LongName” attribute on 
the shortcut. If you are using version 2 as well (and I suspect you’re not), 
you may want to try adding one of those.

 

I also notice that you seem to have spaces in front of the file ID and Name. I 
don’t know if that is a) intentional, b) a gift from your (or my) email 
package, or c) a typo. I doubt it’s causing a problem, but you never know!

 

Regards,

Richard

 

________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sawyer, Shane
Sent: Tuesday, March 27, 2007 11:23 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Shortcut pointing toward product name

 

I am trying to create a desktop shortcut, and its working except that the 
shorcut’s target is the Product Name.  What am I missing?  A google search told 
me to add the keypath attribute to the file, but it still doesn’t work.  Here 
is my wxs code… thanks   

 

     <Directory Id="TARGETDIR" Name="SourceDir">

            <Directory Id="ProgramFilesFolder">

                <Directory Id="COMPANYDIR" Name="Nelnet">

                    <Directory Id="APPLICATIONFOLDER" Name="Navigator" >

 

                        <Component Id="MainExecutable" 
Guid="{2539F193-BAD7-4fe0-A2C0-D5027EB5BAB4}">

                            <File Id=" Ice.Client.Navigator.exe" Name=" 
Ice.Client.Navigator.exe" DiskId="1" Source="C:\Builds\ICE\QA\Intelligent 
Customer Engagement\Ice.Client.Navigator.exe" Vital="yes" KeyPath="yes">

                                <Shortcut Id="DesktopShortcut" 
Directory="DesktopFolder" Name="Navigator" Advertise="yes" Icon="Icon.ico" 
WorkingDirectory="APPLICATIONFOLDER" />

                            </File>

                        </Component>

 

                    </Directory>

                </Directory>

            </Directory>

            <Directory Id="DesktopFolder" Name="." SourceName="Desktop" />

        </Directory>

 

        <Feature Id="MainExecFeature" Title="Navigator Executable" Level="1">

            <ComponentRef Id="MainExecutable" />

        </Feature>

 

        <Property Id="ApplicationFolderName" Value="Navigator" />

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

        <Icon Id="Icon.ico" 
SourceFile="C:\Builds\ICE\Install\Navigator\icon.ico" />

 

________________________________


* C O N F I D E N T I A L I T Y N O T I C E *
-----------------------------------------------------------
The content of this e-mail is intended solely for the use of the individual or 
entity to whom it is addressed. If you have received this communication in 
error, be aware that forwarding it, copying it, or in any way disclosing its 
content to any other person, is strictly prohibited. Peek Traffic Corporation 
is neither liable for the contents, nor for the proper, complete and timely 
transmission of (the information contained in) this communication. If you have 
received this communication in error, please notify the author by replying to 
this e-mail immediately and delete the material from any computer.

________________________________

------------------------------------------------------------ The information 
contained in this message is confidential proprietary property of Nelnet, Inc. 
and its affiliated companies (Nelnet) and is intended for the recipient only. 
Any reproduction, forwarding, or copying without the express permission of 
Nelnet is strictly prohibited. If you have received this communication in 
error, please notify us immediately by replying to this e-mail. 
------------------------------------------------------------ 

________________________________

------------------------------------------------------------ The information 
contained in this message is confidential proprietary property of Nelnet, Inc. 
and its affiliated companies (Nelnet) and is intended for the recipient only. 
Any reproduction, forwarding, or copying without the express permission of 
Nelnet is strictly prohibited. If you have received this communication in 
error, please notify us immediately by replying to this e-mail. 
------------------------------------------------------------ 

-------------------------------------------------------------------------
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

Reply via email to