|
|
#1 |
|
Junior Member
Join Date: Feb 2012
Posts: 3
|
nsis installer opens in background
is there a way to make sure it opens in front of other open windows?
|
|
|
|
|
|
#2 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,449
|
How about providing some useful info?
How are you starting the installer? Are you using any plugins? IntOp $PostCount $PostCount + 1 |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Feb 2012
Posts: 3
|
My apologies. I will try to answer as best as possible. I have inherited this from a previous employee and i am trying to learn and fix at the same time.
The script is built using a web interface on a server we have and uses a .build file and an nsi file to create the installer. the installer is downloaded from the web and opens on the users computer - again i apologize if i am stating the obvious. !include WordFunc.nsh !include LogicLib.nsh !include nsisXML.nsh !include EnvVarUpdate.nsh !include MUI.nsh those are the plugins that are included. |
|
|
|
|
|
#4 |
|
Major Dude
Join Date: Oct 2006
Posts: 1,892
|
Includes are not plugins, they are header files (nsh = nsis script header). Plugins are what's called like PluginName::PluginFunction. Search for those in your script.
Here's an extremely easy way to find out what's causing your problem: - Remove half of the code (functionality) from your installer, compile, and run. - If it still happens, remove another half. - Keep removing code until the problem disappears. Then slowly re-add code until you find the command / commands that cause the installer to start out-of-focus. |
|
|
|
|
|
#5 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,449
|
So, you click a link in a browser and then choose open?
IntOp $PostCount $PostCount + 1 |
|
|
|
|
|
#6 |
|
Junior Member
Join Date: Feb 2012
Posts: 3
|
yes.
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|