SETUPEXEDIR

InstallShield X

SETUPEXEDIR is a property that contains the path to Setup.exe. For example, if the path to Setup.exe is C:\MySetups\MyApp\Setup.exe, the value of SETUPEXEDIR is C:\MySetups\MyApp.

Using SETUPEXEDIR

SETUPEXEDIR is an alternative to the directory identifier SourceDir. A potential problem with using SourceDir is that it points to the location of the running MSI package. In the case of a compressed setup, the MSI package is streamed to a temporary location and run from there. Because of this, SourceDir's value will be some temporary location on the end user's machine, which might not be the value you want.

Limitations of SETUPEXEDIR

There are two limitations to using SETUPEXEDIR:

Note

In an uncompressed setup, SourceDir and SETUPEXEDIR have the same value.

See Also