Moving files to a feature - Advanced Installer Community
Tim0n
Posts: 14
Joined: Fri Sep 05, 2014 10:59 am

Moving files to a feature

Hello,

I have a problem with moving files to a specific feature.

When I synchronize a folder and select a feature, not all files in this folder are moved to this feature (the files remain in MainFeature) . Some folders though, have the option "Move to feature..", when I use this option, all files are moved. For some folders though, I can't select this option because it is grayed out (why is this?).

I need to have the whole content of a folder in a specific feature because, I want to set a condition to only install this folder (feature) if the OS is 64 bit (or 32).

Since im pretty new to AI, I might just missunderstood something.

Thanks in advance!
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Moving files to a feature

Hi and welcome to Advanced Installer forums.

Thank you for your interest in Advanced Installer.
When I synchronize a folder and select a feature, not all files in this folder are moved to this feature (the files remain in MainFeature)
If you keep the unsynchronized files in that folder, they will not be moved to another feature when the folder is synchronized.
Some folders though, have the option "Move to feature..", when I use this option, all files are moved. For some folders though, I can't select this option because it is grayed out (why is this?).
I'm not sure why this happens, are you sure that those folders are not empty? If so, can you please send us the .AIP (project file) to support at advancedinstaller dot com, so we can investigate it? Also, please tell us the name of some folders with the problem when you send the project.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Tim0n
Posts: 14
Joined: Fri Sep 05, 2014 10:59 am

Re: Moving files to a feature

Hello Eusebiu,

I found out that the "Move to feature" option is grayed out, if the folder is empty or only contains sub folders (with files), is this intended?

Best regards,
Timon
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Moving files to a feature

Hi Timon,

Indeed, this is the normal behavior. Only folders that contain files can be moved to features.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Tim0n
Posts: 14
Joined: Fri Sep 05, 2014 10:59 am

Re: Moving files to a feature

Alright, thanks.

I for example, have to install Postgres. 64 or 32 bit, so I followed your guide in one of the posts, by creating two folders inside the postgres folder, sync one to the 32 bit folder and one to 64 bit, check "install content in parent folder" and pack both in seperate features with condition VersionNT64 (or not). Problem is that the root Postgres folders only contain subfolders..

What I just tried, is the create a dummy file in the folder, hit "Move to feature" and delete the file again. This seems to be a good workaround?
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Moving files to a feature

You're welcome Timon.

Yes, that is a good workaround. Just let us know if you have any other question.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”