bmkr94
Posts: 4
Joined: Thu Jul 28, 2005 5:53 pm

Modify Registry

I am building an installation package and will need to modify an existing registry entry, one that is not related to my application. Specifically, my installation will make an entry for my application yet, I will need to modify an existing registry value … under

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Jet\4.0\Engines

It is necessary for me to edit the value of SandBoxMode as part of my application setup.

How am I able to modify an existing registry entry as part of my application install? All I see available is the ability to Add or Create a new key.
ciprian
Posts: 259
Joined: Thu Jul 14, 2005 12:56 pm
Location: Craiova, Romania
Contact: Website

Hi,

It is possible to modify a registry entry during install.

Here is how it could be done:
- Go to the registry pane.
- Use the [ New Key ] tool bar button to create the required registry path.
- Use the [ New Value ] tool bar button to create the required registry value.

If the registry keys and the value already exist, the value's data will be modified. Alternatively the keys and the value will be created.

All the best,
Ciprian
Ciprian Burca
Advanced Installer Team
http://www.advancedinstaller.com
bmkr94
Posts: 4
Joined: Thu Jul 28, 2005 5:53 pm

I found my problem with your guidance, I was incorrectly creating the full path of the key. I was able to make the necessary changes and success with the value changes.


Thank you.
rparthas
Posts: 1
Joined: Wed Sep 07, 2005 3:22 pm

Will this work for Hexadecimal keys as well?

Just like the original poster, I want to update a registry value of the following key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Jet\4.0\Engines\Jet 4.0

Name: MaxLocksPerFile

Updated Value should be : 200000 (default is 9500)

This Key already exists - I just want the value updated.

Now, the value is stored in hexadecimal. I have tried updating the value in the method you suggested, but there seems to be no effect.

Any help is much appreciated!
dorel
Posts: 25
Joined: Mon Oct 18, 2004 8:13 am

Hi
It works in the same way but the type of the value should be set to
Integer-REG_DWORD -in the Edit Registry Entry dialog.
Regards
Dorel Pislan
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”