I am creating an installer for an aC # windows project using VS 2008. I am trying to write a custom action that copies the settings file from the source directory of an MSI file stored on a file server (for example, \ server \ fileshare \ myappinstaller \ mysetting.xml) on the computer on which my application is installed (for example, C: \ Program Files \ My App).
The settings file cannot be added to the installer, since it will contain parameters that will be unique to the client installing the application.
Does anyone have code (preferably C # or VB.NET) for such a custom action? Also, does anyone know how to get the original MSI location (e.g. \ server \ fileshare \ myappinstaller) as part of a custom action.
Many thanks
installer c # windows-installer custom-action
Dean bates
source share