Question How do I determine the directory that the .msi was launched from?
Answer Use the predefined Windows Installer property SourceDir. This properrty contains the source path of the .msi that is currently running. This property is useful when you need to reference the source location of the .msi you are running. This property is case sensitive.
For example, you may want to execute an .exe from your .msi. However, due to the size of the .exe, you do not want to embed it inside the .msi. Instead, you distribute the .exe in the same directory as the .msi. In this case, you can call an Execute Program from destination custom action to run the external .exe and reference the SourceDir property.
Imported Document Id
This is machine translated content
Login to Subscribe
Please login to set up your
For security reasons, your link to this document has expired. Please click on the attachment link to access this file.
The attachment that you are looking for no longer exists.
There has been an issue retrieving your attachment. Please try again.
Currently server is down.
Didn't find the article you were looking for? Try these resources.