Accessing CustomActionData in Installer Ctor

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • benny lee
    New Member
    • Jan 2012
    • 1

    Accessing CustomActionData in Installer Ctor

    I am passing in properties when launching a MSI file (for example: "setup.exe MyService.msi ServiceName=MyS ervice1"). In my module, I have a class that derives from Installer. In that class ctor, I am using ServiceProcessI nstaller and then adding it to the Installers collection. In the ctor, I need to access the property "ServiceNam e". The property is available via Installer.Conte nt only after the object has been successfully constructed. Is there a way to access the property in the ctor of Installer? Thanks.
Working...