I have an application that is being distributed via an installer program. The application uses EnterpriseLibrary.Caching. My problem is outlined here. Is there a way that I can get to installer program to create the folders for the IIS user account if they do not already exist?
1 Answer
If you are using WIX as your installer authoring tool, you can use CreateFolder element. http://wixtoolset.org/documentation/manual/v3/xsd/wix/createfolder.html
Two relevant links:
Detecting the presence of a directory at install time
Wix - how to prevent overwrite entire directory?
After compile, there will be an entry in CreateFolder table of the MSI.
You can also write a custom action and do the trick in the CA.