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 text/control on SetupCompleteSuccess dialog


5 replies to this topic

Chelley

Chelley
  • Members
  • 43 posts

Posted 30 June 2005 - 11:20

Hi

I've got a checkbox and some text which I only wish to show on installation. On uninstalling I don't it to be shown.

So I set a condition of 'Hide' when REMOVE=ALL but that didn't work and it was still shown.
Also tried reverse so 'Show' when REMOVE<>ALL but still doens't work

Where am I going wrong??

Michelle

Zweitze

Zweitze
  • Full Members
  • 522 posts

Posted 30 June 2005 - 16:09

Try REMOVE="ALL"
or better:
REMOVE~="ALL" ('~' means case insensitive compare)

lavocat

lavocat
  • Full Members
  • 158 posts

Posted 01 August 2005 - 14:31

I'v the same issue even when I use the condition REMOVE~="ALL"
or NOT Installed

If I uninstall using ADD/REMOVE PGM -> no problem : SetupCompleteSuccess does never appear at the end but if I choose uninstall when I run setup.exe again, all the conditions I'v tried to hide the "launch program" and "readme" checkboxes from the SetupCompleteSuccess doesn't work.


Is there a solution ?

THX

lavocat

lavocat
  • Full Members
  • 158 posts

Posted 02 August 2005 - 09:35

Ok thanks to the idea of Stefan Krueger I use a Property Custom Action placed at the end of the UI sequence with the condition "Installed" an that works for me. But I'm curious, why doesn't the "Not Installed" work in the setupcompletesucces behavior when uninstalling from the maintenance dialog?

Edited by lavocat, 02 August 2005 - 09:36.


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 03 August 2005 - 19:46

How did you use the Not Installed condition? In which table or view?

lavocat

lavocat
  • Full Members
  • 158 posts

Posted 04 August 2005 - 08:08

I'v tried to use Installed condition in the Hide condition of a checkbox control in the behavior of the setupcompletesuccess dialog in a Basic MSI project using InstallShield 8. I'v also tried Not Installed in the Show condition but with the same issue.

Now I've placed a new property called HIDECHECKBOXES in the hide condition of my checkbox. This condition is set to 1 in a custom action with the condition Installed. This CA is in the UI sequence between SetupProgress and ExecuteSequence. That way works.

Thx

Edited by lavocat, 04 August 2005 - 08:09.