Warning when files are missing - 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!

Forgrimm
Posts: 11
Joined: Mon Feb 07, 2011 11:13 am

Warning when files are missing

I think it would be a good idea to show a warning when files in the Files and Folders section are missing.

In my case a file with shortcuts to Appshortcutfolder and to Desktop was accidently deleted by Kapersky.
When opening the aip-file the next day the shortcuts were removed without a warning or a message.

When saving the aip-file in this state the shortcuts are even deleted permanent from the aip-file.

I think it would be better to get a warning in this case because this can likely result in problems with the builded installations.

Thanks
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Warning when files are missing

Hi,

This happened because you were probably using synchronization, which allows the files list to automatically update silently with the location you specify.

If you want the project build to fail when a file is removed from the hard disk without your approval you will need to disable the synchronization. Then, at build time Advanced Installer
will not find the source file and will stop the process until you either add the file again or remove its references from the project.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Forgrimm
Posts: 11
Joined: Mon Feb 07, 2011 11:13 am

Re: Warning when files are missing

Bogdan,
thanks for your reply.

I understand what you mean but I think an error message would be useful in this case though.
In case of synchronization it is also more likely than not that a missing link to a shortcut is not intended by the user.

Thanks
DanDan
Posts: 9
Joined: Thu Mar 03, 2011 8:47 am

Re: Warning when files are missing

I recently got "bit" by the synchronization feature as well, but in my case it was adding extra files that were not in my list. What would solve this would be to make synchronize folders an option that is off by default. Most people build the release package a file or directory at a time; automatically changing that build list should be something the user needs to set, not the default operation.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Warning when files are missing

Hi,

This option is enable by default only when using the wizard for a new project, if you create a new project without the wizard the option is not activated.

In the wizard it has been decided to be activated by default because for most of the users this is what they need. Of course there are particular cases in which a user may want to synchronize
only a part of the folder's content, and this can be done by adding new filters in Files and Folders page. However, most of the users find the default of the synchronization from the wizard useful.

Regards.
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Feature Requests”