Reputation: 751
How can I add a default path (e.g. C:\Program Files...) to installer. (I mean a hard-coded variable, for example, for it.)
Thanks all in advance...
Upvotes: 4
Views: 7935
Reputation: 1486
It is not necessary to copy some string into $INSTDIR.
You can simply use this:
; The default installation directory
InstallDir "C:\Program Files\my_sw"
Upvotes: 0
Reputation: 11465
You can set the $INSTDIR
to an arbitrary value:
StrCpy $INSTDIR "c:\program files\my folder"
Upvotes: 5