Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi all:

 

Im using the visual studio.net 2002 to create the msi package.I am facing problem with the windows registry:

 

My Installtion package created the "Mysoftware" folder under the "HKCU\SOFTWARE\" in registry.After my installation finished,installed program get the username and password from user and stored

under the path "HKCU\SOFTWARE\"Mysoftware" in the registry

 

keys are:

Username JOhn

password @#$%^

 

During the next version installation i need to include the new key "Insallationpath:c:\programfiles\Mysoftware.exe" in same location in registry as created in previous installtion.

 

Thanks in advance

But whenever installed the new upgraded version to the target machine, deleted the username and password and only the instalationpath will be exist on user machine.

 

The new key should be created without deleting previous keys in the path "HKCU\SOFTWARE\"Mysoftware"

 

 

How can i add a new key without deleting the previous key during upgraded version installation

 

 

Thanks in advance :confused:

  • 2 weeks later...
Posted

Does the upgrade uninstall the old version? If so, check the DeleteAtUninstall property of the key in the Registry Editor.

 

Check also the AlwaysCreate property. It should be set to false.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...