Find and Change Registry Values - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

petemou
Posts: 1
Joined: Fri Apr 20, 2007 3:44 am

Find and Change Registry Values

Hi all,

I am having a bit of a problem trying to figure out how to change some registry values on installation and then reset them if the application is uninstalled.

The thing is I need to change the security level for an access database, I know the registry values, and what I want them to be.

This will get rid of the Access security message on execution of the database.

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Jet\4.0\Engines]
"SandBoxMode"=dword:00000002

[HKEY_LOCAL_MACHINE\Software\Microsoft\Office\11.0\Access\Security]
"Level"=dword:00000001

But I also want them to be set back to the original settings, when the database is uninstalled.

Any assistance will greatly appreciated
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

Windows Installer does not offer directly support for this. You need to use two custom actions on for backup and other for restore.

Please see following post for similar approach:
http://www.advancedinstaller.com/forums ... ght=backup

You need to change those VBS custom actions to fit your needs.

Hope this helps,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”