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

Hiding cancel button


2 replies to this topic

limors327

limors327
  • Members
  • 6 posts

Posted 29 March 2005 - 11:13

wink.gif Hello ALL,
When launching the uninstall from Add\Remove programs applet, the progress bar contains Cancel button (see attached bmp).
At first, I thought that the UninstallString registry value in HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\{ProductCode}\ should be changed in this way:
msiexec /x{ProductCode} /qb!
But, it does not work, I even tried to write custom action that hide the cancel button (the example appears in msdn), but again it does not work.
So, how can I hide it?

Please help,
Thanks in advance,
Limor


dtasanas

dtasanas
  • Full Members
  • 83 posts

Posted 06 May 2005 - 22:55

i'm having the same problem and tried the same things. does anyone have any ideas?
Don Tasanasanta[br]Configuration/Installation Eng

luke_s

luke_s
  • Full Members
  • 532 posts

Posted 26 May 2005 - 00:54

I believe that you can write a custom action to hide/show the cancel button.

MsiSetInternalUi can have a parameter of INSTALLUILEVEL_HIDECANCEL

Or

MsiProcessMessage with INSTALLMESSAGE_COMMONDATA

Or

msiexec /qb!

You will need to read the documentation to see the full details.

Unfortunatly, I dont think there is a property you can set to hide the cancel button