Click here to Skip to main content
15,898,371 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
The following is the InstallShield-2010 XML script with which the message will be displayed in the background. I want it to display in the foreground.


HTML
<setuplanncher.settings>
    <launcherextension>WarningMsgOp.dll</launcherextension> 
    <setup>
        <program>NDP40-KB982638-x86.exe</program> 
        <parameters>/q /norestart</parameters> 
    </setup>
    <postwarningmessage>If you choose to reboot, you must log-in under the same user name. </postwarningmessage> 
</setuplanncher.settings>


Here the message "If you choose to reboot....." will be displayed behind the installer window. I want it in foreground.

Using C#, an exe is created and this xml is passed as a command line argument to that exe.
Posted

If you create your own form for displaying the message it's all a matter of setting it's TopMost property to true.
 
Share this answer
 
CSS
<setuplauncher.settings>
    <launcherextension>WarningMsgOp.dll<'/launcherextension> 
    <setup>
        <program>NDP40-KB982638-x86.exe<'/program> 
        <parameters>'/q '/norestart<'/parameters> 
    <'/setup>

<postwarningmessage>If you choose to reboot, you must log-in under the same user name. <'/postwarningmessage>

</postwarningmessage></parameters></program></setup></launcherextension></setuplauncher.settings>


Or something like the above. If you execute the post warning message within the setup launcher settings, it gets displayed behind, so if you execute it directly after the setup settings dialog, then it will display on top, since it the last statement executed.

Oh, and don't forget, spelling counts.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900