Changing INSTALLDIR from registry (working with InstallShield) -
i'm working installshield , creating installation addon. must read registry program x has been installed , add necessary files found location. problem : on 32bit computer registry found under hkeylm\software\x. on 64bit computer registry found under hkeylm\software\wow6432node\x.
so how can read registry correct registry value , set found value installdir?
firstly find if target machine 64 or 32 bit machine.you can use sysinfo.biswow64
similar commands. once found run reg commands thru if loop , achieve goal.
Comments
Post a Comment