Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 12th July 2012, 15:15   #241
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,202
New version.
Quote:
2.6.1.3 - 12th July 2012
* Fixed Back button triggering auto-next during scan when /autonext is used.
http://nsis.sourceforge.net/File:LockedList.zip

Stu

Need an installer? http://www.afrowsoft.co.uk
Afrow UK is offline   Reply With Quote
Old 12th July 2012, 17:07   #242
Pawel
Moderator
 
Pawel's Avatar
 
Join Date: Aug 2004
Location: Poland
Posts: 418
Send a message via ICQ to Pawel
Stu,
The newest plugin crashes for me
LockedList Unicode: 2.6.1.3
NSIS Unicode 2.46.5
Windows 7 x64 (Language PL)
Used syntax:
PHP Code:
Function CreateLockedListPage

    
${If} ${AtLeastWinNt4}
        !
insertmacro MUI_HEADER_TEXT "Title" "Subtitle"
        
LockedList::AddModule "$INSTDIR\winamp.exe"
        
LockedList::Dialog /heading "Text1" /colheadings "Text2" "Text3" /noprograms "Text4" /searching "Text5" /endsearch "Text6" /endmonitor "Text7" /autoclosesilent "Text8" $(^NextBtn) /menuitems "Text9" "Text10"
    
${EndIf}
    
FunctionEnd 
It crashes on the end of searching, when going to next page (Components Page).

Edit:
Last working build is: 2.6.1.0
[Build 2.6.1.1, 2.6.1.2 and 2.6.1.3 crashes]

Edit2:
ANSI build 2.6.1.3 works OK.
However, if I use /autonext option and do:
- Welcome Page -> LockedPage (not showed thanks to /autonext) -> Components Page <-- LockedPage -> I can not go to previous page, as LockedPage is autonext forward...
I hope you understand.

-Pawel
Pawel is offline   Reply With Quote
Old 12th July 2012, 17:26   #243
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,202
What OS?

Edit: Regarding the autonext problem see a few posts back.

Stu

Need an installer? http://www.afrowsoft.co.uk
Afrow UK is offline   Reply With Quote
Old 12th July 2012, 17:27   #244
Pawel
Moderator
 
Pawel's Avatar
 
Join Date: Aug 2004
Location: Poland
Posts: 418
Send a message via ICQ to Pawel
As I wrote in my first post, Windows 7 x64 with Polish language.
Pawel is offline   Reply With Quote
Old 12th July 2012, 17:44   #245
Pawel
Moderator
 
Pawel's Avatar
 
Join Date: Aug 2004
Location: Poland
Posts: 418
Send a message via ICQ to Pawel
OK, thanks.
-Pawel
Pawel is offline   Reply With Quote
Old 12th July 2012, 18:37   #246
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,202
New version.
Quote:
2.6.1.4 - 12th July 2012
* Fixed a crash in SystemEnum (v1.6) for the Unicode build.
http://nsis.sourceforge.net/File:LockedList.zip

Stu

Need an installer? http://www.afrowsoft.co.uk
Afrow UK is offline   Reply With Quote
Old 12th July 2012, 18:45   #247
Pawel
Moderator
 
Pawel's Avatar
 
Join Date: Aug 2004
Location: Poland
Posts: 418
Send a message via ICQ to Pawel
Stu, I confirm it is fixed now. Thx.
-Pawel
Pawel is offline   Reply With Quote
Old 12th July 2012, 20:04   #248
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,202
Great

Edit: Post 8000 FTW!

Stu

Need an installer? http://www.afrowsoft.co.uk
Afrow UK is offline   Reply With Quote
Old 10th December 2012, 21:53   #249
SubJunk
Junior Member
 
Join Date: Dec 2012
Posts: 2
This is a great plugin, thanks!
Is there a way to use autonext and autoclosesilent? In other words I would like it to skip the page if the file is not locked, but if it is locked then offer an option to close it.
SubJunk is offline   Reply With Quote
Old 11th December 2012, 15:14   #250
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,202
Does it not work with both switches?

Stu

Need an installer? http://www.afrowsoft.co.uk
Afrow UK is offline   Reply With Quote
Old 11th December 2012, 21:27   #251
SubJunk
Junior Member
 
Join Date: Dec 2012
Posts: 2
It does, sorry I was using the wrong syntax when I tested. Thanks again for the plugin
SubJunk is offline   Reply With Quote
Old 30th January 2013, 03:50   #252
PoRtAbLe_StEaLtH
Junior Member
 
Join Date: Jul 2011
Posts: 47
Quote:
Originally Posted by LoRd_MuldeR View Post
Hi.

Is sometimes get the problem that the LockedList plug-in will get stuck in the "Cancelling search, please wait..." state.



It will go on, as soon as I press some key or move the mouse cursor...

My code looks like this:
http://pastie.org/private/bfkzo1mn4adypn2t83xtq

Thanks in advance for any advice


are you the developer of LameXP?
PoRtAbLe_StEaLtH is offline   Reply With Quote
Old 30th January 2013, 20:53   #253
LoRd_MuldeR
Major Dude
 
LoRd_MuldeR's Avatar
 
Join Date: Sep 2005
Location: Somewhere over the Slaughterhouse
Posts: 644
Quote:
Originally Posted by PoRtAbLe_StEaLtH View Post
are you the developer of LameXP?
Yes

(You could have followed the link to my web-site in my profile)

My Plugins: StdUtils | NSISList | CPUFeatures | ExecTimeout | KillProc
My source of inspiration: http://youtu.be/lCwY4_0W1YI
LoRd_MuldeR is offline   Reply With Quote
Old 2nd February 2013, 04:41   #254
PoRtAbLe_StEaLtH
Junior Member
 
Join Date: Jul 2011
Posts: 47
Quote:
Originally Posted by LoRd_MuldeR View Post
Yes

(You could have followed the link to my web-site in my profile)
duh.. sorry bro..
i hardly click on profiles, links, etc ..
i come here for info, help, etc ..

i use your app all the time.. great stuff man.

@ AfrowUK
hey i have a question.. before finding your plugin.. i was using batch commands w/ handle.exe.

ie.
PHP Code:
@echo off
for /"tokens=3,6 delims=: " %%a in ('handle ${FILE} ^| find "pid:"') do (
set PID=%%a
set Handle
=%%b

call 
:Stage2
)
goto end

:stage2
for /"tokens=1 delims=:" %%a in ("%Handle%") do set Handle=%%a

REM 
echo %Handle% - %PID%
echo 
handle -%Handle% -%PID%
DEL ${FILE}
:
end 

and it worked at killing the processes required to delete the file.
but it required the additional handle.exe, which installs additional registry keys, etc.

i noticed your plugin is much faster/easier to use.. ..
however.. it kills the process to everyfile in the directory.

whereas.. if i used the batch command w/ handle.exe,
only the file's process is killed.

would you know why?

Here's my coding:
PHP Code:
IfFileExists "${FILE}" 0 NotExist_
  LockedList
::AddFile "${FILE}"
  
GetFunctionAddress $R0 SilentSearchCallback
  LockedList
::SilentSearch $R0
  Delete 
"${FILE}"
  
NotExist_
PHP Code:
Function SilentSearchCallback
  Pop $R0
  Pop $R1
  Pop $R2
    
${If} $R0 != ""
      
Push autoclose
    
${Else}
      
Push false
    
${EndIf}
FunctionEnd 
PoRtAbLe_StEaLtH is offline   Reply With Quote
Old 2nd February 2013, 10:38   #255
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,202
It will only kill processes with a handle open on the file. If you can prove otherwise then I will need a sample script. What type of file is it by the way?

Stu

Need an installer? http://www.afrowsoft.co.uk
Afrow UK is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump