MSI.SetProperty |
|
|
|
MSI.SetProperty |
|
|
|
|
||
OverviewExamples
PropertyValue = MSI.GetProperty(_hInstall, "MyProperty");
Dialog.Message("Initial Propety Value", "The initial property value is: "..PropertyValue);
bSuccess = MSI.SetProperty(_hInstall, "MyProperty", "NewValue");
if (bSuccess) then
PropertyValue = MSI.GetProperty(_hInstall, "MyProperty");
Dialog.Message("New Propety Value", "The new property value is: "..PropertyValue);
else
Dialog.Message("Error", "Setting the property failed.");
end
Shows the initial value of the property named "MyProperty," sets its value to "NewValue," and confirms that it was written successfully.
See also: Related Actions
Learn More: Indigo Rose Software - MSI Factory - Buy Now - Contact Us