?
Solved

Set [TARGETDIR] in installer with value from registry

Posted on 2010-11-17
2
Medium Priority
?
1,174 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 2000 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

Interactive Way of Training for the AWS CSA Exam

An interactive way of learning that will help you visualize core concepts so that you can be more effective when taking your AWS certification exam.  Built for students by a student to help them understand the concepts that they are being taught.

Question has a verified solution.

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

Summary Displaying images in RichTextBox is a common requirement with limited solutions available. Pasting through clipboard or embedding into RTF content only support static images.  This article describes how to insert Windows control objects int…
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

752 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