cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
danwize
Level 4

Install Path from Registry Entry

I'm making my first installer. I need to install files to a file path that is stored in a registry entry. How do I create a variable path to install to using the data from the registry?
Labels (1)
0 Kudos
(2) Replies
danwize
Level 4

After searching more thoroughly through these forums, I found an answer here:
http://www.flexerasoftware.com/webdocuments/PDF/is_install_dir_from_app_search.pdf
0 Kudos
danwize
Level 4

danwize wrote:
After searching more thoroughly through these forums, I found an answer here:
http://www.flexerasoftware.com/webdocuments/PDF/is_install_dir_from_app_search.pdf


Instead of using a custom like it says in this document, I just put this in the INSTALLDIR field in the General Information view:

[MY_SYSTEM_SEARCH_VARIABLE]

This is a much simpler way than creating a custom action. I also had problems following the steps outlined in the above pdf document. I kept getting an error stating that "part of the file path was too long". The other way of doing, without a custom action, worked like a charm.
0 Kudos