File overwrite - 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!

Koen
Posts: 21
Joined: Thu May 06, 2010 7:49 am

File overwrite

Hi,

My advanced installer contains a settings file for my program. It's placed in a certain folder by use of a search. If this file already exists the installer should not overwrite it. It should skip this file. But instead the file is overwritten. How can I alter my project to install the file if it doesn't exist and to skip the installation of that file if it does exist?

Best regards,
Koen
Attachments
screenshot2.jpg
screenshot2.jpg (39.81 KiB) Viewed 3564 times
screenshot1.jpg
screenshot1.jpg (141.1 KiB) Viewed 3564 times
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: File overwrite

Hi Koen,

You can add a file search in the Search page to check if the file exists on the target machine. You can then use the search's name in the condition field of your file's component in the Organization page.

Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Feature Requests”