Check that subfolder exists?

Common questions about using Actual Installer.
Post Reply
pwwatson
Posts: 1
Joined: Fri Jun 25, 2010 6:12 pm

Check that subfolder exists?

Post by pwwatson »

Hi,
I want the user to be able to select a currently existing destination folder, then have it check to see if a certain subfolder exists. If it does then files are copied. If it doesn't then the installation is exited with an error. Can this be done with your program?

Thanks,
Paul
Leo
Site Admin
Posts: 458
Joined: Fri Jan 22, 2010 12:40 pm

Re: Check that subfolder exists?

Post by Leo »

Partially.
You may add the following command on the 'System-Commands' page:

Code: Select all

Command: <SystemDir>\cmd.exe
Parameters: /K IF NOT EXIST "<InstallDir>\SubFolder" ECHO "SubFolder doesn't exists."
Show: Normal
Timing: After Installation
This command checks a subfolder existing and then shows a message.
Leo,
Actual Installer Team
https://www.actualinstaller.com
Post Reply