Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

RemoveExistingProducts & Advertised Shortcut


4 replies to this topic

igodunov

igodunov
  • Full Members
  • 61 posts

Posted 08 February 2006 - 16:20

I have major upgrade for my product. There is an advertized shortcuts in upgrade that has same name that another one had in older version (both of them set on DesktopFolder). When I set RemoveExistingProducts after InstallFinalize (it is required for some reason), removing old version causes removing this shortcut - though this shortcut referenced by new version. So there is no shortcut on desktop after installation completed. By some reason I can't rename this shortcut in upgrade. Is there any way to supress removing it during RemoveExistingProducts?
Thanx

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 09 February 2006 - 08:34

Is it in the same component (same ComponentId GUID) as in the old version?

igodunov

igodunov
  • Full Members
  • 61 posts

Posted 15 June 2006 - 09:00

Yes, it is it in the same component (same ComponentId GUID). This issue still actual. sad.gif More over, if I rename shorcut in a new version, old version's desktop shortcut remains after upgrade. (RemoveExistingProducts scheduled at the end of InstallExecuteSequence).

Vijay_k

Vijay_k
  • Full Members
  • 34 posts

Posted 15 June 2006 - 12:11

Hi

I hope you are placing the RemoveExistingProduct Standard action in wrong place.
Try to keep it just after the "Cost Finalize" action.
So that once the Cost has been finalised it will remove the older version, then it will install the newer version as it is a major upgrade.

I hope it should solve your problem.

---- Vijay

igodunov

igodunov
  • Full Members
  • 61 posts

Posted 16 June 2006 - 14:45

QUOTE (Vijay_k @ 2006-06-15 12:11)
Hi

I hope you are placing the RemoveExistingProduct Standard action in wrong place.
Try to keep it just after the "Cost Finalize" action.
So that once the Cost has been finalised it will remove the older version, then it will install the newer version as it is a major upgrade.

I hope it should solve your problem.

---- Vijay

It's impossible because of service lock occure during upgrade (service marked for deletion during remove, but upgrade will try to start it).