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!

Steve_OH
Posts: 2
Joined: Mon Dec 23, 2013 7:57 pm

Resolve folder contents at build time

The "Add Folder" operation doesn't actually add the folder to the project. Instead, it adds all of the files in the folder. What I'd like to do is add the folder itself. What I mean by that is that I'd like to be able to resolve the folder contents at build time. So, for example, if I've added C:\foo to the project, and mapped it to [Application Folder]\foo in the installer, then when I build the installer, whatever files are in C:\foo at the time of the build are included in the .msi.

Is there a way to do this?

Thanks,

-Steve
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Resolve folder contents at build time

Hello Steve and welcome to Advanced Installer forums,

In order to achieve that you can synchronize your folder to a source folder on disk.
Basically, the folder synchronization works like this:
  • -the synchronized folder from your project will be identical in content with the source folder from the disk.
    -if the files and folders in the synchronized folder on the disk change, this change is also made in the synchronized folder from your project.
    -if you add regular files and folders in a synchronized folder, these elements will not be affected by the synchronization.
    the synchronization is refreshed when you open the project, when you use the [ Refresh ] button in the "Files and Folders" page or when you built the project.
Please let us know if you have other questions.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Steve_OH
Posts: 2
Joined: Mon Dec 23, 2013 7:57 pm

Re: Resolve folder contents at build time

Thanks. I was using the freeware version, which is why I couldn't find that functionality.

-Steve
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Resolve folder contents at build time

Hello Steve,

Indeed, the Synchronize Folder feature is not available in the freeware version of Advanced Installer and it require at least a Professional project type. You can also take a look on the Advanced Installer – Features by Edition article.

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”