Virtual Directory in Web Setup Project

后端 未结 8 1985
梦谈多话
梦谈多话 2020-12-30 04:39

I have a web setup project which by default shows the virtual directory in the textbox installer screen. I wish that the virtual directory name cannot be edited by the user

8条回答
  •  轮回少年
    2020-12-30 04:54

    Org does not allow open source, or GPL open source.

    Solutions: * edit the custom action (right click>view>custom action) to fix the virtual directory and path Change the customactiondata:

    /targetdir="[TARGETDIR]\" /connectionstring="[CONNECTIONSTRING]" /targetvdir="[TARGETVDIR]" /targetsite="[TARGETSITE]" 
    

    To:

      /targetdir="[TARGETDIR]\" /connectionstring="[CONNECTIONSTRING]" /targetvdir="FIXED_NAME" /targetsite="[TARGETSITE]" 
    

    You might just delete the Installation Address from user interface, and setup a component that passes information to the custom install

    • Write a wrapper over msbuild with msbuildtasks

提交回复
热议问题