cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
gberg927
Level 3

Install directory saved as a registry key

I would like to save a registry key that will save the directory the user selects to install the program. So if the user selects program files it will have the value C:\Program Files\ApplicationName.

I was also wondering if it is possible to run an exe that is copied to the application folder. I am trying to install an Excel Add-In during this installation. Visual Studio creates a setup.exe.

Thanks so much!
Labels (1)
0 Kudos
(2) Replies
Not applicable

gberg927 wrote:
I would like to save a registry key that will save the directory the user selects to install the program. So if the user selects program files it will have the value C:\Program Files\ApplicationName.
...


In the System Configuration/Registry view, create the key, then set value data,

Value Data:
InstallScirpt project:
Basic MSI project: [INSTALLDIR]

BR,
Kevin
0 Kudos
gberg927
Level 3

Perfect.

Thanks so much
0 Kudos