Invalid directory path - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

bielen
Posts: 7
Joined: Fri Nov 06, 2009 6:21 pm

Invalid directory path

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.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Invalid directory path

Hi,

It seems that you're having problems with the upgrade process. Most likely you are breaking some of the upgrade rules. One of the common rules is to increase file versions for files which were changed. If the problem persists, please send us the .AIP (project) files of the two versions which show this problem to support at advancedinstaller dot com so we can investigate them. Also, please send us a verbose log of the upgrade.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
bielen
Posts: 7
Joined: Fri Nov 06, 2009 6:21 pm

Re: Invalid directory path

Hi,

perhaps I'm not exactly enough in my first post. The product has been deinstalled firstly before reinstalling it. Therefore I don't believe it is a problem with file versions.

We did the following.
1.) Install product under C:\Program Files\DATEX\TestInstall
2.) Deinstall product completely.
3.) Re-install the product under C:\Program Files\DATEX\Try2
4.) Deinstall product again.

The sub-directory HED (step 3) is installed under C:\Program Files\DATEX\Testinstall instead of C:\Program Files\DATEX\Try2. If we deinstall the product again (step 4) the HED-directory is also deinstalled corretly.

How can I attach a log file?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Invalid directory path

Hello,

Please send us both .AIPs ( projects ) to support at advancedinstaller dot com so we can investigate them and reproduce the issue. You can attach the upgrade log file to the e-mail as well.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”