-----Original Message----- From: Sean Farrow [mailto:sean.far...@seanfarrow.co.uk] Sent: Wednesday, November 17, 2010 2:33 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] property not being used
Hi: I'm trying to debug an installer whereby I need to find out what value a property holds: I have the following fragment: <Fragment> <Property Id="ISJAWSINSTALLED" Value ="JAWSNotInstalled"> <RegistrySearch Id="JAWSInstallRootSearch" Type="raw" Root="HKLM" Key="Software\Freedom Scientific\JAWS"/> </Property> </Fragment> Below is the log created giving me the property values. The command line used was: Msiexec /I d:\work\hotSpotcliker.msi /lp d:\work\msi.log ---start log. === Logging started: 17/11/2010 07:06:52 === Action 07:06:52: INSTALL. Action start 07:06:52: INSTALL. Action 07:06:52: PrepareDlg. Action start 07:06:52: PrepareDlg. Info 2898. For WixUI_Font_Normal textstyle, the system created a 'Tahoma' font, in 0 character set, of 16 pixels height. Info 2898. For WixUI_Font_Bigger textstyle, the system created a 'Tahoma' font, in 0 character set, of 24 pixels height. Action 07:06:52: PrepareDlg. Dialog created Action ended 07:06:52: PrepareDlg. Return value 1. Action 07:06:52: AppSearch. Searching for installed applications Action start 07:06:52: AppSearch. Action ended 07:06:52: AppSearch. Return value 0. Action 07:06:52: LaunchConditions. Evaluating launch conditions Action start 07:06:52: LaunchConditions. The installed version of user32.dll is not high enough to support this installer. MSI (c) (F0:04) [07:06:54:655]: Product: HotSpotClicker -- The installed version of user32.dll is not high enough to support this installer. Action ended 07:06:54: LaunchConditions. Return value 3. Action 07:06:54: FatalError. Action start 07:06:54: FatalError. Action 07:06:54: FatalError. Dialog created Action ended 07:06:55: FatalError. Return value 2. Action ended 07:06:55: INSTALL. Return value 3. Property(C): WixUIRMOption = UseRM Property(C): WIXUI_INSTALLDIR = INSTALLLOCATION Property(C): ARPNOMODIFY = 1 Property(C): ProgramFilesFolder = C:\Program Files\ Property(C): SourceDir = d:\work\ Property(C): Manufacturer = HotSpotClicker Property(C): ProductCode = {C1093F38-9866-431E-A942-F786A1B8E8C0} Property(C): ProductLanguage = 1033 Property(C): ProductName = HotSpotClicker Property(C): ProductVersion = 1.0.0.0 Property(C): UpgradeCode = {4F202853-F239-453B-8EEA-A489D24DF24B} Property(C): DefaultUIFont = WixUI_Font_Normal Property(C): WixUI_Mode = InstallDir Property(C): ErrorDialog = ErrorDlg Property(C): MsiLogFileLocation = d:\work\mssi.log Property(C): PackageCode = {97BCA81F-11FD-4B28-A061-0F9B79C70504} Property(C): ProductState = -1 Property(C): PackagecodeChanging = 1 Property(C): CURRENTDIRECTORY = C:\Documents and Settings\Sean Farrow Property(C): CLIENTUILEVEL = 0 Property(C): CLIENTPROCESSID = 5104 Property(C): VersionDatabase = 200 Property(C): VersionMsi = 4.05 Property(C): VersionNT = 501 Property(C): WindowsBuild = 2600 Property(C): ServicePackLevel = 3 Property(C): ServicePackLevelMinor = 0 Property(C): MsiNTProductType = 1 Property(C): WindowsFolder = C:\WINDOWS\ Property(C): WindowsVolume = C:\ Property(C): SystemFolder = C:\WINDOWS\system32\ Property(C): System16Folder = C:\WINDOWS\system\ Property(C): RemoteAdminTS = 1 Property(C): TempFolder = C:\DOCUME~1\SEANFA~1\LOCALS~1\Temp\ Property(C): CommonFilesFolder = C:\Program Files\Common Files\ Property(C): AppDataFolder = C:\Documents and Settings\Sean Farrow\Application Data\ Property(C): FavoritesFolder = C:\Documents and Settings\Sean Farrow\Favorites\ Property(C): NetHoodFolder = C:\Documents and Settings\Sean Farrow\NetHood\ Property(C): PersonalFolder = C:\Documents and Settings\Sean Farrow\My Documents\ Property(C): PrintHoodFolder = C:\Documents and Settings\Sean Farrow\PrintHood\ Property(C): RecentFolder = C:\Documents and Settings\Sean Farrow\Recent\ Property(C): SendToFolder = C:\Documents and Settings\Sean Farrow\SendTo\ Property(C): TemplateFolder = C:\Documents and Settings\Sean Farrow\Templates\ Property(C): CommonAppDataFolder = C:\Documents and Settings\All Users\Application Data\ Property(C): LocalAppDataFolder = C:\Documents and Settings\Sean Farrow\Local Settings\Application Data\ Property(C): MyPicturesFolder = C:\Documents and Settings\Sean Farrow\My Documents\My Pictures\ Property(C): AdminToolsFolder = C:\Documents and Settings\Sean Farrow\Start Menu\Programs\Administrative Tools\ Property(C): StartupFolder = C:\Documents and Settings\Sean Farrow\Start Menu\Programs\Startup\ Property(C): ProgramMenuFolder = C:\Documents and Settings\Sean Farrow\Start Menu\Programs\ Property(C): StartMenuFolder = C:\Documents and Settings\Sean Farrow\Start Menu\ Property(C): DesktopFolder = C:\Documents and Settings\Sean Farrow\Desktop\ Property(C): FontsFolder = C:\WINDOWS\Fonts\ Property(C): GPTSupport = 1 Property(C): OLEAdvtSupport = 1 Property(C): ShellAdvtSupport = 1 Property(C): Intel = 6 Property(C): PhysicalMemory = 2038 Property(C): VirtualMemory = 2208 Property(C): AdminUser = 1 Property(C): LogonUser = Sean Farrow Property(C): UserSID = S-1-5-21-1622345026-349096478-2382280801-1005 Property(C): UserLanguageID = 2057 Property(C): ComputerName = SEAN Property(C): SystemLanguageID = 1033 Property(C): ScreenX = 1024 Property(C): ScreenY = 768 Property(C): CaptionHeight = 32 Property(C): BorderTop = 1 Property(C): BorderSide = 1 Property(C): TextHeight = 20 Property(C): TextInternalLeading = 4 Property(C): ColorBits = 32 Property(C): TTCSupport = 1 Property(C): Time = 07:06:55 Property(C): Date = 17/11/2010 Property(C): MsiNetAssemblySupport = 4.0.30319.1 Property(C): MsiWin32AssemblySupport = 5.1.2600.5512 Property(C): RedirectedDllSupport = 2 Property(C): Privileged = 1 Property(C): USERNAME = Sean Farrow Property(C): DATABASE = C:\DOCUME~1\SEANFA~1\LOCALS~1\Temp\6b86bb.msi Property(C): OriginalDatabase = d:\work\hotspotclicker.msi Property(C): SOURCEDIR = d:\work\ Property(C): VersionHandler = 4.05 Property(C): UILevel = 5 Property(C): ACTION = INSTALL Property(C): EXECUTEACTION = INSTALL === Logging stopped: 17/11/2010 07:06:55 === MSI (c) (F0:04) [07:06:55:749]: Product: HotSpotClicker -- Installation failed. MSI (c) (F0:04) [07:06:55:749]: Windows Installer installed the product. Product Name: HotSpotClicker. Product Version: 1.0.0.0. Product Language: 1033. Installation success or error status: 1603. --end log. Anyone know why this property is not showing up in the installer, do I need to reference the fragment in the main product.wxs file? Or is there something else? It is used currently as follows: <InstallUISequence> <LaunchConditions After='AppSearch' /> </InstallUISequence> <InstallExecuteSequence> <LaunchConditions After='AppSearch' /> </InstallExecuteSequence> <Condition Message="JAWS for windows is not installed."> <![CDATA[Installed OR ISJAWSINSTALLED]]> </Condition> Any help appreciated. Cheers Sean. ------------------------------------------------------------------------ ------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users