Not likely to be true. I tried searching through whole registry for
keywords, but nothing was found. So I am pretty much sure that entries are
not written to registry at all. Any other ideas what could be preventing
writing registry without installer noticing it?


Albert

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wilson, Phil
Sent: Tuesday, June 19, 2007 7:43 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Problem writing registry on Vista

A root value of -1 means use HKCU for a per-user install and HKLM for a
per-machine.  If you're missing some registry entries from HKLM maybe
they're actually in HKCU. 

Phil Wilson 

 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Albert
Tuulas
Sent: Monday, June 18, 2007 11:52 PM
To: 'Bob Arnson'
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Problem writing registry on Vista



Hi,

 

The log file didn't show any errors or faults, the WriteRegistryValues
seems to be okay:

MSI (s) (B8:30) [09:44:18:653]: Executing op:
ActionStart(Name=WriteRegistryValues,Description=Writing system registry
values,Template=Key: [1], Name: [2], Value: [3])

MSI (s) (B8:30) [09:44:18:654]: Executing op:
ProgressTotal(Total=3,Type=1,ByteEquivalent=13200)

MSI (s) (B8:30) [09:44:18:655]: Executing op:
RegOpenKey(Root=-2147483646,Key=SOFTWARE\Varian Medical
Systems\OS\Vision\SI\Acquisition,,BinaryType=0,)

MSI (s) (B8:30) [09:44:18:655]: Executing op:
RegAddValue(Name=AcqLibrary,Value=acqII.dll,)

MSI (s) (B8:30) [09:44:18:661]: Executing op:
RegOpenKey(Root=-2147483646,Key=SOFTWARE\Varian Medical
Systems\OS\Installation\Radiation Oncology Client,,BinaryType=0,)

MSI (s) (B8:30) [09:44:18:661]: Executing op:
RegAddValue(Name=AcuityFileLocation,Value=C:\Program Files
(x86)\Varian\Vision\8.2\Bin\,)

MSI (s) (B8:30) [09:44:18:664]: Executing op:
RegOpenKey(Root=-2147483646,Key=SOFTWARE\Varian Medical
Systems\OS\Vision\SX,,BinaryType=0,)

MSI (s) (B8:30) [09:44:18:664]: Executing op: RegCreateKey()

 

But the only thing that confuses me is that Root equals to a negative
integer. Should it be something like HKLM?

 

Should the registry key be created before writing to it, or it is being
created automatically if doesn't exist? 

 

Best regards

Albert 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob Arnson
Sent: Saturday, June 16, 2007 9:50 PM
To: Albert Tuulas
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Problem writing registry on Vista

 

Albert Tuulas wrote: 

correctly working on WinXP SP2 (writing registry entries), but on Vista
- nothing. No errors in MSI log files regarding registry, component gets
installed but no registry entries can be found.


Check a verbose log around the WriteRegistryValues action; verbose logs
include every value written. If there are none, check out the section
around InstallValidate; maybe MSI decided your component didn't need to
be installed.



-- 
sig://boB
http://joyofsetup.com/


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to