2011年6月14日 星期二

[InstallScript] MsiGetProperty, MsiSetProperty

There's a function to get value from  Property in installscript

MsiGetProperty (hMSI, "ProductCode", szProductCode, numSize);

or set property


MsiSetProperty(hMSI, "NeedScheduleReboot", "1")   ;

this example show how to set reboot after installation

沒有留言:

張貼留言