Hi,

I have a "leftover" (after uninstall) registry value from an old
InstallShield X Universal (Java based) install that is not getting
overwritten by my new, WiX v3 based, .msi install.

When my .msi install is complete, the registry looks like this;

REGEDIT4
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Applicati
on\iis_smtp_adapter]
"EventMessageFile"="C:\\Program Files\\MessageGate\\lib\\event_msg.dll"
"TypesSupported"=dword:00000007
(note the "lib" directory)

The verbose install log contains these entries;

MSI (s) (14:34) [13:30:55:685]: Executing op:
RegAddValue(Name=EventMessageFile,Value=C:\Program
Files\messagegate\bin\event_msg.dll,)
WriteRegistryValues: Key:
\SYSTEM\CurrentControlSet\Services\Eventlog\Application\iis_smtp_adapter
, Name: EventMessageFile, Value: C:\Program
Files\messagegate\bin\event_msg.dll
MSI (s) (14:34) [13:30:55:701]: Executing op:
RegAddValue(Name=TypesSupported,Value=#7,)
WriteRegistryValues: Key:
\SYSTEM\CurrentControlSet\Services\Eventlog\Application\iis_smtp_adapter
, Name: TypesSupported, Value: #7

I'm confused as to why there is no error (note the "bin" directory) at;

WriteRegistryValues: Key:
\SYSTEM\CurrentControlSet\Services\Eventlog\Application\iis_smtp_adapter
, Name: EventMessageFile, Value: C:\Program
Files\messagegate\bin\event_msg.dll

when it failed to correctly write the value.

If I manually create the "leftover" registry value with a .reg file, the
proper value is written correctly by my .msi install.  Also, after my
.msi install, I can manually change the registry to the correct value,
so it doesn't seem to be a locking problem.

Any tips/hints appreciated.

Thanks,
Dale


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to