<p>I have some directories that are bundled with my installer and I need to access them from within a custom action.  I have done some research and seen that the SourceDir can be used to obtain the currently executing dir location.  However I cannot find any examples of how to obtain this property?  Or another way to obtain the current directory?</p>

<p>Can anyone advise or point me to anything other than the unhelpful Microsoft site?</p>

I'm assuming you're using vbscript for the custom action. If so, properties can be accessed via the Session object. See below:
```
```
strSourceDir = Session.Property("SourceDir")
```
```
Be aware that the SourceDir property is only available at
specific times during the installation
.