jeeden
Posts: 1
Joined: Tue Feb 05, 2013 4:18 pm

Check if target directory empty

I'm trying to customize my installer and think I need to use the custom launch condition, but am unsure how.


My installer is very basic. I place files in a folder, then make a shortcut and we are done. The application we run when complete will delete some files. We then allow the users to run the installation again if they want to replace them.

The condition I want to check is the status of the files. If the user runs the installer and the files already exist, I just want the installer to to quit. However, if the files don't exist, I want it to continue to reinstall.

Can someone give me a hand with this? I really appreciate it. Thanks.
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: Check if target directory empty

Hi and welcome to Advanced Installer forum.

Thank you for your interest in Advanced Installer.

The Set launch conditions article describes how you can create a custom launch condition based on a file search.

Let us know if this helped, otherwise give us more details about your scenario.

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

Return to “Building Installers”