Check folder location of setup.exe
Posted: Wed Jun 24, 2009 3:49 am
Hi,
I’m trying to check if a file is next to my file setup.exe
For example, my setup is in C:\\Test\\Setup.exe
And I want to check if the file Toto.txt is in the folder “C:\\Test\\ “ to.
I want to use Does file/folder exists but I can’t find the way to get the folder location of setup.exe
I’ve tried Pre-Defined variable EXEDIR and ROOTDIR but both give me the temp folder directory (where the setup is uncompressed).
Is there a way to check this easily ?
Thanks
AH-NP
I’m trying to check if a file is next to my file setup.exe
For example, my setup is in C:\\Test\\Setup.exe
And I want to check if the file Toto.txt is in the folder “C:\\Test\\ “ to.
I want to use Does file/folder exists but I can’t find the way to get the folder location of setup.exe
I’ve tried Pre-Defined variable EXEDIR and ROOTDIR but both give me the temp folder directory (where the setup is uncompressed).
Is there a way to check this easily ?
Thanks
AH-NP