locked
Install Fails in Windows 7 RRS feed

  • 问题

  • I am trying to get an install to work in Windows 7 that was originally built using a vdproj project in Visual Studio 2005 and it hasn't been working. I updated the project to VS 2008 in hopes that that may correct the issue but it didn't help any. Anyone have an idea why the install is failing? Below is the complete log, any help is greatly appreciated.

    === Logging started: 4/27/2011 11:08:07 ===
    Action 11:08:07: INSTALL. 
    Action start 11:08:07: INSTALL.
    Action 11:08:07: DIRCA_CheckFX. 
    Action start 11:08:07: DIRCA_CheckFX.
    INFO  : [04/27/2011 11:08:07:852] [CheckFX                 ]: Custom Action is starting...
    INFO  : [04/27/2011 11:08:07:853] [CheckFX                 ]: CoInitializeEx - COM initialization Apartment Threaded...
    INFO  : [04/27/2011 11:08:07:854] [CheckFX                 ]: MsiGetPropertyW - Determine size of property 'VSDFrameworkVersion'
    INFO  : [04/27/2011 11:08:07:855] [CheckFX                 ]: Allocating space...
    INFO  : [04/27/2011 11:08:07:855] [CheckFX                 ]: MsiGetPropertyW - Getting Property 'VSDFrameworkVersion'...
    INFO  : [04/27/2011 11:08:07:855] [CheckFX                 ]: Property 'VSDFrameworkVersion' retrieved with value '2.0.50727'.
    INFO  : [04/27/2011 11:08:07:856] [CheckFX                 ]: Set VSDNETMSG with the FrameworkVersion.
    INFO  : [04/27/2011 11:08:07:856] [CheckFX                 ]: MsiGetPropertyW - Determine size of property 'VSDNETMSG'
    INFO  : [04/27/2011 11:08:07:856] [CheckFX                 ]: Allocating space...
    INFO  : [04/27/2011 11:08:07:856] [CheckFX                 ]: MsiGetPropertyW - Getting Property 'VSDNETMSG'...
    INFO  : [04/27/2011 11:08:07:857] [CheckFX                 ]: Property 'VSDNETMSG' retrieved with value 'This setup requires the .NET Framework version [1]. Please install the .NET Framework and run this setup again.'.
    INFO  : [04/27/2011 11:08:07:857] [CheckFX                 ]: MsiSetPropertyW - Setting Property Value...
    INFO  : [04/27/2011 11:08:07:857] [CheckFX                 ]: MsiSetPropertyW - Setting property 'VSDNETMSG' to 'This setup requires the .NET Framework version 2.0. Please install the .NET Framework and run this setup again.'.
    INFO  : [04/27/2011 11:08:07:858] [CheckFX                 ]: MsiGetPropertyW - Determine size of property 'VSDNETURLMSG'
    INFO  : [04/27/2011 11:08:07:858] [CheckFX                 ]: Allocating space...
    INFO  : [04/27/2011 11:08:07:858] [CheckFX                 ]: MsiGetPropertyW - Getting Property 'VSDNETURLMSG'...
    INFO  : [04/27/2011 11:08:07:858] [CheckFX                 ]: Property 'VSDNETURLMSG' retrieved with value 'This setup requires the .NET Framework version [1]. Please install the .NET Framework and run this setup again. The .NET Framework can be obtained from the web. Would you like to do this now?'.
    INFO  : [04/27/2011 11:08:07:859] [CheckFX                 ]: MsiSetPropertyW - Setting Property Value...
    INFO  : [04/27/2011 11:08:07:859] [CheckFX                 ]: MsiSetPropertyW - Setting property 'VSDNETURLMSG' to 'This setup requires the .NET Framework version 2.0. Please install the .NET Framework and run this setup again. The .NET Framework can be obtained from the web. Would you like to do this now?'.
    INFO  : [04/27/2011 11:08:07:860] [CheckFX                 ]: Getting framework methods...
    INFO  : [04/27/2011 11:08:07:860] [CheckFX                 ]: Found CorBindToRuntime.
    INFO  : [04/27/2011 11:08:07:860] [CheckFX                 ]: Found GetRequestedRuntimeInfo.
    INFO  : [04/27/2011 11:08:07:861] [CheckFX                 ]: MsiGetPropertyW - Determine size of property 'VSDAllowLaterFrameworkVersions'
    INFO  : [04/27/2011 11:08:07:861] [CheckFX                 ]: Allocating space...
    INFO  : [04/27/2011 11:08:07:861] [CheckFX                 ]: MsiGetPropertyW - Getting Property 'VSDAllowLaterFrameworkVersions'...
    INFO  : [04/27/2011 11:08:07:861] [CheckFX                 ]: Property 'VSDAllowLaterFrameworkVersions' retrieved with value 'False'.
    INFO  : [04/27/2011 11:08:07:862] [CheckFX                 ]: Calling GetRequestedRuntimeVersion...
    DEBUG : [04/27/2011 11:08:07:863] [CheckFX                 ]: RESULT	0
    INFO  : [04/27/2011 11:08:07:863] [CheckFX                 ]: MsiSetPropertyW - Setting Property Value...
    INFO  : [04/27/2011 11:08:07:864] [CheckFX                 ]: MsiSetPropertyW - Setting property 'VSDFXAvailable' to 'TRUE'.
    INFO  : [04/27/2011 11:08:07:864] [CheckFX                 ]: Writing config file with version: 'v2.0.50727'...
    INFO  : [04/27/2011 11:08:07:865] [CheckFX                 ]: Creating Config File...
    DEBUG : [04/27/2011 11:08:07:866] [CheckFX                 ]: Calling MsiGetActiveDatabase...
    DEBUG : [04/27/2011 11:08:07:866] [CheckFX                 ]: Calling MsiDatabaseOpenView...
    DEBUG : [04/27/2011 11:08:07:867] [CheckFX                 ]: Calling MsiViewExecute...
    DEBUG : [04/27/2011 11:08:07:867] [CheckFX                 ]: Calling MsiViewFetch...
    DEBUG : [04/27/2011 11:08:07:867] [CheckFX                 ]: Calling MsiRecordDataSize...
    INFO  : [04/27/2011 11:08:07:869] [CheckFX                 ]: MsiSetPropertyW - Setting Property Value...
    INFO  : [04/27/2011 11:08:07:869] [CheckFX                 ]: MsiSetPropertyW - Setting property 'VSDFxConfigFile' to 'C:\Users\EricB\AppData\Local\Temp\CFG726C.tmp'.
    INFO  : [04/27/2011 11:08:07:870] [CheckFX                 ]: Custom Action succeeded.
    INFO  : [04/27/2011 11:08:07:870] [CheckFX                 ]: Custom Action completed with return code: '0'
    Action ended 11:08:07: DIRCA_CheckFX. Return value 1.
    Action 11:08:07: AppSearch. Searching for installed applications
    Action start 11:08:07: AppSearch.
    AppSearch: Property: IISVERSION, Signature: __C50801A31E9F4071A4403F46F14AE9C7
    Action ended 11:08:07: AppSearch. Return value 1.
    Action 11:08:07: FindRelatedProducts. Searching for related applications
    Action start 11:08:07: FindRelatedProducts.
    Action ended 11:08:07: FindRelatedProducts. Return value 1.
    Action 11:08:07: VSDCA_VsdLaunchConditions. 
    Action start 11:08:07: VSDCA_VsdLaunchConditions.
    INFO  : [04/27/2011 11:08:07:882] [VsdLaunchConditions           ]: Custom Action is starting...
    INFO  : [04/27/2011 11:08:07:882] [VsdLaunchConditions           ]: CoInitializeEx - COM initialization Apartment Threaded...
    INFO  : [04/27/2011 11:08:07:882] [VsdLaunchConditions           ]: Enumerating table using SQL statement: 'SELECT * FROM `_VsdLaunchCondition`'
    INFO  : [04/27/2011 11:08:07:883] [VsdLaunchConditions           ]: Calling MsiGetActiveDatabase...
    INFO  : [04/27/2011 11:08:07:883] [VsdLaunchConditions           ]: MsiDatabaseOpenViewW - Prepare Database to view table...
    INFO  : [04/27/2011 11:08:07:883] [VsdLaunchConditions           ]: TMsiViewExecute - Open Database view on table...
    INFO  : [04/27/2011 11:08:07:884] [VsdLaunchConditions           ]: Checking a launch condition...
    INFO  : [04/27/2011 11:08:07:884] [VsdLaunchConditions           ]: Getting the condition to evaluate...
    INFO  : [04/27/2011 11:08:07:884] [VsdLaunchConditions           ]: MsiRecordGetStringW - Fetching value...
    INFO  : [04/27/2011 11:08:07:884] [VsdLaunchConditions           ]: MsiRecordGetStringW - Getting value from column '1'...
    INFO  : [04/27/2011 11:08:07:885] [VsdLaunchConditions           ]: Evaluating condition 'VSDFXAvailable'...
    INFO  : [04/27/2011 11:08:07:885] [VsdLaunchConditions           ]: RESULT:	Condition is true. Nothing more to do.
    INFO  : [04/27/2011 11:08:07:885] [VsdLaunchConditions           ]: Custom Action succeeded.
    INFO  : [04/27/2011 11:08:07:886] [VsdLaunchConditions           ]: Custom Action completed with return code: '0'
    Action ended 11:08:07: VSDCA_VsdLaunchConditions. Return value 1.
    Action 11:08:07: LaunchConditions. Evaluating launch conditions
    Action start 11:08:07: LaunchConditions.
    Action ended 11:08:07: LaunchConditions. Return value 1.
    Action 11:08:07: CCPSearch. Searching for qualifying products
    Action start 11:08:07: CCPSearch.
    Action ended 11:08:07: CCPSearch. Return value 1.
    Action 11:08:07: RMCCPSearch. Searching for qualifying products
    Action start 11:08:07: RMCCPSearch.
    Action ended 11:08:07: RMCCPSearch. Return value 0.
    Action 11:08:07: ValidateProductID. 
    Action start 11:08:07: ValidateProductID.
    Action ended 11:08:07: ValidateProductID. Return value 1.
    Action 11:08:07: WEBCA_TARGETVDIR. 
    Action start 11:08:07: WEBCA_TARGETVDIR.
    Action ended 11:08:07: WEBCA_TARGETVDIR. Return value 1.
    Action 11:08:07: WEBCA_SetTARGETSITE. 
    Action start 11:08:07: WEBCA_SetTARGETSITE.
    INFO  : [04/27/2011 11:08:07:897] [SetTARGETSITE              ]: Custom Action is starting...
    INFO  : [04/27/2011 11:08:07:897] [SetTARGETSITE              ]: CoInitializeEx - COM initialization Apartment Threaded...
    ERROR : [04/27/2011 11:08:07:898] [SetTARGETSITE              ]: FAILED:	-2147221164
    ERROR : [04/27/2011 11:08:07:899] [SetTARGETSITE              ]: Custom Action failed with code: '340'
    INFO  : [04/27/2011 11:08:07:899] [SetTARGETSITE              ]: Custom Action completed with return code: '340'
    CustomAction WEBCA_SetTARGETSITE returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
    Action ended 11:08:07: WEBCA_SetTARGETSITE. Return value 3.
    Action 11:08:07: FatalErrorForm. 
    Action start 11:08:07: FatalErrorForm.
    Info 2898.For VSI_MS_Sans_Serif13.0_0_0 textstyle, the system created a 'MS Sans Serif' font, in 0 character set, of 13 pixels height.
    DEBUG: Error 2826: Control Line1 on dialog FatalErrorForm extends beyond the boundaries of the dialog to the right by 3 pixels
    The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2826. The arguments are: FatalErrorForm, Line1, to the right
    DEBUG: Error 2826: Control Line2 on dialog FatalErrorForm extends beyond the boundaries of the dialog to the right by 3 pixels
    The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2826. The arguments are: FatalErrorForm, Line2, to the right
    DEBUG: Error 2826: Control BannerBmp on dialog FatalErrorForm extends beyond the boundaries of the dialog to the right by 3 pixels
    The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2826. The arguments are: FatalErrorForm, BannerBmp, to the right
    Info 2898.For VsdDefaultUIFont.524F4245_5254_5341_4C45_534153783400 textstyle, the system created a 'MS Sans Serif' font, in 0 character set, of 13 pixels height.
    Info 2898.For VSI_MS_Sans_Serif16.0_1_0 textstyle, the system created a 'MS Sans Serif' font, in 0 character set, of 20 pixels height.
    Action 11:08:07: FatalErrorForm. Dialog created
    Action ended 11:08:10: FatalErrorForm. Return value 1.
    Action ended 11:08:10: INSTALL. Return value 3.
    Property(C): UpgradeCode = {8F90D925-87A8-4506-BD32-8D78CD0E3E28}
    Property(C): SourceDir = C:\Users\EricB\Desktop\
    Property(C): TARGETVDIR = WebFT_AMEX
    Property(C): ProgramMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\
    Property(C): VSDFXAvailable = TRUE
    Property(C): VSDFrameworkVersion = 2.0.50727
    Property(C): VSDAllowLaterFrameworkVersions = False
    Property(C): IISVERSION = #7
    Property(C): ProductName = Web FASTest for Amex
    Property(C): ProductCode = {D7A04DB0-068F-4124-B8D1-CBB1880DC54B}
    Property(C): ProductVersion = 2.1.0
    Property(C): Manufacturer = Paragon Application Systems
    Property(C): ARPCONTACT = Paragon Application Systems
    Property(C): ARPCOMMENTS = Web FASTest for Amex
    Property(C): ARPURLINFOABOUT = http://www.paragonedge.com
    Property(C): ProductLanguage = 1033
    Property(C): ALLUSERS = 1
    Property(C): TARGETASPNETVERSION = 2.0.50727.0
    Property(C): SecureCustomProperties = PREVIOUSVERSIONSINSTALLED
    Property(C): RedirectedDllSupport = 2
    Property(C): VersionNT = 601
    Property(C): VSDNETURLMSG = This setup requires the .NET Framework version 2.0. Please install the .NET Framework and run this setup again. The .NET Framework can be obtained from the web. Would you like to do this now?
    Property(C): VSDIISMSG = This setup requires Internet Information Server 4.0 or higher and Windows NT 4.0, Windows 2000 or higher. This setup cannot be installed on Windows 95, Windows 98, or Windows Me. Please install Internet Information Server and run this setup again.
    Property(C): VSDUIANDADVERTISED = This advertised application will not be installed because it might be unsafe. Contact your administrator to change the installation user interface option of the package to basic.
    Property(C): VSDNETMSG = This setup requires the .NET Framework version 2.0. Please install the .NET Framework and run this setup again.
    Property(C): VSDINVALIDURLMSG = The specified path '[2]' is unavailable. The Internet Information Server might not be running or the path exists and is redirected to another machine. Please check the status of this virtual directory in the Internet Services Manager.
    Property(C): VSDVERSIONMSG = Unable to install because a newer version of this product is already installed.
    Property(C): MaintenanceForm_Action = Repair
    Property(C): VsdAppPoolsCombo = TARGETAPPPOOL
    Property(C): VsdSiteCombo = TARGETSITE
    Property(C): DefaultUIFont = VsdDefaultUIFont.524F4245_5254_5341_4C45_534153783400
    Property(C): ErrorDialog = ErrorDialog
    Property(C): SFF_UpFldrBtn = UpFldrBtn
    Property(C): SFF_NewFldrBtn = NewFldrBtn
    Property(C): AdminMaintenanceForm_Action = Repair
    Property(C): WelcomeForm_NextArgs = WebFolderForm
    Property(C): WebFolderForm_PrevArgs = WelcomeForm
    Property(C): WebFolderForm_NextArgs = ConfirmInstallForm
    Property(C): ConfirmInstallForm_PrevArgs = WebFolderForm
    Property(C): AdminWelcomeForm_NextArgs = AdminWebFolderForm
    Property(C): AdminWebFolderForm_PrevArgs = AdminWelcomeForm
    Property(C): AdminWebFolderForm_NextArgs = AdminConfirmInstallForm
    Property(C): AdminConfirmInstallForm_PrevArgs = AdminWebFolderForm
    Property(C): MsiLogFileLocation = C:\installlog.txt
    Property(C): PackageCode = {975A2F39-A801-4B65-9CF6-94FEDD28908B}
    Property(C): ProductState = -1
    Property(C): PackagecodeChanging = 1
    Property(C): CURRENTDIRECTORY = C:\Users\EricB\Desktop
    Property(C): CLIENTUILEVEL = 0
    Property(C): CLIENTPROCESSID = 1600
    Property(C): MsiSystemRebootPending = 1
    Property(C): VersionDatabase = 200
    Property(C): VersionMsi = 5.00
    Property(C): WindowsBuild = 7601
    Property(C): ServicePackLevel = 1
    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:\Users\EricB\AppData\Local\Temp\
    Property(C): ProgramFilesFolder = C:\Program Files\
    Property(C): CommonFilesFolder = C:\Program Files\Common Files\
    Property(C): AppDataFolder = C:\Users\EricB\AppData\Roaming\
    Property(C): FavoritesFolder = C:\Users\EricB\Favorites\
    Property(C): NetHoodFolder = C:\Users\EricB\AppData\Roaming\Microsoft\Windows\Network Shortcuts\
    Property(C): PersonalFolder = C:\Users\EricB\Documents\
    Property(C): PrintHoodFolder = C:\Users\EricB\AppData\Roaming\Microsoft\Windows\Printer Shortcuts\
    Property(C): RecentFolder = C:\Users\EricB\AppData\Roaming\Microsoft\Windows\Recent\
    Property(C): SendToFolder = C:\Users\EricB\AppData\Roaming\Microsoft\Windows\SendTo\
    Property(C): TemplateFolder = C:\ProgramData\Microsoft\Windows\Templates\
    Property(C): CommonAppDataFolder = C:\ProgramData\
    Property(C): LocalAppDataFolder = C:\Users\EricB\AppData\Local\
    Property(C): MyPicturesFolder = C:\Users\EricB\Pictures\
    Property(C): AdminToolsFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\
    Property(C): StartupFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\
    Property(C): StartMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu\
    Property(C): DesktopFolder = C:\Users\Public\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 = 3069
    Property(C): VirtualMemory = 3460
    Property(C): AdminUser = 1
    Property(C): MsiTrueAdminUser = 1
    Property(C): LogonUser = EricB
    Property(C): UserSID = S-1-5-21-1479661265-588112484-2378775607-1166
    Property(C): UserLanguageID = 1033
    Property(C): ComputerName = ERBE
    Property(C): SystemLanguageID = 1033
    Property(C): ScreenX = 1920
    Property(C): ScreenY = 1200
    Property(C): CaptionHeight = 22
    Property(C): BorderTop = 1
    Property(C): BorderSide = 1
    Property(C): TextHeight = 16
    Property(C): TextInternalLeading = 3
    Property(C): ColorBits = 32
    Property(C): TTCSupport = 1
    Property(C): Time = 11:08:10
    Property(C): Date = 4/27/2011
    Property(C): MsiNetAssemblySupport = 4.0.30319.1
    Property(C): MsiWin32AssemblySupport = 6.1.7601.17514
    Property(C): MsiRunningElevated = 1
    Property(C): Privileged = 1
    Property(C): USERNAME = Temp
    Property(C): DATABASE = C:\Users\EricB\Desktop\Web_FASTest_for_Amex.msi
    Property(C): OriginalDatabase = C:\Users\EricB\Desktop\Web_FASTest_for_Amex.msi
    Property(C): SOURCEDIR = C:\Users\EricB\Desktop\
    Property(C): VersionHandler = 5.00
    Property(C): UILevel = 5
    Property(C): ACTION = INSTALL
    Property(C): EXECUTEACTION = INSTALL
    Property(C): VSDFxConfigFile = C:\Users\EricB\AppData\Local\Temp\CFG726C.tmp
    === Logging stopped: 4/27/2011 11:08:10 ===
    MSI (c) (40:38) [11:08:10:409]: Product: Web FASTest for Amex -- Installation failed.
    
    MSI (c) (40:38) [11:08:10:410]: Windows Installer installed the product. Product Name: Web FASTest for Amex. Product Version: 2.1.0. Product Language: 1033. Manufacturer: Paragon Application Systems. Installation success or error status: 1603.
    
    

     

    2011年4月27日 15:25

答案

  • It's the internal custom action WEBCA_SetTARGETSITE that's failing. That  FAILED: -2147221164 message is 0x80040154 Class not registered.

    So, maybe IIS isn't configured (you're installing a web site or something similar). Even if IIS is configured I don't know if VS 2008 setups work with IIS 7 - they may require IIS 6 compatibility to be enabled.


    Phil Wilson
    2011年4月27日 17:31

全部回复

  • Hi,

    is the .Net framework version 2.0 installed on the target pc ? The log says:

    This setup requires the .NET Framework version 2.0. Please install the .NET Framework and run this setup again. The .NET Framework can be obtained from the web. Would you like to do this now?

     


    Regards, Nico
    2011年4月27日 16:12
  • It's the internal custom action WEBCA_SetTARGETSITE that's failing. That  FAILED: -2147221164 message is 0x80040154 Class not registered.

    So, maybe IIS isn't configured (you're installing a web site or something similar). Even if IIS is configured I don't know if VS 2008 setups work with IIS 7 - they may require IIS 6 compatibility to be enabled.


    Phil Wilson
    2011年4月27日 17:31
  • Thanks Nico. Yep, .NET Framework 2.0 is installed. I think that error is because it is trying to included the dependency in the install and it doesn't find it. I'll try to fix that in the build but I already have 2.0 on my system. I expect it would be an issue on a system where it needs to install the dependencies.
    2011年4月28日 13:43
  • I enabled IIS 6 compatibility and the install worked. Thanks for the help.
    2011年4月28日 14:06