thiya Posted May 5, 2005 Posted May 5, 2005 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: Quote
APaule Posted May 19, 2005 Posted May 19, 2005 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.