Archive: Windows Vista: MessageBox hidden and on uninstall process by Uninstall.exe (NSIS)


Windows Vista: MessageBox hidden and on uninstall process by Uninstall.exe (NSIS)
Hello EveryBody.

On uninstall process,
When the progressbar is displayed, on a step I make a check to find if a folder exists.
When this folder exists my script display a MessageBox but only on Windows Vista (It's OK on Windows XP) this MessageBox is hidden by NSIS uninstall GUI.

Could help me to understand and what to do for resolving this problem?

Best regards,

Yves


Depending on where you have a MessageBox instruction, if it is not in a un. prefixed function, then don't think it will run. When the uninstaller *.exe is generated, only uninstall related functions are included to reduce the exe size. So you may need a uninstall version of the function.


In fact, my MessageBox is rightly in a function prefixed 'un.'.
This function is called after uninstall function but it is not correctly displayed on Windows Vista only (Just available in taskbar, not viewed)...

Help me if you can...

Regards,

Yves