Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Deployment Project (Setup): Problem with Registry Entry
 

Deployment Project (Setup): Problem with Registry Entry

I've created a .msi for my class libraries. It includes registry entries into:

HKEY_LOCAL_MACHINE

Software

Microsoft

.NETFramework

AssemblyFolders

Leader

v2.0.50727\AssemblyFoldersEX

Leader

Each of the above items is a KEY that I added to the Registry (Setup) pane. I then adda string value, that I name(Default), with the value of where the libraries are located.

Problem:

When installing, I get 2 entries in the Leader key:

  • (Default) REG_SZ with no data value
  • (Default) REG_SZ with the data value I assigned above from the setup installation

My assumption is that the first (Default) is created automatically when the new key "Leader" is added.

Questions:

  1. How can I make the string value entry overwrite this automatically created default entry?
  2. Or is it that I'm just entering something incorrectly?

Thank You! Tonya

Tonya Mork  Wednesday, January 16, 2008 11:04 PM

Oh duh I got it. Answer is:

Leave the <Name> field blank for the string value. It sets itself to (Default).

The problem for me was: I typed in (Default) into the <Name> field.

Tonya

Tonya Mork  Wednesday, January 16, 2008 11:18 PM

Oh duh I got it. Answer is:

Leave the <Name> field blank for the string value. It sets itself to (Default).

The problem for me was: I typed in (Default) into the <Name> field.

Tonya

Tonya Mork  Wednesday, January 16, 2008 11:18 PM

You can use google to search for other answers

Custom Search

More Threads

• ClickOnce - Let Application know that you are about to be removed, please clean your mess
• MSI .NET framework dependency
• run app on start up
• Smart device deployment with resource files
• Removing start menu group?
• Installation With Minimum Size
• Click once install Error for custom MSI
• setup project error in custom action
• Setup questions...
• Bootstrapper