Posts Tagged ‘msi’

How to get msi setup file location using installer class

To get the current msi setup path,

  1. Goto the setup project
  2. Right click and select view->custom actions
  3. Under Install Node, click the “primary output from….”
  4. Press F4 to show its property
  5. Add the /Source=[SourceDir] to the CustomActionData property
  6. Can then be access through the installer class

Context.Parameters(“Source”)

Source Path Custom Action

Source Path Custom Action


, , ,

No Comments



SetPageWidth