Hello guys,
Can you help me with my problem?
For my installer I need to implement upgrading functionallity.
And this is what I want -
I have files splited in different features. While upgrading I want to upgrade some features and in other side left some features from old version.
As far as I understand I need to do the following -
- Open Upgrade Page
- Set automatically upgrade option
- Set "uninstall first" option
- Check "Customize Advanced Installer upgrade rules "
- Open row with "OLDPRODUCT" property.
- Go to Upgrade Action tab
- List features for upgrading into "updgade feature" field.
I did this - but I didnt get expected behaviour of updating.
For better understanding I've prepared sample project for you.(see attach)
So in this project we have 2 files that placed in 2 features.
All options listed above was set.
So what I'm doing - building this project first time - got version 1.0.0.
Change data in the files. Change version to 1.0.1. Click "Major update".Build installer again.
Install version 1.0.0 after that install version 1.0.1.
What I expect to see -
I have only 1.0.1 version installed. File "file_without_changes.txt" is not changed because this file is placed in feature "Fixed" that is not included in "updgade feature" field of Upgrade Action tab in Upgrade page.
What I have -
I have 2!!! versions installed - 1.0.0 and 1.0.1. All files is changed.
See project in attach.
What I'm doing wrong? If you will not see the same behaiour - please write step by step what I need to do and please send to me updated sample project.
Thanks in advance,
Alex