How to force Inno Setup to set the installation folder dynamically -
i creating installation package , user should able install on specific location only.
in order read registry values in [code]
section determine installation path.
having installation path need force inno setup set installation folder specific location @ run-time.
is possible in inno setup? section of script should used if so?
thanks.
- use scripted constant set default installation path;
- use
disabledirpage
directive prevent user modifying it.
[setup] defaultdirname={code:getdefaultdirname} disabledirpage=yes [code] function getdefaultdirname(param: string): string; begin result := ...; end;
Comments
Post a Comment