Video Screencast Help

How to suppress incorrect dialog?

Created: 15 Mar 2010 • Updated: 21 May 2010 | 3 comments
This issue has been solved. See solution.

WISE Installation Studio v7 (creating an exe script, rather than an msi)
correctly starts a windows service,
which works just fine without a re-boot,
but then (incorrectly) still presents the user with a dialog that says that they must restart their computer.

This incorrect dialog makes it difficult to include the script within a Microsoft SMS object (or similar packaging & deployment software), because it can no longer just run silently without user intervention (or writing kluge and dangerous code to try to automate the cancellation of the dialog).

Does anyone know how to suppress this incorrect dialog?

Discussion Filed Under:

Comments 3 CommentsJump to latest comment

kgandy's picture

You can add a command line option to your installation to suppress that message.

In the installation expert click on Command Line, and in the Command line details box click the UI Options tab.

From there you can check the Set User interface level checkbox and then choose the option that best fits your needs.

EdT's picture

Since you are compiling to EXE, you can edit the Wisescript wrapper that it used (setting up a dummy pre-requisite will enable editing of the wisescript). Then at the end of the script add:
Set Variable RESTART to
(leave the value field blank so that RESTART is set to a null value). This turns off any internal RESTART flags.
Save then compile to EXE

If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.