Hello,
How can I cancel the installation process from inside one of my custom actions (a vbscript)?
Thanks
Code: Select all
Function MsiMsgBox()
Const msg = "Your installation will now finish ..."
Const msiMessageTypeUser = &H01000000
Set record = Session.Installer.CreateRecord(1)
record.StringData(0) = "[1]"
record.StringData(1) = CStr(msg)
ans=Session.Message(msiMessageTypeUser , record)
MsiMsgBox = 2
End Function
FOLLOW US
Get the latest news in Application Packaging