I've created msi package with deferred Custom Action:
<CustomAction Id="TestTxt" BinaryKey="MyDLL" DllEntry="TestTxt" Execute="deferred" Impersonate="no" />
<CustomAction Id="SetTestTxt" Property="TestTxt" Value="[SourceDir]test.txt" />
This CA reads the content of test.txt file placed next to the msi.
The installation works fine from local drive and from network path, BUT when I tried to run it from mapped network drive the CA couldn't find the file test.txt. I get System.IO.DirectoryNotFoundException Exception...
Do you have an ideas of what can be the problem and how can I fix it? thanks!