Quantcast
Channel: wixsharp Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1354

New Post: later to define install dir

$
0
0
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 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?

Viewing all articles
Browse latest Browse all 1354

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>