CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2007
    Posts
    102

    setup and registry

    Hi!

    I want to make a setup program to setup my application. I am using Visual Studio 2008 and I used the default "setup and deployment" project type. There is a page where I can setup some registry value. I want to create a registry value that contains the target folder (the folder where the application will be installed). How can I create this registry value? Does anyone know?

    Madric

  2. #2
    Join Date
    Mar 2007
    Posts
    157

    Re: setup and registry

    you can use "inno setup". this is freeware.

  3. #3
    Join Date
    Feb 2005
    Posts
    2,160

    Re: setup and registry

    The setup project in your solution explorer should have a registry section. Right click on the project in the solution explorer and drill down to "View" -> "Registry".

  4. #4
    Join Date
    Feb 2007
    Posts
    102

    Resolved [RESOLVED] Re: setup and registry

    yes it has a registry section. I can create a new key here but my problem was to write the installation folder that I don't know in advance (the user choose it during the installation process).
    Finally, I found how to do it. I just need to write down "[TARGETDIR]"!

  5. #5
    Join Date
    Jul 2001
    Location
    Netherlands
    Posts
    751

    Re: setup and registry

    I really like Inno too.
    It creates one single setup exe as opposed to the microsoft setups with multiple files.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured