加System.Configuration.Install

 

using System.Configuration.Install;

using System.ComponentModel;

[RunInstaller(true)]

public class myInstall:Installer

{

    public override void Install(System.Collections.IDictionary myState)

     {

          base.Install(myState);

          Context.Parameters["welkin"]可拿CustomActionData的參數

          CustomActionData的參數可放/welkin=[PRODUCT]

     }

 

 

}

 

最後把這Class加到Custom Actions裡面

arrow
arrow
    全站熱搜

    welkingunther 發表在 痞客邦 留言(0) 人氣()