Archive: Direcroty Installation


Direcroty Installation
instead of writing
File "test1.exe"

I want to write a code that gets a full directory.But I could not find the correct implementation for it.
How can I do that?


Gets the full directory of what? Do you want to take a file from a fully qualified path? Just put in the path, you don't have to use just the filename. Use:

File "C:\soemthing\test1.exe"

I mean that I don't wanna to write all files that I want to install.
File "a/a.exe"
File "a/b.exe"

I just want to install all files under a/
but don't know how to do?


You would use this

File "C:\Program Files\folder\*"


Using that will install all files in the specified folder.
Oh also you can use the same method in the uninstall section so you don't have to specify each individual file to delete.

To include subfolders and their files, use File /r "C:\Program Files\folder\*"

-Stu


thanks a lot...you really made something more clear...