You can't create a MSI installer that does both 64 and 32 bit installs.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stephen
Walch
Sent: Monday, June 25, 2007 10:41 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] 64 bit newbie question

 

I guess what I really want is an installer that works on either. Is
there a condition I can use to detect that I am on a 64 bit machine (and
thus activate the right registrysearch tag)?



-Steve

Stephen Walch
Proposion Software
38 Merrimac Street
Newburyport, MA 01950
+1 978-388-7342 corporate
+1 978-961-0358 direct
+1 617-480-4121 mobile
+1 413-480-3408 fax
http://www.proposion.com

-----Original Message-----
From: "John Vottero" <[EMAIL PROTECTED]>
Sent: 6/25/07 9:42:00 PM
To: [EMAIL PROTECTED], wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] 64 bit newbie question

> I have a RegistrySearch tag that attempts to look up values in
> Root='HKLM'
> Key='Software\Microsoft\Shared Tools\Web Server Extensions\12.0' but
on
> 64
> bit machines, it ends up searching for
> "HKLM\Software\Wow6432Node\Microsoft\Shared Tools\Web Server
> Extensions\12.0" (according to Process Monitor), which yields thw
wrong
> result. Where does the "Wow6432Node" part come from? I am guessing
> that it
> means my MSI is running in 64 bit mode, but I am not sure what the
> proper
> solution is. (Using WIX 2.x) Thanks!

Windows Installer thinks that it's a 32bit installer being installed on
a 64 bit system so, it looks in the 32bit compatibility area of the
registry (Wow6432Node). You need to set Win64="yes" on the
RegistrySearch element. I'm not sure if that's all you need to do or
not, I've never tried to access the 64 bit registry from a 32 bit MSI.
Do you want a 32bit or 64bit installer?

-------------------------------------------------------------------------
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