Archive: Uninstall - Component Page - Space Required.


Uninstall - Component Page - Space Required.
Hi all,

While running my Uninstall.exe, on the Component page, there is the text "Space Required 0.0KB".

I am not sure why the uninstaller should ever display "Space Required", as we are uninstalling, not installing...

Nevertheless, I cannot seem to turn that text off, ONLY for the uninstaller.

(Using "SpaceTexts none" turns it off for both the installer and uninstaller, but I want that text for the installer)

I tried trapping it, by adding a "pre" function to the uninstall component page, and then doing this:

FindWindow $0 "#32770" "" $HWNDPARENT
GetDlgItem $9 $0 1023
EnableWindow $9 0
ShowWindow $9 0

However, the first "FindWindow" comes back with 0, so I know I am not doing something right. =)

Any thoughts? Clues?

Thanks!
Scott


Hi everyone,

Nevermind.
I forgot I had to do the trapping in the "Show" function, not the "Pre" function.

I quickly added this, and things worked as I wanted them to:

Function un.ShowComponents
FindWindow $0 "#32770" "" $HWNDPARENT
GetDlgItem $9 $0 1023
EnableWindow $9 0
ShowWindow $9 0
FunctionEnd


Scott