get the installation directory

I'll be installing a program (program A) then executes an exe or separate lot (program B) at the end of the installation file to move the files if necessary. My question is, how do I get the path to the program after installation? Preparing a key to the registry the best option? The problem I see with it is that I know not how can I get the path program has to write the registry key, unless I put my application to run after install and write the value of the key in my application. But then I can't say to run after installation, program B. It seems to be somewhat of a catch 22.

All the world needed to do something like this in the past, and how to solve? I could just copy files via the application an itself at startup, but let's say that I am motivated to do it from the Installer package file.

... Then put the exe file that you want to run after the installation on the computer anyway. It is installed in the same place as the program that I run. So I can use get the application directory to find the files since both executables are in the same place.

Tags: NI Software

Similar Questions

Maybe you are looking for

  • How can I fix the download feature?

    All of a sudden I can't download files from sites. I get a detailed message that begins with "Adobe Reader cannot view documents in the browser." I used to just hit download on a site that had an article, or a menu, or something that I wanted to down

  • Unknown Skype accounts

    There are 2 registered under my email ID unknown Skype accounts. I don't remember creating one of these. I found these today while I tried to reset my password. There are 3 Skype names registered to my email ID. Please look at this and help me to sol

  • How to adjustment of the curve

    Is there a way to curve adjustments to data in number? This can be restored in Excel, but I don't see how making this number.  Polynomial curve get preference. Thanks for your comments in advance.

  • Cannot create standalone application

    Hello I searched all day on how to build a stand-alone application, but I can't follow the steps. I'll explain: I'm a student of LabVIEW 2014 version. I checked and I have the Application Builder active licese But when I go to my project and do right

  • Windows Update error 800700c 1 Windows Update encountered an unknown error.

    Windows 7 Professional There are three updates that I tried to install using Windows Update... KB2284742, KB2249857, KB2388210 These three are recent updates and all three fail with 800700c error code 1. I tried different things fix this... Fixit of