Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Here's a REAL tricky one!


1 reply to this topic

channel0

channel0
  • Members
  • 7 posts

Posted 15 July 2002 - 21:23

Heres a real tricky one:

You can DISABLE the cancel button while using the command:

msiexec.exe /X {productID} /qb+!

BUT when you try it through Add/Remove programs, the cancel button isnt disabled.... ONLY through the command line.

I tried modifying the registry under the values QuietInstallString, ModifyPath, and Uninstall String. These values are located in the HKLM/Software/Microsoft/Windows/Uninstall and Install locations. I included this SAME line, but no luck.

so the question is - How can you disable the CANCEL button during Add/Remove Programs option like the one above using this /qb+!?

Good luck!

chris
Chris Winters

channel0

channel0
  • Members
  • 7 posts

Posted 29 July 2002 - 16:03

SOLUTION: to help others in the future

By using the MsiProcessMessage, passing the eMessageType a INSTALLMESSAGE_COMMONDATA and To disable the Cancel button set [1] to 2 and [2] to 0

Look up MsiProcessMessage for more detail. :)
Chris Winters