Hello everyone! 😉
V_Light and I'm new at this. Nice to meet you.
I have the following questions:
- In installation, I have to put mandatory "_ or - in the name of a file to be installed? For example, I have to test_file, and I get and the shortcut, and I would like to come out test file.
- In my installation I would like to include files that are installed or put it in a specific folder (for example, and above all in the folder "System32" on Windows or Program Files)
So far that's all. I hope not bother you much ... and if my English is bad sorry.
Hello! 😉
Hello! I have two questions
5 posts
Are you asking how to include a file named "test_file.exe" but rename it as "test file.exe" when installed?
If so you can use the /oname feature of the file command.
otherwise you could perform a search and rename of the files after being installed.
If so you can use the /oname feature of the file command.
File "/oname=test file.exe" test_file.exe The only thing is you must specify the file name implicitly as wildcards are not supported when used with /onameotherwise you could perform a search and rename of the files after being installed.
Rename "$INSTDIR\test_file.exe" "$INSTDIR\test file.exe Thanks for answering. Your answer helped me, but I still did not answer the second question:
In my installation I would like to include files That are installed or put it in a specific folder (for example, and above all in the folder "System32" on Windows or Program Files)
If you answer me thank you very much, but thanks for answering the first question.
¡Hello!
In my installation I would like to include files That are installed or put it in a specific folder (for example, and above all in the folder "System32" on Windows or Program Files)
If you answer me thank you very much, but thanks for answering the first question.
¡Hello!
You should read the manual, it can answer all of your questions.
You might also want SetOutPath $ProgramFiles or $ProgramFiles32 or $ProgramFiles64.SetOutPath $SYSDIR
File <your.file>
Note that if one needs $ProgramFiles64 for 64bit installation purposes, -and- $SYSDIR is used, one needs to keep filesystem redirection in mind as well.Originally Posted by demiller9 View PostYou should read the manual, it can answer all of your questions.You might also want SetOutPath $ProgramFiles or $ProgramFiles32 or $ProgramFiles64.SetOutPath $SYSDIR
File <your.file>
Note that on Vista and above, you can also use $WINDIR\SysNative\ , without the need to disable filesystem redirection.