Registry entries through MSI project

Posted on 2004-11-29
Last Modified: 2010-04-24
I have a BHO (Browser Helper Object) project that I have written in C++ .NET and would like to write an installer to deploy it. My question is that I need to store the dll location into the registry but the user may specify the install directory.

i) How do I specify the installation directory location dynamically in the registry view in a deployment project?
ii) Since I'm using the Studio .NET deployment project, will in need the .NET framework to run on the target machine?
Question by:thefallguy
    1 Comment
    LVL 6

    Accepted Solution

    I) In your setup go to Lauch Condititions and in "Search Target Machine" add Registry Search.In the properties specify the key and the value.In "Property" for the registry search type SETUPDIR.
    Then go to File System and in Properties -> Default Location type [SETUPDIR]

    II) Yes - you'll need the .NET framework...the app won't run without it.

    Sorry for my english, but it's early in the morning here and I'm not native speaker :)


    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    The following diagram presents a diamond class hierarchy: As depicted, diamond inheritance denotes when two classes (e.g., CDerived1 and CDerived2), separately extending a common base class (e.g., CBase), are sub classed simultaneously by a fourt…
    In Easy String Encryption Using CryptoAPI in C++ ( I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

    729 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