Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

Useful Script to Verify Standard MSI PROPERTIES During Package Testing/QA

Created: 04 Sep 2013 • Updated: 04 Sep 2013 | 1 comment
Eshwar's picture
+4 4 Votes
Login to vote

QA is an integral part of Application Packaging life cycle, ensuring the quality of the package along with the enterprise standards. We can use Wise package studio to open an MSI and read through the PROPERTY table to verify whether the properties that were set in the MSI are according to the standards. However this script will eliminate the time to manually verify the standards in the MSI.

This script can search for MSI files recursively in the given folder and verify pre-defined properties in the MSI's PROPERTY table. Results will be published to a CSV file, making it very easy to organize the results. Any deviation from the standards will be commented in the REMARKS column.

 

MSI PATH PROPERTY VALUE REMARKS

    

Standard properties that were implemented in this script are as below:  

ALLUSERS = 1
ARPNOMODIFY = 1
ARPNOREMOVE = 1
ARPNOREPAIR = 0
REBOOT = ReallySuppress
REINSTALLMODE = voums
ROOTDRIVE = C:\

You can modify the script to include additional logic to verify more properties. 

Comments 1 CommentJump to latest comment

ArcMap's picture

Awesome script. To me, this script atleast eliminates 25% of the manual checking required for MSI packages. I'm gonna tweak this a bit and include extra logic to check for additional properties. Thank and keep writing.  

0
Login to vote