|
From: ILT <il....@ii...> - 2005-05-28 08:51:25
|
Slow progress. I=92m still having trouble with Conditions =96 testing with the = Sample13.WXS from the WiX Tutorial =96 for .NET installed versions.=20 Working through the Tutorial, I discovered some answers to previous post = but cannot install Sample13 because my machine's .NET v1.0 registry entries = aren=92t as described. See partial screenshot from Registry. =20 The problem seems to be that I do NOT have this key / value pair in the registry =96 (fragment from .WXS file)=20 <Property Id=3D"FRAMEWORK10"> <RegistrySearch Id=3D'Framework10Registry' Type=3D'registry' Root=3D'HKLM' Key=3D'Software\Microsoft\.NETFramework\policy\v1.0' = Name=3D'3705'/> </Property> Instead, my Registry shows (in part) =96=20 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\Policy] [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\Policy\Standards] [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\Policy\Standards\v1.= 0.0] "v1.1.4322"=3Ddword:000010e2 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\Policy\Upgrades] "1.1.4322"=3D"1.0.3705-1.1.4322" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\Policy\v1.1] "4322"=3D"3706-4322" Apart from the registry key discrepancy, I need a heads-up on how to = code the .WXS file to allow the install if I do have .NET v1.1 present, even if = my application requires only v1.0 (or v1.1SP1 or v2.0Beta1 if the = requirement is just v1.1).=20 It seems that as Sample13.WXS is written, if 1.0 isn't detected from the registry then it's no go. I'd like to test in reverse order, I guess - = if v2.0 is installed, v1.1 apps and v1.0 apps will work, so the installer should reflect that.=20 I'm also bothered by the discrepancy in the registry structure. --- Ian Thomas GeoSciSoft - Perth, Australia ________________________________________ From: wix...@li... [mailto:wix...@li...] On Behalf Of ILT Sent: Saturday, 28 May 2005 12:00 PM To: wix...@li... Subject: [WiX-users] Custom Actions (?) for OS version, filesystem This is a pretty basic sort of enquiry - what do I need to do, in order = to check these things? =95 Windows version =95 File system (eg, NTFS) for one or more drives I know how I can do this using VBScript and WMI. Using VBScript/WMI, I = would also have to check whether they=92re installed.=20 Is there another way, =93built into=94 Windows Installer and WiX?=20 --- Ian Thomas GeoSciSoft - Perth, Australia --=20 No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.322 / Virus Database: 267.2.0 - Release Date: 27/05/2005 =20 =20 |