kkim
Posts: 44
Joined: Thu Apr 12, 2007 3:58 pm

location of installed application

Thu Nov 20, 2008 7:03 pm

Hi,

Is there a way to put in the registry the location where you installed your application?

For example let's say the user installed the application here: c:\program files\myapplication

Then in the registry after the installation, I can have a value that shows the path? Like:

\HKEY_LOCAL_MACHINE\SOFTWARE\mycompany\installedlocation

and value of installedlocation would be: "c:\program files\myapplication"

The reason for this is if the customer chooses a different location, our software will know that location for
various programming needs....


Kim

Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact:  Website

Re: location of installed application

Thu Nov 20, 2008 7:13 pm

Hi Kim,

Advanced Installer allows you to create or modify registry entries through the Registry page. When you create a new registry value, you can specify [APPDIR] in the Data section of the Edit Registry Entry dialog. This way, the registry entry will contain the installation path (the APPDIR property is associated with "Application Folder" in the "Files and Folders" page).

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

kkim
Posts: 44
Joined: Thu Apr 12, 2007 3:58 pm

Re: location of installed application

Thu Nov 20, 2008 8:59 pm

Thank you! That did the trick!

Return to “Common Problems”