xilay
26th January 2006 10:21 UTC
Always add company\app in install location
Hello (and sorry for my english),
I use MUI and my default install directory is C:\Company\App .
If the user change this directory, I will have for example D:\Program Files\App
But I need to have D:\Program Files\Company\App
Have you got an idea to do that?
Thanks
glory_man
26th January 2006 17:05 UTC
What way you use to define install directory?
glory_man
26th January 2006 17:34 UTC
I can suggest folowing solution:
!define brand "Company\App"
InstallDir "c:\${brand}\"
...
Function .onVerifyInstDir
StrCpy $INSTDIR "$INSTDIR\${brand}"
FunctionEnd
xilay
27th January 2006 08:20 UTC
Oh thanks, perfect, exactly what I want :up: