Hola,
No me termino de aclarar con las constantes y variables en InnoSetup, pero, mirando la descripción de la directiva que te interesa encuentro algo que lo mismo está pensado para lo que necesitas,... si no me equivoco, vamos:
Cita:
Empezado por Setup: DefaultDirName
Description:
The value of this required directive is used for the default directory name, which is used in the Select Destination Location page of the wizard. Normally it is prefixed by a directory constant.
If UsePreviousAppDir is yes (the default) and Setup finds a previous version of the same application is already installed, it will substitute the default directory name with the directory selected previously
|