Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Unable to set registry value

Unable to set registry value

Scheduled Pinned Locked Moved C#
questioncsharpwindows-adminannouncement
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sjs4u
    wrote on last edited by
    #1

    Hi, I am using MSI to install my c# winform application. I am using custom action at the start of the installer. This is my latest version where I have added custom action. When I install latest version (fresh installation) then it works properly. But when I install latest version on previous version my custom action related registry key(e.g. ModeSelection Key) is not creating in the registry but some basic and common key(Filepath,language etc) are created successfully. What is the reason behind this? I wanted to create that registry key depeding upon the custom action selection. Thanks sjs

    D 1 Reply Last reply
    0
    • S sjs4u

      Hi, I am using MSI to install my c# winform application. I am using custom action at the start of the installer. This is my latest version where I have added custom action. When I install latest version (fresh installation) then it works properly. But when I install latest version on previous version my custom action related registry key(e.g. ModeSelection Key) is not creating in the registry but some basic and common key(Filepath,language etc) are created successfully. What is the reason behind this? I wanted to create that registry key depeding upon the custom action selection. Thanks sjs

      D Offline
      D Offline
      dusty_dex
      wrote on last edited by
      #2

      You didn't say what the *full* key path is. ??

      "It's true that hard work never killed anyone. But I figure, why take the chance." - Ronald Reagan That's what machines are for. Got a problem? Sleep on it.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups