We have a setup with the following folder layout:
[APPDir]
--Reports
--Templates
------Word
------Hed
If we install our product the first time all works fine. During our tests we're installing and de-installing the product serveral times and we're also using different install directories. If we install the setup (on the same computer) the second time some folders installed in the previous installation directory not new one.
For example:
The default insstallation directroy is C:\Program Files\Company\Product. When re-install the setup in C:\Program Files\Company\TestInstall the sub-directory HED is not installed in Testinstall. Instead it is installed in
C:\Program Files\Company\Product\Templates\Hed. Firstly I though it's our mistake but I didn't find any difference between the folder HED and e.g. Word.
Then I tried an ohter setup (built with Advanced Installer) with the same behaviour (but with a different folder). Finnaly I logged the setup. The variable HED_DIR is set directly the APPDIR variable was changed but to the old installation path. The variable WORD_DIR is not set explicitly but is adding in a later stage of the setup process with the correct path.
FOLLOW US
Get the latest news in Application Packaging