Hi all,
I need to know if Windows installer allows changing a component's destination on minor upgrade (patch).
I am working with a basic MSI project.
Thanks!!!!
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.
change component destination on minor upgrade?
Started by
SHARONC
, Nov 07 2012 11:29
2 replies to this topic
Posted 07 November 2012 - 12:22
From MSI help topic "Changing the Component Code":
QUOTE |
Introduce a new component and assign it a unique component code when making any of the following changes: [...] A change in the name or target location of any file, registry key, shortcut, or other resource in the component. [...] |
Since you cannot change the ComponentCode in a minor update, you should use a Major Upgrade instead.
A potential workaround:
- add a new component with the files in the new location
- keep the old component in the setup, but set its component condition to 0 and revealuate condition = yes
Stefan Krüger
InstallSite.org twitter facebook
Posted 07 November 2012 - 12:34
Thanks a lot Stefan!!!
This means that after including a merge module and setting it's target path in Release,
I cannot change its target path in a minor upgrade for this relese ?!?
Thanks for your fast & helpful reply,
Sharon.
This means that after including a merge module and setting it's target path in Release,
I cannot change its target path in a minor upgrade for this relese ?!?
Thanks for your fast & helpful reply,
Sharon.
Edited by SHARONC, 07 November 2012 - 12:34.