1. 创建 install.bat

cd "$(ProjectDir)"
"C:\Windows\System32\MAKECAB.EXE" /f cab-release.ddf

2.创建 cab-release.ddf

 

.OPTION EXPLICIT
.Set CabinetNameTemplate=FinPortalEditProfileWeb.wsp
.set DiskDirectoryTemplate=CDROM
.Set CompressionType=MSZIP
.Set UniqueFiles="ON"
.Set Cabinet=on
.Set DiskDirectory1=Package
 
"FinPortalEditProfileWeb - Copy\MS.IT.FinancePortal.Web.dll"  "MS.IT.FinancePortal.Web.dll"
"FinPortalEditProfileWeb - Copy\RadTabStrip.Net2.dll"  "RadTabStrip.Net2.dll"
"FinPortalEditProfileWeb - Copy\RadTreeView.Net2.dll"  "RadTreeView.Net2.dll"
               
"FinPortalEditProfileWeb - Copy\manifest.xml"  "manifest.xml"
3.把相应的资源文件放好就可以了。

双击 install.bat

posted on 2010-04-30 18:29  blogsweb  阅读(201)  评论(0)    收藏  举报