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!

pfletch101
Posts: 24
Joined: Sat Aug 18, 2012 9:19 pm

Allowing Installer user to specify path to APPDATA folder

Because I am installing the files for an Access database Application rather than those for an executable program, nearly everything goes in the APPDATA folder. Is there a built-in, or otherwise easily accessible, way to allow the individual running the Installer to change the path to this folder through a dialog like the default one for changing the installation folder for the program files? If this option doesn't currently exist (and I certainly can't see it), it would be a useful addition to the built-in optional dialogs.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Allowing Installer user to specify path to APPDATA folde

Hello,

In order to achieve what you want you can take a look on our "Browse for folder" article. If you want to browse to "Application Data" folder, then you can use the following property:

Code: Select all

[AppDataFolder]
in the related field from "3 -> b)" article step.

Also, if you want to obtain the same behavior in "FolderDlg" dialog, then you can set the "Application Folder" field, from "Install Parameters" page, with the following value:

Code: Select all

[AppDataFolder]
Let us know if this helps, otherwise give us more details about your scenario.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
pfletch101
Posts: 24
Joined: Sat Aug 18, 2012 9:19 pm

Re: Allowing Installer user to specify path to APPDATA folde

Thanks! The 'Browse for Folder' dialog appears only to be available in the Enterprise version of the Application, which I don't have, but your second suggestion should do exactly what I want, since I don't need the Application folder or its dialog for their more usual purposes.

Return to “Building Installers”