installation dir program

Jan 5, 2011 at 11:26am
I need to find the installation directory of an application to modify the file. ini and try to automate an update procedure. When in the register the information on the installation directory is not expected, how can I do? All this should be part of a script or automated process.

Thanks for any suggestions
Jan 5, 2011 at 11:45am
ini file? Are you sure the app uses one? You almost certainly shouldn't have write access to it from a normal user account.

Have a look in the registry under:
HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\<package name>
Last edited on Jan 5, 2011 at 12:22pm
Jan 5, 2011 at 1:15pm
Yes,
we have a INI file with a wrong line.
Jan 5, 2011 at 1:39pm
Thanks,
the info on application is just in HKLM
Topic archived. No new replies allowed.