I like to be included in the nsis installer a constant variable like $PROGRAMFILES for the common files in the program files directory.
Thanks
Sorry for my English
Suggestion
7 posts
is already available
$PROGRAMFILES is already available:
Please read NSIS documentation:
"$PROGRAMFILES : The program files directory (usually C:\Program Files but detected at runtime)."
- 😁 Hendri 😁 -
$PROGRAMFILES is already available:
Please read NSIS documentation:
"$PROGRAMFILES : The program files directory (usually C:\Program Files but detected at runtime)."
- 😁 Hendri 😁 -
Hi tomatirc,
This line of script will put the Common Files directory into variable $0 (if a Common Files directory exists):
Windows XP is an NT based OS, isn't it? 🙁 Please tell me it is!
This line of script will put the Common Files directory into variable $0 (if a Common Files directory exists):
This works for Windows XP. Not sure if it will work on other operating systems, such as Windows 95/98/Me, or other NT based operating systems.ReadRegStr $0 HKLM Software\Microsoft\Windows\CurrentVersion CommonFilesDir
Windows XP is an NT based OS, isn't it? 🙁 Please tell me it is!
Works for W2K too 🙂
And for W98 too 🙂
Cool. 😁 I would have thought it would be in a spot like 'Shell Folders' or something. Seems a bit weird in there because it's pretty much alone.
Thanks