in

The SoftTeq Community Site

SoftTeq blogs

Alastair Waddell

Installer Class - What variables do i have available?

I was creating a custom installer for an application I was writing, when I needed the answer to "How do I get the install path from within my Installer class.

Well...   In the installer class, you have access to "Me.Context.Parameters" This is a ReadOnly property which returns a System.Collections.Specialized.StringDictionary

It Contains 4 keys:    "action", "installtype", "assemblypath", "logfile".

So to get the path to your assembly, then  try Me.Context.Parameters("assemblypath")

 

Alastair

Comments

No Comments

Leave a Comment

(required)  
(optional)
(required)  
Add
Copyright SoftTeq 2007
Powered by Community Server (Non-Commercial Edition), by Telligent Systems