[WiX-users] Can not write registry vlue on 64bit system

2009-07-16 Thread Tuanqing Zhang (MDT InfoTech)
Hi all,

I create an installer using wix 2.0.5805.0 and want to write a registry value, 
the code looks as follows:

  Component Id=CID_DetectionRegKey 
Guid={47BD4C22-286F-4B4B-96AF-87051F40EB9B} DiskId=1
Registry Id=RID_DetectionRegKey Root=HKLM 
Key=SOFTWARE\Microsoft\Automotive\Installer Name=Version 
Value=1... Action=write Type=string /
  /Component

It works fine on 32 bit XP and Vista system. But after installing on 64bit Xp 
system, I cannot find the key SOFTWARE\Microsoft\Automotive\HMI\Installer and 
the value Version  in the registry. Anyone knows how to solve this issue?

Best Regards,
Tuanqing

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Can not write registry vlue on 64bit system

2009-07-16 Thread Sebastian Brand (Instyler Software)
If the installer runs in 32-bit mode, the registry value is written in the
Software\WOW6432Node\Microsoft\... key. 32-bit applications will still find
it at the right place as Windows maps that.


Best regards,
Sebastian Brand

Instyler Setup - Creating WiX-based MSI installations, elegantly.
http://www.instyler.com




-Original Message-
From: Tuanqing Zhang (MDT InfoTech) [mailto:v-tua...@microsoft.com] 
Sent: July 16, 2009 11:35
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Can not write registry vlue on 64bit system

Hi all,

I create an installer using wix 2.0.5805.0 and want to write a registry
value, the code looks as follows:

  Component Id=CID_DetectionRegKey
Guid={47BD4C22-286F-4B4B-96AF-87051F40EB9B} DiskId=1
Registry Id=RID_DetectionRegKey Root=HKLM
Key=SOFTWARE\Microsoft\Automotive\Installer Name=Version
Value=1... Action=write Type=string /
  /Component

It works fine on 32 bit XP and Vista system. But after installing on 64bit
Xp system, I cannot find the key
SOFTWARE\Microsoft\Automotive\HMI\Installer and the value Version  in
the registry. Anyone knows how to solve this issue?

Best Regards,
Tuanqing


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize

details at: http://p.sf.net/sfu/Challenge
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users