change component destination on minor upgrade?
Posted 07 November 2012 - 11:29
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.
Posted 07 November 2012 - 12:22
|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
Posted 07 November 2012 - 12:34
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,
Edited by SHARONC, 07 November 2012 - 12:34.