Web setup project for custom action RRS feed

  • Question

  • User-2005558437 posted

    Hi All,


    Does anyone here have experience to custom the following requirement.

    By default the installation wizard intall the app on the default website and default virtual dir (C:\inetpud\wwwroot). What I would like to achieve is have the web setup installer silent install the package and install the package under the same name virtual dir specify on the msi name (eg. InstallName_1.0.001) since we are having automated versioning build and generated the version msi.   

    Any tips to roll out the above requirement using custom actions or ??


    Monday, January 25, 2010 1:23 PM


  • User372121194 posted


    Web Setup project installs the website into default virtual directory such as "C:\Inetpub\wwwroot". If we want to install the website to another location, we can create Custom Action to create virtual directory that is specified by "TARGETDIR" of Web Setup project. In order to provide user with dialog where user can input target directory, we can use Orca.exe.

    For more information, see http://www.codeproject.com/KB/install/ChangeVDirWebSetupProject.aspx

    For more information about using Custom Action to create Sites and Virtual Directories in IIS with System.DirectoryServices, see http://msdn.microsoft.com/en-us/library/ms524896.aspx

    I look forward to receiving your test results.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, January 28, 2010 9:30 PM