[WiX-users] Upgrade Help

2010-07-14 Thread Thode, Katelyn
Hello,

I am working on creating a wix installer to upgrade an existing application.  
If I try to install an older version of the application, the installer 
indicates that a newer version is installed and exits the setup as expected.

 The issue I am having occurs when a newer version is detected and an upgrade 
occurs.  In the older versions of the installer, the application is under the 
start menu as [Application Name] - application, uninstall, user's guide.  In 
the newer version, the setup for the start menu is [company name] - 
[application name] - application, uninstall, user's guide.

When I try to upgrade, the newer version is added and, in the Program Files 
directory, the files are changed.  But, the desktop icon and the start menu 
shortcuts remain.  Is there a way for me to remove the old shortcuts using a 
standard action?

Below is the upgrade code I currently have:

!-- Upgrade Information --
Upgrade Id=$(var.UpgradeCode)
  UpgradeVersion Minimum=0.0.0
  Maximum=$(var.ProductVersion)
  IncludeMinimum=yes
  Language=1033
  Property=OLDUPGRADE /
  UpgradeVersion Minimum=$(var.ProductVersion)
  OnlyDetect=yes
  Language=1033
  Property=DETECTNEW /
/Upgrade

InstallExecuteSequence
  RemoveExistingProducts After=InstallInitialize /
/InstallExecuteSequence

Condition Message=A later version of [ProductName] is already installed.  
Setup will now exit.
  NOT DETECTNEW OR Installed
/Condition

!-- On upgrade find out the install directory --
CustomAction Id=SaveTargetDir Property=ARPINSTALLLOCATION 
Value=[INSTALLDIR] /

InstallExecuteSequence
  Custom Action=SaveTargetDir After=InstallValidate
NOT
Installed
  /Custom
/InstallExecuteSequence

InstallUISequence
  !-- App search is what does FindInstallLocation, and it is dependent on 
FindRelatedProducts --
  AppSearch After=FindRelatedProducts /
/InstallUISequence

!-- Find previous installation location --
Property Id=INSTALLDIR
  RegistrySearch Id=FindInstallation
  Root=HKLM
  Key=$(var.RegistryKey)
  Name=InstallDir
  Type=raw /
/Property

Thanks for your help,
Katelyn


Note: The information contained in this message may be privileged and
confidential and thus protected from disclosure. If the reader of this
message is not the intended recipient, or an employee or agent responsible 
for delivering this message to the intended recipient, you are hereby
notified that any dissemination, distribution or copying of this
communication is strictly prohibited.  If you have received this
communication in error, please notify us immediately by replying to the 
message and deleting it from your computer.  Thank you.

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Upgrade Help

2010-07-14 Thread Blair
If you simply remove the older version (without installing the newer
version), do the shortcuts remain?

What is your associated code for the shortcuts in both old and new versions?

-Original Message-
From: Thode, Katelyn [mailto:katelyn.th...@guidancesoftware.com] 
Sent: Wednesday, July 14, 2010 7:45 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Upgrade Help

Hello,

I am working on creating a wix installer to upgrade an existing application.
If I try to install an older version of the application, the installer
indicates that a newer version is installed and exits the setup as expected.

 The issue I am having occurs when a newer version is detected and an
upgrade occurs.  In the older versions of the installer, the application is
under the start menu as [Application Name] - application, uninstall, user's
guide.  In the newer version, the setup for the start menu is [company name]
- [application name] - application, uninstall, user's guide.

When I try to upgrade, the newer version is added and, in the Program Files
directory, the files are changed.  But, the desktop icon and the start menu
shortcuts remain.  Is there a way for me to remove the old shortcuts using a
standard action?

Below is the upgrade code I currently have:

!-- Upgrade Information --
Upgrade Id=$(var.UpgradeCode)
  UpgradeVersion Minimum=0.0.0
  Maximum=$(var.ProductVersion)
  IncludeMinimum=yes
  Language=1033
  Property=OLDUPGRADE /
  UpgradeVersion Minimum=$(var.ProductVersion)
  OnlyDetect=yes
  Language=1033
  Property=DETECTNEW /
/Upgrade

InstallExecuteSequence
  RemoveExistingProducts After=InstallInitialize /
/InstallExecuteSequence

Condition Message=A later version of [ProductName] is already
installed.  Setup will now exit.
  NOT DETECTNEW OR Installed
/Condition

!-- On upgrade find out the install directory --
CustomAction Id=SaveTargetDir Property=ARPINSTALLLOCATION
Value=[INSTALLDIR] /

InstallExecuteSequence
  Custom Action=SaveTargetDir After=InstallValidate
NOT
Installed
  /Custom
/InstallExecuteSequence

InstallUISequence
  !-- App search is what does FindInstallLocation, and it is dependent
on FindRelatedProducts --
  AppSearch After=FindRelatedProducts /
/InstallUISequence

!-- Find previous installation location --
Property Id=INSTALLDIR
  RegistrySearch Id=FindInstallation
  Root=HKLM
  Key=$(var.RegistryKey)
  Name=InstallDir
  Type=raw /
/Property

Thanks for your help,
Katelyn


Note: The information contained in this message may be privileged and
confidential and thus protected from disclosure. If the reader of this
message is not the intended recipient, or an employee or agent responsible 
for delivering this message to the intended recipient, you are hereby
notified that any dissemination, distribution or copying of this
communication is strictly prohibited.  If you have received this
communication in error, please notify us immediately by replying to the 
message and deleting it from your computer.  Thank you.


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Upgrade Help

2010-07-14 Thread Thode, Katelyn
Yes, the shortcuts do remain if I remove the older version without installing 
the newer version.

Code for shortcuts in new version:
!-- Declare Start Menu Shortcuts --
DirectoryRef Id=ProgramMenuFolder
  Directory Id=TFirmwareUtilFolder Name=$(var.ProductName)
Component Id=ShortcutComponent 
Guid={B4BD1198-1A40-4138-9E8D-3B3AD383D9D6}
  Shortcut Id=startmenuTfirmwareutil
Name=$(var.ProductName)
WorkingDirectory=INSTALLDIR
Target=[INSTALLDIR]$(var.ExeName)
Icon=AppIcon
IconIndex=0 /
  Shortcut Id=TFUUsersGuide
Name=$(var.ProductName) Users Guide.pdf
Target=[INSTALLDIR] Firmware Update Users Guide.pdf /
  Shortcut Id=UninstallProduct
Name=Uninstall $(var.ProductName)
Target=[System64Folder]msiexec.exe
Arguments=/x [ProductCode]
Description=Uninstalls $(var.ProductName) /
  RegistryValue Root=HKMU Key=$(var.RegistryKey) Name=installed 
Type=integer Value=1 KeyPath=yes /
  RemoveFolder Id=TFirmwareUtilFolder On=uninstall /
  RemoveFolder Id=ProgramMenuFolder Directory=ProgramMenuFolder 
On=uninstall /
/Component
  /Directory
/DirectoryRef


!-- Declare Desktop Shortcut --
DirectoryRef Id=DesktopFolder
  Component Id=DesktopComponent 
Guid={536F3500-D603-4D59-B4B7-DC7CAFEB7B01}
CreateFolder /
RegistryKey Root=HKMU
 Key=$(var.RegistryKey)
 Action=createAndRemoveOnUninstall
  RegistryValue Name=DTSC Value=1 Type=integer KeyPath=yes/
/RegistryKey
Shortcut Id=desktopShortcut
  Directory=DesktopFolder
  Name=$(var.ProductName)
  WorkingDirectory='INSTALLDIR'
  Target=[INSTALLDIR]$(var.ExeName)
  Icon=AppIcon /
  /Component
/DirectoryRef

For the old version, I only have the .msi and not the associated code.  
According to the table in Orca:
ShortcutDirectory Name   
ComponentTarget
New_Shortcut_S3740  newfolder1TABLEA~1|Firmware Update   
tabup.exe2   AlwaysInstall
NewShortcut2newfolder1TABLEA~1|Firmware Update User's Guide  
ISX_DEFAULTCOMPONENT_2   [INSTALLDIR]Firmware_Update_Users_Guide.pdf
NewShortcut3newfolder1UNINST~1|Uninstall Firmware Update 
ISX_DEFAULTCOMPONENT_2   [SystemFolder]Msi.Exec.exe
New_Shortcut_S3815  DesktopFolder TABLEA~1|Firmware Update   
tabup.exe2   AlwaysInstall

For comparison purposes, here is the table in Orca for the new code:
ShortcutDirectory Name  
 Component   Target
desktopShortcut DesktopFolder xxwpvyht|Firmware Update  
 DesktopComponent[INSTALLDIR]tabup.exe
startmenuTfirmwareutil  TFirmwareUtilFolder   ziyqatsf|Firmware Update  
 ShortcutComponent   [INSTALLDIR]tabup.exe
TFUUsersGuide   TFirmwareUtilFolder   zwacagjn.pdf|Firmware Update 
Users Guide.pdf   ShortcutComponent   [INSTALLDIR]Firmware Update Users 
Guide.pdf
UninstallProductTFirmwareUtilFolder   z2qb0bcp|Uninstall Firmware 
Update ShortcutComponent   [System64Folder]msiexec.exe

Again, thanks for your help.
Katelyn

-Original Message-
From: Blair [mailto:os...@live.com] 
Sent: Wednesday, July 14, 2010 10:41 AM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Upgrade Help

If you simply remove the older version (without installing the newer
version), do the shortcuts remain?

What is your associated code for the shortcuts in both old and new versions?

-Original Message-
From: Thode, Katelyn [mailto:katelyn.th...@guidancesoftware.com] 
Sent: Wednesday, July 14, 2010 7:45 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Upgrade Help

Hello,

I am working on creating a wix installer to upgrade an existing application.
If I try to install an older version of the application, the installer
indicates that a newer version is installed and exits the setup as expected.

 The issue I am having occurs when a newer version is detected and an
upgrade occurs.  In the older versions of the installer, the application is
under the start menu as [Application Name] - application, uninstall, user's
guide.  In the newer version, the setup for the start menu is [company name]
- [application name] - application, uninstall, user's guide.

When I try to upgrade, the newer version is added and, in the Program Files
directory, the files are changed.  But, the desktop icon and the start menu
shortcuts remain.  Is there a way for me to remove the old shortcuts using a
standard action?

Below

Re: [WiX-users] Upgrade Help

2010-07-14 Thread Blair
Then you have done nothing wrong in your new version (assuming it does
remove its shortcuts). You could use the RemoveFile element in WiX to remove
the previous shortcuts on installation.

-Original Message-
From: Thode, Katelyn [mailto:katelyn.th...@guidancesoftware.com] 
Sent: Wednesday, July 14, 2010 9:09 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Upgrade Help

Yes, the shortcuts do remain if I remove the older version without
installing the newer version.

Code for shortcuts in new version:
!-- Declare Start Menu Shortcuts --
DirectoryRef Id=ProgramMenuFolder
  Directory Id=TFirmwareUtilFolder Name=$(var.ProductName)
Component Id=ShortcutComponent
Guid={B4BD1198-1A40-4138-9E8D-3B3AD383D9D6}
  Shortcut Id=startmenuTfirmwareutil
Name=$(var.ProductName)
WorkingDirectory=INSTALLDIR
Target=[INSTALLDIR]$(var.ExeName)
Icon=AppIcon
IconIndex=0 /
  Shortcut Id=TFUUsersGuide
Name=$(var.ProductName) Users Guide.pdf
Target=[INSTALLDIR] Firmware Update Users Guide.pdf /
  Shortcut Id=UninstallProduct
Name=Uninstall $(var.ProductName)
Target=[System64Folder]msiexec.exe
Arguments=/x [ProductCode]
Description=Uninstalls $(var.ProductName) /
  RegistryValue Root=HKMU Key=$(var.RegistryKey)
Name=installed Type=integer Value=1 KeyPath=yes /
  RemoveFolder Id=TFirmwareUtilFolder On=uninstall /
  RemoveFolder Id=ProgramMenuFolder Directory=ProgramMenuFolder
On=uninstall /
/Component
  /Directory
/DirectoryRef


!-- Declare Desktop Shortcut --
DirectoryRef Id=DesktopFolder
  Component Id=DesktopComponent
Guid={536F3500-D603-4D59-B4B7-DC7CAFEB7B01}
CreateFolder /
RegistryKey Root=HKMU
 Key=$(var.RegistryKey)
 Action=createAndRemoveOnUninstall
  RegistryValue Name=DTSC Value=1 Type=integer
KeyPath=yes/
/RegistryKey
Shortcut Id=desktopShortcut
  Directory=DesktopFolder
  Name=$(var.ProductName)
  WorkingDirectory='INSTALLDIR'
  Target=[INSTALLDIR]$(var.ExeName)
  Icon=AppIcon /
  /Component
/DirectoryRef

For the old version, I only have the .msi and not the associated code.
According to the table in Orca:
ShortcutDirectory Name
ComponentTarget
New_Shortcut_S3740  newfolder1TABLEA~1|Firmware Update
tabup.exe2   AlwaysInstall
NewShortcut2newfolder1TABLEA~1|Firmware Update User's Guide
ISX_DEFAULTCOMPONENT_2   [INSTALLDIR]Firmware_Update_Users_Guide.pdf
NewShortcut3newfolder1UNINST~1|Uninstall Firmware Update
ISX_DEFAULTCOMPONENT_2   [SystemFolder]Msi.Exec.exe
New_Shortcut_S3815  DesktopFolder TABLEA~1|Firmware Update
tabup.exe2   AlwaysInstall

For comparison purposes, here is the table in Orca for the new code:
ShortcutDirectory Name
Component   Target
desktopShortcut DesktopFolder xxwpvyht|Firmware Update
DesktopComponent[INSTALLDIR]tabup.exe
startmenuTfirmwareutil  TFirmwareUtilFolder   ziyqatsf|Firmware Update
ShortcutComponent   [INSTALLDIR]tabup.exe
TFUUsersGuide   TFirmwareUtilFolder   zwacagjn.pdf|Firmware Update
Users Guide.pdf   ShortcutComponent   [INSTALLDIR]Firmware Update Users
Guide.pdf
UninstallProductTFirmwareUtilFolder   z2qb0bcp|Uninstall Firmware
Update ShortcutComponent   [System64Folder]msiexec.exe

Again, thanks for your help.
Katelyn

-Original Message-
From: Blair [mailto:os...@live.com] 
Sent: Wednesday, July 14, 2010 10:41 AM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Upgrade Help

If you simply remove the older version (without installing the newer
version), do the shortcuts remain?

What is your associated code for the shortcuts in both old and new versions?

-Original Message-
From: Thode, Katelyn [mailto:katelyn.th...@guidancesoftware.com] 
Sent: Wednesday, July 14, 2010 7:45 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Upgrade Help

Hello,

I am working on creating a wix installer to upgrade an existing application.
If I try to install an older version of the application, the installer
indicates that a newer version is installed and exits the setup as expected.

 The issue I am having occurs when a newer version is detected and an
upgrade occurs.  In the older versions of the installer, the application is
under the start menu as [Application Name] - application, uninstall, user's
guide.  In the newer version, the setup for the start menu is [company name]
- [application name] - application, uninstall, user's guide.

When I try

Re: [WiX-users] Upgrade Help

2010-07-14 Thread Thode, Katelyn
Thank you!

The new version does remove its shortcuts.

If I use the RemoveFile element on an update, if the file doesn't exist when it 
tries to remove it, will an error occur?

If so, how do I check to verify that the files do exist?

Thanks,
Katelyn

-Original Message-
From: Blair [mailto:os...@live.com] 
Sent: Wednesday, July 14, 2010 1:53 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Upgrade Help

Then you have done nothing wrong in your new version (assuming it does
remove its shortcuts). You could use the RemoveFile element in WiX to remove
the previous shortcuts on installation.

-Original Message-
From: Thode, Katelyn [mailto:katelyn.th...@guidancesoftware.com] 
Sent: Wednesday, July 14, 2010 9:09 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Upgrade Help

Yes, the shortcuts do remain if I remove the older version without
installing the newer version.

Code for shortcuts in new version:
!-- Declare Start Menu Shortcuts --
DirectoryRef Id=ProgramMenuFolder
  Directory Id=TFirmwareUtilFolder Name=$(var.ProductName)
Component Id=ShortcutComponent
Guid={B4BD1198-1A40-4138-9E8D-3B3AD383D9D6}
  Shortcut Id=startmenuTfirmwareutil
Name=$(var.ProductName)
WorkingDirectory=INSTALLDIR
Target=[INSTALLDIR]$(var.ExeName)
Icon=AppIcon
IconIndex=0 /
  Shortcut Id=TFUUsersGuide
Name=$(var.ProductName) Users Guide.pdf
Target=[INSTALLDIR] Firmware Update Users Guide.pdf /
  Shortcut Id=UninstallProduct
Name=Uninstall $(var.ProductName)
Target=[System64Folder]msiexec.exe
Arguments=/x [ProductCode]
Description=Uninstalls $(var.ProductName) /
  RegistryValue Root=HKMU Key=$(var.RegistryKey)
Name=installed Type=integer Value=1 KeyPath=yes /
  RemoveFolder Id=TFirmwareUtilFolder On=uninstall /
  RemoveFolder Id=ProgramMenuFolder Directory=ProgramMenuFolder
On=uninstall /
/Component
  /Directory
/DirectoryRef


!-- Declare Desktop Shortcut --
DirectoryRef Id=DesktopFolder
  Component Id=DesktopComponent
Guid={536F3500-D603-4D59-B4B7-DC7CAFEB7B01}
CreateFolder /
RegistryKey Root=HKMU
 Key=$(var.RegistryKey)
 Action=createAndRemoveOnUninstall
  RegistryValue Name=DTSC Value=1 Type=integer
KeyPath=yes/
/RegistryKey
Shortcut Id=desktopShortcut
  Directory=DesktopFolder
  Name=$(var.ProductName)
  WorkingDirectory='INSTALLDIR'
  Target=[INSTALLDIR]$(var.ExeName)
  Icon=AppIcon /
  /Component
/DirectoryRef

For the old version, I only have the .msi and not the associated code.
According to the table in Orca:
ShortcutDirectory Name
ComponentTarget
New_Shortcut_S3740  newfolder1TABLEA~1|Firmware Update
tabup.exe2   AlwaysInstall
NewShortcut2newfolder1TABLEA~1|Firmware Update User's Guide
ISX_DEFAULTCOMPONENT_2   [INSTALLDIR]Firmware_Update_Users_Guide.pdf
NewShortcut3newfolder1UNINST~1|Uninstall Firmware Update
ISX_DEFAULTCOMPONENT_2   [SystemFolder]Msi.Exec.exe
New_Shortcut_S3815  DesktopFolder TABLEA~1|Firmware Update
tabup.exe2   AlwaysInstall

For comparison purposes, here is the table in Orca for the new code:
ShortcutDirectory Name
Component   Target
desktopShortcut DesktopFolder xxwpvyht|Firmware Update
DesktopComponent[INSTALLDIR]tabup.exe
startmenuTfirmwareutil  TFirmwareUtilFolder   ziyqatsf|Firmware Update
ShortcutComponent   [INSTALLDIR]tabup.exe
TFUUsersGuide   TFirmwareUtilFolder   zwacagjn.pdf|Firmware Update
Users Guide.pdf   ShortcutComponent   [INSTALLDIR]Firmware Update Users
Guide.pdf
UninstallProductTFirmwareUtilFolder   z2qb0bcp|Uninstall Firmware
Update ShortcutComponent   [System64Folder]msiexec.exe

Again, thanks for your help.
Katelyn

-Original Message-
From: Blair [mailto:os...@live.com] 
Sent: Wednesday, July 14, 2010 10:41 AM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Upgrade Help

If you simply remove the older version (without installing the newer
version), do the shortcuts remain?

What is your associated code for the shortcuts in both old and new versions?

-Original Message-
From: Thode, Katelyn [mailto:katelyn.th...@guidancesoftware.com] 
Sent: Wednesday, July 14, 2010 7:45 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Upgrade Help

Hello,

I am working on creating a wix installer to upgrade an existing application.
If I try to install an older version of the application, the installer

Re: [WiX-users] Upgrade Help

2010-07-14 Thread Blair
Non-matches are ignored, so no error will occur.

-Original Message-
From: Thode, Katelyn [mailto:katelyn.th...@guidancesoftware.com] 
Sent: Wednesday, July 14, 2010 12:04 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Upgrade Help

Thank you!

The new version does remove its shortcuts.

If I use the RemoveFile element on an update, if the file doesn't exist when
it tries to remove it, will an error occur?

If so, how do I check to verify that the files do exist?

Thanks,
Katelyn

-Original Message-
From: Blair [mailto:os...@live.com] 
Sent: Wednesday, July 14, 2010 1:53 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Upgrade Help

Then you have done nothing wrong in your new version (assuming it does
remove its shortcuts). You could use the RemoveFile element in WiX to remove
the previous shortcuts on installation.

-Original Message-
From: Thode, Katelyn [mailto:katelyn.th...@guidancesoftware.com] 
Sent: Wednesday, July 14, 2010 9:09 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Upgrade Help

Yes, the shortcuts do remain if I remove the older version without
installing the newer version.

Code for shortcuts in new version:
!-- Declare Start Menu Shortcuts --
DirectoryRef Id=ProgramMenuFolder
  Directory Id=TFirmwareUtilFolder Name=$(var.ProductName)
Component Id=ShortcutComponent
Guid={B4BD1198-1A40-4138-9E8D-3B3AD383D9D6}
  Shortcut Id=startmenuTfirmwareutil
Name=$(var.ProductName)
WorkingDirectory=INSTALLDIR
Target=[INSTALLDIR]$(var.ExeName)
Icon=AppIcon
IconIndex=0 /
  Shortcut Id=TFUUsersGuide
Name=$(var.ProductName) Users Guide.pdf
Target=[INSTALLDIR] Firmware Update Users Guide.pdf /
  Shortcut Id=UninstallProduct
Name=Uninstall $(var.ProductName)
Target=[System64Folder]msiexec.exe
Arguments=/x [ProductCode]
Description=Uninstalls $(var.ProductName) /
  RegistryValue Root=HKMU Key=$(var.RegistryKey)
Name=installed Type=integer Value=1 KeyPath=yes /
  RemoveFolder Id=TFirmwareUtilFolder On=uninstall /
  RemoveFolder Id=ProgramMenuFolder Directory=ProgramMenuFolder
On=uninstall /
/Component
  /Directory
/DirectoryRef


!-- Declare Desktop Shortcut --
DirectoryRef Id=DesktopFolder
  Component Id=DesktopComponent
Guid={536F3500-D603-4D59-B4B7-DC7CAFEB7B01}
CreateFolder /
RegistryKey Root=HKMU
 Key=$(var.RegistryKey)
 Action=createAndRemoveOnUninstall
  RegistryValue Name=DTSC Value=1 Type=integer
KeyPath=yes/
/RegistryKey
Shortcut Id=desktopShortcut
  Directory=DesktopFolder
  Name=$(var.ProductName)
  WorkingDirectory='INSTALLDIR'
  Target=[INSTALLDIR]$(var.ExeName)
  Icon=AppIcon /
  /Component
/DirectoryRef

For the old version, I only have the .msi and not the associated code.
According to the table in Orca:
ShortcutDirectory Name
ComponentTarget
New_Shortcut_S3740  newfolder1TABLEA~1|Firmware Update
tabup.exe2   AlwaysInstall
NewShortcut2newfolder1TABLEA~1|Firmware Update User's Guide
ISX_DEFAULTCOMPONENT_2   [INSTALLDIR]Firmware_Update_Users_Guide.pdf
NewShortcut3newfolder1UNINST~1|Uninstall Firmware Update
ISX_DEFAULTCOMPONENT_2   [SystemFolder]Msi.Exec.exe
New_Shortcut_S3815  DesktopFolder TABLEA~1|Firmware Update
tabup.exe2   AlwaysInstall

For comparison purposes, here is the table in Orca for the new code:
ShortcutDirectory Name
Component   Target
desktopShortcut DesktopFolder xxwpvyht|Firmware Update
DesktopComponent[INSTALLDIR]tabup.exe
startmenuTfirmwareutil  TFirmwareUtilFolder   ziyqatsf|Firmware Update
ShortcutComponent   [INSTALLDIR]tabup.exe
TFUUsersGuide   TFirmwareUtilFolder   zwacagjn.pdf|Firmware Update
Users Guide.pdf   ShortcutComponent   [INSTALLDIR]Firmware Update Users
Guide.pdf
UninstallProductTFirmwareUtilFolder   z2qb0bcp|Uninstall Firmware
Update ShortcutComponent   [System64Folder]msiexec.exe

Again, thanks for your help.
Katelyn

-Original Message-
From: Blair [mailto:os...@live.com] 
Sent: Wednesday, July 14, 2010 10:41 AM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Upgrade Help

If you simply remove the older version (without installing the newer
version), do the shortcuts remain?

What is your associated code for the shortcuts in both old and new versions?

-Original Message-
From: Thode, Katelyn [mailto:katelyn.th