Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

How to suppress incorrect dialog?

Updated: 21 May 2010 | 3 comments
DeanZiegler's picture
0 0 Votes
Login to vote
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

kgandy's picture
15
Mar
2010
0 Votes 0
Login to vote

Incorrect dialog

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
15
Mar
2010
0 Votes 0
Login to vote

Solution

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.

DeanZiegler's picture
17
Mar
2010
0 Votes 0
Login to vote

Thank you EdT, That worked!

Thank you EdT,

That worked!