|
|
#1 |
|
Junior Member
Join Date: Jan 2008
Posts: 2
|
a bug when install or Unstall!
when i install the program which packed by NSIS at the frist time,The result of the installation is very succesfull.
but you launch the your program and use it, at the same time you launch the installPacket again, and next..next, install your program again. bug is appear! your program is running now, but installation don't tip you your program is running, you must close it and install. so if the installPacket is newer one, the result is that other document are update by intallation except the running one. the same thing also were found during the uninstallation. when you program is running, the result is your program were not be uninstalled. i hope solve this bug, please give me a tip. thanks i tried to solve it and wrote the code below,but it's dosen't work! Function .onInit FindWindow $1 'Static' 'window title' '#32770' IntCmp $1 0 +3 +1 +1 MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "tip to user" IDYES +1 abort FunctionEnd |
|
|
|
|
|
#2 |
|
Forum King
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
|
Some suggestions
![]() http://nsis.sourceforge.net/Docs/Chapter4.html#4.8.2.8 http://nsis.sourceforge.net/Docs/Chapter4.html#4.9.1.5 http://nsis.sourceforge.net/Docs/Chapter4.html#4.9.1.1 http://nsis.sourceforge.net/FCT_plug-in http://nsis.sourceforge.net/FindProcDLL_plug-in Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Jan 2008
Posts: 2
|
thanks for upstairs
i solve the problem by using your tips http://nsis.sourceforge.net/FindProcDLL_plug-in |
|
|
|
|
|
#4 |
|
NSIS MUI Dev
Join Date: Nov 2001
Posts: 3,717
|
Or have your application create a mutex and use the same method that is commonly used to check whether the installer is already running:
http://nsis.sourceforge.net/Allow_on...aller_instance |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|