Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7510917
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T23:22:37+00:00 2026-05-29T23:22:37+00:00

I know how to manually add a key in the registry to execute some

  • 0

I know how to manually add a key in the registry to execute some .exe file, with the file as parameter, when the user right-clicks a file of a given extension.
I can build my .exe with an install wizard and test it manually in the console with an input file (as command line parameter).

I wish to pack all of the install process in my install wizard (at the moment the install process doesnt package the registry modification).
I have spotted some example of some programmatic modification of the registry here, but I need to be able to retrieve the location at which the user chooses to install during the install wizard process, so that I can refer to this location to point to my .exe in from the registry key. How can I do that ? Where can I plug some code in an install wizard ?

UPDATE :
enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T23:22:40+00:00Added an answer on May 29, 2026 at 11:22 pm

    If you use a dedicated setup authoring tool, all you need to do will become a lot easier. This includes getting the installation folder and using it during install.

    Here is a list which can get you started: http://en.wikipedia.org/wiki/List_of_installation_software

    After you decide on a tool, you can try configuring the registry, your EXE file, the installation folder etc. If you encounter problems you can then ask more specific questions (for example the installation folder is retrieved differently for each tool).

    Edit:

    For example, in a Visual Studio setup project you can use the TARGETDIR installer property. In this case your registry entry value can be something like this:

    [TARGETDIR]file name.exe
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know that i can enter/add new properties via code manually into partial classes
I'm having some trouble importing and accessing a private key with the ASPNET user.
Does anyone know of a way to store values as NVARCHAR in a manually
I want to generate random numbers manually. I know that every language have the
Know of any good libraries for this? I did some searches and didn't come
I know this isn't the right place to ask about this specific vague problem,
(I know some people already asked questions about js profile, but that's not what
I have a list activity, and I chose to manually add the first item
I use a GridView to display my layout. To this GridView i manually add
Know of an OCAML/CAML IDE? Especially one that runs on Linux?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.