Skip to content
⌘ NSIS Forum Archive

kill .tmp file

5 posts

didava#

kill .tmp file

Hi to all!

I have Only .tmp file process and want to kill it before entering

installer.

-FOR EXAMPLE

1-find .tmp‏

2.exit all Only .tmp file to process windows

How can i do this?

Plz Example for me

Thank you.
didava#
THANKFUL

i Where add code for exit all Only .tmp file


!define APP_NAME fct
!define WND_CLASS "IEFrame"
!define TITLE_PART "Internet Explorer"
!define termMsg "Installer cannot stop running ${TITLE_PART}.$\nClick YES to terminate application."

!include WinMessages.nsh

Name "${APP_NAME}"
OutFile "${APP_NAME}.exe"



Section "Dummy Section" SecDummy

fct::fct /WC '${WND_CLASS}' /TIMEOUT 2000 /SCCLOSE /QUESTION '${termMsg}'

Pop $0
MessageBox MB_OK "Still Alive Count = $0"

SectionEnd
Plz Example for me

Thank you