Solved

Set [TARGETDIR] in installer with value from registry

Posted on 2010-11-17
2
1,150 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
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

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…
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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

705 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now