[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Set [TARGETDIR] in installer with value from registry

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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

The object model of .Net can be overwhelming at times – so overwhelming that quite trivial tasks often take hours of research. In this case, the task at hand was to populate the datagrid from SQL Server database in Visual Studio 2008 Windows applica…
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…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

656 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