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
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.
Hiding cancel button
Started by
limors327
, Mar 29 2005 11:13
2 replies to this topic
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
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
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