Hello!
I'm trying to check if the installation path is empty, if it's not i use custom action "Display error message" which stops the installation. To achieve this i use APPDIR property in "Search" tab and make folder search for [APPDIR]data\base. This folder is made after the installation, so it's not deleted after uninstall. I just don't want my user to intall product in non emty folder. I put my custom action after "Path resolution" in "Install execution page". The problem is that it's unable to find existing folder in installation folder. Furthermore, when i use [APPDIR]data (it is in "Files and Folders") it is found even though it is missing on the file system. What i discovered is when i use every folder from my "Files and Folders" tab it is found even it is missing, but i expect Search with APPDIR to look for folders on file system not in package.
What do i do wrong?
Thanks in advance!
Aleksey.
FOLLOW US
Get the latest news in Application Packaging