Hi,
I would like to put a script together so it can go through the "property table" of a Windows Installer application (MSI) then validates all the entries of the "property table" and saves the results in a text file without making any changes...
I have something to start with ( see below) but the changes I would like to make to the script below is to add an option so it can save the results in a txt file and also not make any changes which is the case with the script below:
Sub Property
strTable="Property"
strCol1="Property"
strValue1="INFO_Check"
Set TableRows= WTables(strTable).WRows
KeyFound=False
For Each Row In TableRows
RawString=Row.data(StrCol1)
If LCase(RawString)=LCase(StrValue1) Then
KeyFound=True
Exit For
End If
Next
If Not KeyFound Then
Prop34 = SetProperty("MsiHiddenProperties","WISE_SQL_CONN_STR")
Prop33 = SetProperty("Accept","Yes")
Prop32 = SetProperty("USERNAME","Blank")
Prop31 = SetProperty("COMPANYNAME","Blank")
Prop30 = SetProperty("ARPNOMODIFY","1")
Prop29 = SetProperty("ROOTDRIVE","C:\")
Prop28 = SetProperty("ALLUSERS","1")
Prop27 = SetProperty("REBOOT","ReallySuppress")
Prop2 = SetProperty("_WiseStatusMifSMSVer","2.0")
End If
End Sub