Yin's profile大民的马窝PhotosBlogListsMore Tools Help

Blog


    July 05

    我恨自己

    无语,就是恨!!!!
    恨自己真没用,浪费时间,爱玩游戏,不好好学习,唉,我觉得自己简直太失败了.
    有机会却抓不住....
    July 03

    火辣辣的七月

    要去申办Passport了, 一脸的傻样,唉!要打扮得漂漂亮亮去照相,哈哈。
    ---怎么感觉文不对题呢,不管了,反正又不是高考,也不怕得零分,大不了被小豆包,小狗熊嘲笑罢了。
    ---七月份是个重大转折,要珍惜每一天。
    ---上周的计划又失败了,被CTP折腾得,天天早起晚归,第一次做测试这么累
     
    July 02

    安装和卸载Service

    安装服务

    installutil yourproject.exe
    卸载服务

    installutil /u yourproject.exe

    ----------------------

    Usage: InstallUtil [/u | /uninstall] [option [...]] assembly [[option [...]] assembly] [...]]

    InstallUtil executes the installers in each given assembly.
    If the /u or /uninstall switch is specified, it uninstalls
    the assemblies, otherwise it installs them. Unlike other
    options, /u applies to all assemblies, regardless of where it
    appears on the command line.

    Installation is done in a transactioned way: If one of the
    assemblies fails to install, the installations of all other
    assemblies are rolled back. Uninstall is not transactioned.

    Options take the form /switch=[value]. Any option that occurs
    before the name of an assembly will apply to that assembly's
    installation. Options are cumulative but overridable - options
    specified for one assembly will apply to the next as well unless
    the option is specified with a new value. The default for all
    options is empty or false unless otherwise specified.

    Options recognized:

    Options for installing any assembly:
    /AssemblyName
     The assembly parameter will be interpreted as an assembly name (Name,
     Locale, PublicKeyToken, Version). The default is to interpret the
     assembly parameter as the filename of the assembly on disk.

    /LogFile=[filename]
     File to write progress to. If empty, do not write log. Default
     is <assemblyname>.InstallLog

    /LogToConsole={true|false}
     If false, suppresses output to the console.

    /ShowCallStack
     If an exception occurs at any point during installation, the call
     stack will be printed to the log.