IMHO, that's an issue with Windows 7 UAC and Registry Virtualization Please see: http://msdn.microsoft.com/en-us/library/aa965884(VS.85).aspx <http://msdn.microsoft.com/en-us/library/aa965884%28VS.85%29.aspx>
-- Best regards, Andreas mailto:frankenin...@gmail.com Kurt Jensen wrote: > I have a custom action that needs to create entries in the registry > under HKEY_LOCAL_MACHINE. The code is written in C# and uses > Registry.LocalMachine.CreateSubKey(). I added some logging that tells > me that the return value is not null and the custom action does not > throw an exception. But the key is never created. What is really weird > is that various functions are called that use OpenSubKey(). These > functions also log correct return values and do not throw exceptions. > But the key is never created. > > > > The custom action works fine in XP but fails in Windows 7. I am running > the custom action with Impersonate="no". > > > > > > Kurt Jensen > > Senior Software Engineer > > Ophir-Spiricon > > www.Ophir-Spiricon.com<http://www.ophir-spiricon.com/> > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. > > This footnote also confirms that this email message has been swept by > MIMEsweeper for the presence of computer viruses. > > www.clearswift.com > ********************************************************************** > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users