Hi Tony,

What is the layout of your transitive components?  What your shortcuts point to 
- file or folder?  Are shortcuts in the same component as files they point to 
(providing that they point to files, of course)?  Are you sure that old 
components are uninstalled?

Alex


-----Original Message-----
From: shenlong [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 30, 2008 7:19 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Variable Shorcut Name and Upgrading...


Hi Michael,

Issue: On upgrading product, shortcut name Product 5.1 is installed, but
shortcut name of 5.0 is not removed during major upgrade.

I've followed Alex's guideline in installation forr shortcuts, found here
http://blogs.technet.com/alexshev/archive/2008/02/20/from-msi-to-wix-part-10-shortcuts.aspx
WIX Shortcuts . The problem is with the upgrading where you schedule this
<RemoveExistingProducts After="InstallFinalize" /> in the
<InstallExecuteSequence>.

I think because the reference is using the name of the shortcuts between old
product shortcut (Product 5.0) and the new product shortcut (Product 5.1)
even thought the ID is kept the same. I could be wrong, so I need
clarification.

In addition, I have some ini files where users keep their settings and I do
not want to uninstall them. Hence the RemoveExistingProducts is scheduled
after InstallFinalize. Does the sequence of RemoveShortcuts need to change
as pointed out by Alex to solve the issue?



- Tony



Michael Owings wrote:
>
> I had this problem a while ago. From looking at the logs, it turned out
> that the underlying file the shortcut referred to could not be
> uninstalled because of an issue with the old product uninstall. Because
> of that, the old shortcut was not removed. My guess is that something is
> breaking on your uninstall of the old version (not getting completely
> uninstalled). Check your logs for hints.
>
> shenlong wrote:
>> Hello guys,
>>
>> I'm using the SoftwareName and VersionNo to for the shortcut name on
>> desktop
>> and Program Menu. As you can see, VersionNo is variable,i.e. it changes
>> with
>> new builds.
>>
>> For example, Product 5.0. If I upgrade to Product 5.1, the desktop and
>> Program Menu creates new icons shortcut called Product 5.1, which is
>> correct.
>> However, the shortcut icons for Product 5.0 is not removed.
>>
>> I'm doing Major Upgrade with transitive components. Is it something to do
>> with the sequence of doing things?
>>
>> -Tony
>
>
> --
> Teleoperate a roving mobile robot from the web:
> http://www.swampgas.com/robotics/rover.html
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>

--
View this message in context: 
http://n2.nabble.com/Variable-Shorcut-Name-and-Upgrading...-tp1392525p1401576.html
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to