S
S Chapman
How to get the folder in which the MSI is present?
What I am trying to do is, basically my app has a config file and
within this the connection string is stored, when I distribute the
MSI, the sys-admin normally puts the MSI on a network and installs the
clients from there. I want to put a copy of cofnig file in the same
folder as the MSI which the sys-admin can edit and speicify the right
connection string and inside my installer class I will copy this
edited config file into the app folder. For this I need to know where
the MSI is running from.
How to get the MSI folder please?
Thanks
What I am trying to do is, basically my app has a config file and
within this the connection string is stored, when I distribute the
MSI, the sys-admin normally puts the MSI on a network and installs the
clients from there. I want to put a copy of cofnig file in the same
folder as the MSI which the sys-admin can edit and speicify the right
connection string and inside my installer class I will copy this
edited config file into the app folder. For this I need to know where
the MSI is running from.
How to get the MSI folder please?
Thanks