tags:

views:

545

answers:

1

Hi, Any one can explain about how to pass install location to installer by code?

A: 

Use customactiondata property on your installer project as output to your msi, like:

InstallLoc="[TARGETDIR]\"

and in installer project use code like:

installDir = this.Context.Parameters["InstallLoc"];
Johan Leino

related questions