I have a custom action that I'm using to deploy some files that sit next to the msi in the handoff package. My custom action is passed the msi path via the OriginalDatabase parameter and I'm checking to see if there is a folder next to it. Nothing too crazy but was a pain in the butt to figure out.
Installing single or multiple users from files copied locally works like a champ. Installing single user when running the setup.exe from a network share works fine however when I install all users from a network share I'm getting a security exception.
The line in question is this:
DirectoryInfo[] subdirectories = workingDirectoryInfo.GetDirectories("Foo");
The custom action runs with SecurityAction.Demand
so I should have all the access I need.
Any input anyone can provide is greatly appreciated.
Thanks, Casey