Application Folder and FolderDlg - 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!

FelixBrueckner
Posts: 7
Joined: Fri Oct 05, 2012 1:11 pm

Application Folder and FolderDlg

Hi there,

I have a setup project (AI 9.5 Enterprise) where I use the FolderDlg dialog. At installation time, when I change the default APPDIR path (configured under "Install Parameters") to another valid path, the files get installed to the default path instead all the time, and not the path I entered. ???

All the program files use the Application Folder under "Files and Folders". So, everything is well configured, right?

Why is the changed APPDIR path ignored here? Any ideas are appreciated!

Thanks and regards
Felix
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Application Folder and FolderDlg

Hello Felix and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

I'm not sure why you are encountering this behavior. Can you give us a more detailed test case scenario or attach a sample reproducing the behavior? Also, please keep in mind that in order to clearly report an issue you can take a look on our How to report a problem for a faster resolution article.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
FelixBrueckner
Posts: 7
Joined: Fri Oct 05, 2012 1:11 pm

Re: Application Folder and FolderDlg

Hello Daniel,

I have more setup projects with very similar settings, and everything works fine there (concerning APPDIR). So a simple sample project will not help.

I have attached the .ai file of the problematic setup project. Maybe this helps you? It is a more complex project with quite a lot of files an other dependencies.

I can not find any missing or wrong setting in this project concerning APPDIR and the FolderDlg dialog.

Thanks and regards
Felix
Attachments
nf6manager.aip
(366.82 KiB) Downloaded 368 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Application Folder and FolderDlg

Hello Felix,

Please keep in mind that when using the "Install MSI as minor upgrade (if applicable)" option the current product's installation will act as a patch for an older version of the product (if an older version is already installed on the target machine). Also, you should follow the patch creation rules (i.e. the newer and the older version of the product must have the same Product Code) when using this options.

Also, when using "Allow side by side installs of different product versions" option the current project version of the product should be build as a major upgrade (the newer and the older version of the product must have different Product Codes). So, can you disable the "Install MSI as minor upgrade (if applicable)" option and see if the behavior still persist? If so, can you send us a verbose log of the installation to support at advancedinstaller dot com so we can investigate it?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
FelixBrueckner
Posts: 7
Joined: Fri Oct 05, 2012 1:11 pm

Re: Application Folder and FolderDlg

Hello Daniel,

I sent you an email to the address support@advancedinstaller.com.

Regards
Felix
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Application Folder and FolderDlg

Hello Felix,

I'm not sure why you are encountering this behavior. Can you disable our "Enhanced UI" feature from "Themes" -> "Settings" tab and send us a log file of the installation without "Enhanced UI" so we can investigate it?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
FelixBrueckner
Posts: 7
Joined: Fri Oct 05, 2012 1:11 pm

Re: Application Folder and FolderDlg

Hello Daniel,

with this setting, it works! :-)

I have attched the new log as a Zip file.

Nevertheless, it would be nice to be able to use the Enhanced UI again for this setup project in the future. Will you fix this?

Thanks and regards
Felix
Attachments
MSI6c49b.zip
(76.63 KiB) Downloaded 340 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Application Folder and FolderDlg

Hello Felix,

It seems the related behavior appears because you have added the "InstallTypeDlg" after "FolderDlg" in "Dialogs" page (and not by our Enhanced UI feature). This is not a recommended approach because the options from "InstallTypeDlg" set some parameters from your project to a per user or a per machine context. So, can you move the "InstallTypeDlg" before "FolderDlg" and see if the behavior still reproduce.

Also, if the behavior still reproduce after you have added the "InstallTypeDlg" before "FolderDlg", then can you try to create a sample with dummy files (because I cannot reproduce the behavior with this scenario) so we can investigate it?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
FelixBrueckner
Posts: 7
Joined: Fri Oct 05, 2012 1:11 pm

Re: Application Folder and FolderDlg

Hello Daniel,

unfortunately we do not use the InstallTypeDlg Dialog at all (see attached screenshot) and the problem is still there as soon as we activate the Enhanced UI.

Any other idea?

A simple sample will work, I guess. We have another AI project with similar settings but less content and less complex. Here, we do not have this problem. We have it only in the more complex project I sent you.

Regards
Felix
Attachments
dialogs.jpg
dialogs.jpg (48.19 KiB) Viewed 9118 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Application Folder and FolderDlg

Hello Felix,

I'm afraid that I was able to reproduce the related behavior only when the "InstallTypeDlg" is added after "FolderDlg" in "Dialogs" page.

Also, the above screen shot is from the project file (nf6manager.aip) you have sent to us?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
FelixBrueckner
Posts: 7
Joined: Fri Oct 05, 2012 1:11 pm

Re: Application Folder and FolderDlg

Hello Daniel,

yes, this screenshot is from the project nf6manager.aip. We used the InstallTypeDlg here before, that's right. But we removed it again. But the problem still remains. As soon as we switch off the Enhanced UI, everything works fine. As soon as we switch it on again, we have the problem with the Application Folder. So I mean, the reason for the problem must relate to the the Enhanced UI setting. No idea?

Regards
Felix
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Application Folder and FolderDlg

Hello Felix,

I'm not sure why you are encountering this behavior. As I said I was able to reproduce the related behavior only when the "InstallTypeDlg" is added after "FolderDlg" in "Dialogs" page. Also, I've observed that the above .AIP file attached by you contains the "InstallTypeDlg" (added after "FolderDlg").

However, can you send us again the current .AIP (project file) that you are using and two verbose logs (one with Enhanced UI enabled and one without Enhanced UI) of the installation to support at advancedinstaller dot com so we can investigate them?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”