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

display of Dialog for reboot


4 replies to this topic

epriya2003

epriya2003
  • Members
  • 22 posts

Posted 21 February 2006 - 19:00

Hi,


I am using schedule reboot in msi project in Execute sequence after Launch condition.

Required out put is:

Mandatory display of Dialog for reboot at the end in case of Install/repair/upgrade

No display of Dialog for reboot at the end in case of uninstall


I tried following conditions but getting wrong output as given below:

Not Installed [OUTPUT: dialog at the end of install only]
NOT Installed OR (Installed And ACTION<>"INSTALL") [OUTPUT: dialog at the end of install only]

NOT Installed And ACTION="INSTALL" [OUTPUT: dialog at the end of install only]


((NOT Installed) And (ACTION="INSTALL")) OR UpdateStarted [OUTPUT: dialog at the end of install only]






Not Installed OR (_IsMaintenance = "Reinstall") [OUTPUT: dialog at the end of install/ uninstall/ repair/ upgrade]


Not Installed OR (_IsMaintenance = "Reinstall" And _IsMaintenance <>
"Remove") [OUTPUT: dialog at the end of install/ uninstall/ repair/ upgrade]



Not Installed OR (( _IsMaintenance <> "Remove") OR (_IsMaintenance =
"Reinstall")) [OUTPUT: dialog at the end of install/ uninstall/ repair/ upgrade]


Not Installed OR (( _IsMaintenance2 <> "Remove") OR (_IsMaintenance1 =
"Reinstall")) [OUTPUT: dialog at the end of install/ uninstall/ repair/ upgrade]

What condition I should use to get correct output ??

Edited by epriya2003, 21 February 2006 - 19:02.


bobinyec

bobinyec
  • Members
  • 5 posts

Posted 22 February 2006 - 00:49

Are you saying that upon an uninstall, you want a reboot but with no dialog, or are you saying that you don't want the reboot at all?

Thanks,
John Bobinyec

epriya2003

epriya2003
  • Members
  • 22 posts

Posted 22 February 2006 - 05:55

Dont want to reboot on uninstall. Want to reboot and that is why dialog asking for reboot required in case of install/upgrade /repair

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 22 February 2006 - 10:40

I think you should use
Not REMOVE~="ALL"
as a condition you you have to move ScheduleReboot after InistallValidate.

epriya2003

epriya2003
  • Members
  • 22 posts

Posted 22 February 2006 - 16:19

Thanks Stefan, It worked.