View Single Post
Old 23rd November 2015, 21:46   #4
Major Dude
LoRd_MuldeR's Avatar
Join Date: Sep 2005
Location: Somewhere over the Slaughterhouse
Posts: 797
If possible somehow, try to detect the exact file name from the registry. Or based on some other available info.

If it's really not possible and you have to search for the file at runtime, use something like:
PHP Code:
FindFirst $$"$INSTDIR\*.foo"
StrCmp $"" done
"Found: $1"
FindNext $$1
Goto loop
FindClose $

My Plugins: StdUtils | NSISList | CPUFeatures | ExecTimeout | KillProc
My source of inspiration:
LoRd_MuldeR is offline   Reply With Quote