in

Dotnetpanel Forums

Community support forums for DotNetPanel products

Applications Installer Virtual Directory

Last post 02-11-2010 9:38 AM by m.hamilton. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 02-09-2010 5:21 PM

    Applications Installer Virtual Directory

    Can anyone tell me if it is possible to create a virtual directory when i creating and running application installer for DNP?

    Thanks

    Regards,

    Matt Hamilton
    netMaestro Content Management System
  • 02-11-2010 7:54 AM In reply to

    Re: Applications Installer Virtual Directory

    There is an option to install package into VirDir into specific web site during installation on the details page.
    Regards,
    Jegor.
  • 02-11-2010 8:13 AM In reply to

    Re: Applications Installer Virtual Directory

    I was wanting to have a virtual directory under the top level like /my_app/shared_vir_dir  to share some common files rather than deploying them multiple times. I currently do it outside of the control panel in IIS which is a pain.

    Regards,

    Matt Hamilton
    netMaestro Content Management System
  • 02-11-2010 8:45 AM In reply to

    Re: Applications Installer Virtual Directory

    If you have all 3 DNP components on the same server then you can just put code into application's "settingsControl" page. It'll do the trick.

    C# examples:

    http://www.codeproject.com/KB/cs/virtualdir.aspx

    http://blogs.officezealot.com/charles/archive/2004/10/26/3191.aspx

    or search Google for: create virtual directory in iis c#

     

    If DNP components are on different servers, then you can "hack" DNP Portal pages to track what is happening behind the scenes when you create virtual directory ordinary way in "Web Sites". Then copy the piece of the code and put it into application's "settingsControl" page. I don't think it's hard, but it's just time consuming.


    Or email DNP team and ask for some API call/trigger to create VirDir they use. I'm sure they will tell you, but maybe in the "next century".

     

    Those the only ways I can think of.

    Regards,
    Jegor.
  • 02-11-2010 9:38 AM In reply to

    Re: Applications Installer Virtual Directory

     Thanks Jegor

    After reading your post I think I could attach a Task Event Handler and create a vir dir like in your sample but test for some conditions some how.

    http://help.dotnetpanel.com/DotNetPanel%20Developers/Implementing%20Enterprise%20Server%20Task%20Event%20Handler.aspx


    Regards,

    Matt Hamilton
    netMaestro Content Management System
Page 1 of 1 (5 items)
Powered by Community Server (Commercial Edition), by Telligent Systems