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
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.
RemoveExistingProducts & Advertised Shortcut
Started by
igodunov
, Feb 08 2006 16:20
4 replies to this topic
Posted 09 February 2006 - 08:34
Is it in the same component (same ComponentId GUID) as in the old version?
Stefan Krüger
InstallSite.org twitter facebook
Posted 15 June 2006 - 09:00
Yes, it is it in the same component (same ComponentId GUID). This issue still actual. 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).
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
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
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).