EcheeseWong
30th December 2004 10:16 UTC
How Can I force the INSDIR is not the APPNAME?
First!
Thanks a lot of your wonderful work!
Now I want set my InstallDir didn't add the appname!
If my appname is 'Happy'
The InstallDir maybe 'c:\program files\cropname\Sad
But I want let the 'c:\program files\cropname\Happy '
I try to force the INSTDIR is 'c:\program files\cropname\Happy '
But when I click the [Browse] button.and choose another dir
It add the Sad to the dir!
How can I avoid it?
Thank You!
Anders
30th December 2004 14:32 UTC
from the docs:
Note that the part of this string following the last \ will be used if the user selects 'browse', and may be appended back on to the string at install time (to disable this, end the directory with a \ (which will require the entire parameter to be enclosed with quotes). If this doesn't make any sense, play around with the browse button a bit.
EcheeseWong
31st December 2004 03:06 UTC
I found!
ai....
Just change the InstallDir
from
InstallDir "$PROGRAMFILES\cropname\$(^Name)"
to
InstallDir "$PROGRAMFILES\cropname\happy"
haha!
Sometimes the wizard mask the truth!