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

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -