C# 클래스 SIL.FieldWorks.WindowsInstallerQuery

Class to find out some details about the current FW installation.
파일 보기 프로젝트 열기: sillsdev/FieldWorks

공개 메소드들

메소드 설명
IsThisBTE ( ) : bool

Check the installer status to see if we are running a BTE version of FW. If the product is not installed then we assume this is a developer build and just say it's BTE anyway.

IsThisInstalled ( ) : bool

Check the installer status to see if FW is installed on the user's machine. If not, it can be assumed we are running on a developer's machine.

비공개 메소드들

메소드 설명
GetProductInfo ( string propertyName, string &propertyValue ) : Int32
MsiGetFeatureInfo ( int hProduct, string szFeature, uint &lpAttributes, StringBuilder lpTitleBuf, uint &cchTitleBuf, StringBuilder lpHelpBuf, uint &cchHelpBuf ) : uint
MsiGetProductInfo ( string product, string property, StringBuilder valueBuf, Int32 &cchValueBuf ) : Int32
MsiOpenProduct ( string szProduct, int &hProduct ) : uint

메소드 상세

IsThisBTE() 공개 정적인 메소드

Check the installer status to see if we are running a BTE version of FW. If the product is not installed then we assume this is a developer build and just say it's BTE anyway.
public static IsThisBTE ( ) : bool
리턴 bool

IsThisInstalled() 공개 정적인 메소드

Check the installer status to see if FW is installed on the user's machine. If not, it can be assumed we are running on a developer's machine.
public static IsThisInstalled ( ) : bool
리턴 bool