Regular folders inside a synchronised folder disappear - 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!

DJames
Posts: 8
Joined: Mon Dec 21, 2009 1:48 pm

Regular folders inside a synchronised folder disappear

I have an issue with regular folders. I am using the latest trial build of Advanced Installer in Enterprise mode

1. Create a folder in Windows called c:\test
2. Create a new project
3. In Advanced Installer create a new regular folder under Application Folder called Test
4. Configure test to synchronise with c:\test
5. In Advanced installer within Test create some regular subfolders SubFolder1, SubFolder2, SubFolder3
6. Modify the contents of c:\test
7. When you refresh c:\test in Advanced installer the subfolders you created disappear.

Within the documentation it states that regular folders are not effected by a synchronised parent folder.

Any suggestions?


Thanks
DJames
Posts: 8
Joined: Mon Dec 21, 2009 1:48 pm

Re: Regular folders inside a synchronised folder disappear

I just realised this only happens if the folders are empty - I need this functionality as I am getting Advanced Installer to create the subdirectories and set NTFS permissions on them before custom actions populate them with files
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Regular folders inside a synchronised folder disappear

Hello James and welcome to Advanced Installer Forums,

Regarding your issue, why not create SubFolder1, SubFolder2, SubFolder3 directly inside "c:\test", then refresh the folder from within Advanced Installer? They should appear in the folder tree right away.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
DJames
Posts: 8
Joined: Mon Dec 21, 2009 1:48 pm

Re: Regular folders inside a synchronised folder disappear

Hi because the folder that I am syncronising is the output from a .NET Web Deployment Project and the regular folders I am creating are the app_data and its sub folders (which are removed from the automated output from the .NET Web Deployment project).

I've worked around the issue now.

I have synced the output, created the app_data folder as a regular folder, set its NTFS permissions and created a dummy file under there to ensure it stays put.

A VBScript custom action now creates the subfolders within app_data.

It would be nice if this workaround wasn't needed in a future version.


Thanks.

Return to “Common Problems”