Hi,
I need to define installation directory depending on parent web site location + web application name.
I tried to use:
var project = new ManagedProject("MyProduct",
new ManagedAction(@"SetInstallDir", Return.check, When.Before, Step.InstallFiles, Condition.NOT_Installed)
and "SetInstallDir" function assign INSTALLDIR into a path which depends on 2 other properties... but unfortunately it creates "UNDEFINED" directory on current disc.
I also see that InstallDir has correct value in one helping message boxes goes from project template...
How to set it?
Also, actually I need to use physical path of parent web site to which I install application, may be it's some standard way to use it?
I need to define installation directory depending on parent web site location + web application name.
I tried to use:
var project = new ManagedProject("MyProduct",
new Dir("UNDEFINED",
and then set INSTALLDIR in custom action:new ManagedAction(@"SetInstallDir", Return.check, When.Before, Step.InstallFiles, Condition.NOT_Installed)
and "SetInstallDir" function assign INSTALLDIR into a path which depends on 2 other properties... but unfortunately it creates "UNDEFINED" directory on current disc.
I also see that InstallDir has correct value in one helping message boxes goes from project template...
How to set it?
Also, actually I need to use physical path of parent web site to which I install application, may be it's some standard way to use it?