In order to investigate this problem please send the AIP file (if not contain any confidential informations) or a small similar test case reproducing this issue to support at advancedinstaller dot com.
I am not able to create a test case reproducing this issue, as I do not know why this happens. Let me try to explain what I did. In the last release of my product I put about 10 files into a temp folder. When I installed it those files were installed into the temp folder but removed once the installation has finished.
Now I created a new version of my product which contains the same files. When I now try to upgrade the old version, I can see that the temp files are put into the temp folder again, then they get removed, and the error appears. When I click OK the new installation continues and works fine.
When I manually uninstall the old version I do not get this message, installing the new version on a clean machine with no previous version installed works also fine, so this only happens when upgrading.
Is there anything I could do? Maybe I did something wrong when I created the older version of the product, but I do not have the .aip file anymore.
Can I enable logging somehow, and would such a logfile help?
We have managed to reproduce this behavior. The problem is that on upgrade the temporary file is removed (by the older version) before the file gets executed (with a custom action).
To avoid this behavior you need to specify a condition in the "Edit Temporary File" dialog like this (NOT UPGRADINGPRODUCTCODE). This condition is evaluated when the temp file is extracted or removed.
Thank you for your reply, but this is something I should have done in the old version, which is already installed?
If this is the case then I won't be able to stop this message from appearing...
FOLLOW US
Get the latest news in Application Packaging