md8070
Posts: 24
Joined: Thu Nov 10, 2011 9:58 pm

EXE,basic UI,msgbox at end asking for reboot

hello all,

after reading and trying, trying and reading, my last hope is for someone to have had this issue or maybe tech support might have an idea

i'm building an MSI, single EXE with all resources inside, to be installed by users who should not be bothered with a "wizard" :| So, naturally, i have selected the option "Limit to basic user interface (simple progress and error handling". AI v12.2.1

the installer will ask them "do you want to install?", then install 2 chained MSIs and at the end, ask them "do you want to reboot?" (sounds a bit like a wizard :)

i have a custom action MsgBox which works fine for the first question but then the second custom action MsgBox that asks about the reboot appears before the chained MSIs. I tried to put it even after InstallFinalize, no luck

I tried to move the chained MSIs to "Pre-install" but then the installation stops and tells me that "it will help me fulfill those missing pre-requisites" which of course defeats the purpose

Any idea how to achieve this?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: EXE,basic UI,msgbox at end asking for reboot

Hello,

You can try to create a help setup MSI package and add it as a chained .MSI to the main installation package; the help setup package should be the last one in the chained packages list.

In this help setup you will display the question regarding the reboot and also restart the machine. You can take a look on the How do I restart the machine after the installation? article which may be useful to you.

Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
md8070
Posts: 24
Joined: Thu Nov 10, 2011 9:58 pm

Re: EXE,basic UI,msgbox at end asking for reboot

Thanks Dan, i will try that

while testing all this, i realized there might be another issue i may need to work around just as much

one of the chained MSI requires a reboot. It's a vendor MSI and it's built this way. When the installation comes to that point, it throws an error 2623 (see http://community.flexerasoftware.com/ar ... 83498.html)

even if I use REBOOT=ReallySuppress or Suppress

is it not possible to chain an MSI that requires a reboot?

thanks again

Return to “Common Problems”