Solved

Set [TARGETDIR] in installer with value from registry

Posted on 2010-11-17
2
1,163 Views
Last Modified: 2013-12-17
Hello experts,

I need to create an installation procedure that copies some files to a specific directory. This directory is a value that is stored in the registry. So I need to overrule the default installation path ([TARGETDIR]) with a value that is retrieved at run-time.

Any ideas how I can do this ?

Kind regards,
Andy
0
Comment
Question by:ACAE
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 500 total points
ID: 34154181
Ok, this is going to take a little bit of explaining :)

Step 1: In the Launch Conditions pane, under the "Search Target Machine" folder, add a new "Registry Search".
Step 2: Set the details of the key you want to search for and set the "Property" to MYREGPATH (or something similar)
Step 3: Switch to the File System pane and select the Application Folder.
Step 4: Set the Default Location to MYREGPATH (or whatever you used in Step 2)
0
 

Author Comment

by:ACAE
ID: 34154280
Carl,
This works perfect, thank you very much for you help. I already spend ages searching for this.

Regards,
Andy
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Flash (http://en.wikipedia.org/wiki/Adobe_Flash) has evolved over the years to where it has become a masterful tool for displaying content screen.  It has excellent layout placement, UI precision as well as rendering capabilities. This, along with t…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question