Hello,
I would appreciate some help with this scenario.
Here what I am trying to achieve.
1. Previous version of application installed
2. Run an upgrade. Execute OnCommitted custom action that updates a version in local *.mdb file (Access DB).
3. Finish the upgrade and the previous state of the *.mdb file is preserved.
I suspect the reason is this MDB file is in directory that has the following conditionL: Overwrite Behavior - Do Not overwrite existing files condition = OLDPRODUCTS
So it seems that AI, takes these files not to be overwritten and copies them apart (temp), installs the new version, updates the DB from the custom action and then overwrites the files with the original (from temp) location.
I am running the .NET Installer custom action before Finish Execution Step in Install Execution Stage. (Marked Upgrade)
Any ideas how to set it up un such way so I can modify the existing MDB file
Thank you.
FOLLOW US
Get the latest news in Application Packaging