Specifying Relative Path to MSI
Hi All,
I have installation files for an application sitting on a server. I want to create a custom action in an MSI to run a .exe file from a directory two levels down from the MSI file. The absolute path will vary as this msi will sit on various servers so i'm looking for a way to specify a relative path to the .exe from the MSI. Does anyone have any ideas on how i do this?
Cheers
Scotty
I have installation files for an application sitting on a server. I want to create a custom action in an MSI to run a .exe file from a directory two levels down from the MSI file. The absolute path will vary as this msi will sit on various servers so i'm looking for a way to specify a relative path to the .exe from the MSI. Does anyone have any ideas on how i do this?
Cheers
Scotty
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
bkelly
19 years ago
I belive the MSI APPSEARCH feature will give you what you are looking for- but it is really intended to find and return paths of local files- you may need to map a drive in order to have this work for a network location.
Just how this is implemented depends upon what MSI editor you are using, but the raw information can be found here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/appsearch_table.asp
Just how this is implemented depends upon what MSI editor you are using, but the raw information can be found here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/appsearch_table.asp
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.