From: C. on
Hi,

I have a solution with a website and a web deployment project. I have
created a web setup project that creates an MSI based on the web
deployment project. Everytime I try to run the MSI, I keep getting a
"The installer was interrupted before <APPLICATION> could be
installed. You need to restart the installer to try again. Can anyone
tell me why? I have included the log below:


=== Logging started: 6/4/2010 11:22:24 ===
Action 11:22:24: INSTALL.
Action start 11:22:24: INSTALL.
Action 11:22:24: AppSearch. Searching for installed applications
Action start 11:22:24: AppSearch.
AppSearch: Property: IISVERSION, Signature:
__C4E3EE98779543B3BDC075CCF04F80D9
Action ended 11:22:24: AppSearch. Return value 1.
Action 11:22:24: FindRelatedProducts. Searching for related
applications
Action start 11:22:24: FindRelatedProducts.
Action ended 11:22:24: FindRelatedProducts. Return value 1.
Action 11:22:24: LaunchConditions. Evaluating launch conditions
Action start 11:22:24: LaunchConditions.
Action ended 11:22:24: LaunchConditions. Return value 1.
Action 11:22:24: CCPSearch. Searching for qualifying products
Action start 11:22:24: CCPSearch.
Action ended 11:22:24: CCPSearch. Return value 0.
Action 11:22:24: RMCCPSearch. Searching for qualifying products
Action start 11:22:24: RMCCPSearch.
Action ended 11:22:24: RMCCPSearch. Return value 0.
Action 11:22:24: ValidateProductID.
Action start 11:22:24: ValidateProductID.
Action ended 11:22:24: ValidateProductID. Return value 1.
Action 11:22:24: WEBCA_TARGETVDIR.
Action start 11:22:24: WEBCA_TARGETVDIR.
Action ended 11:22:24: WEBCA_TARGETVDIR. Return value 1.
Action 11:22:24: WEBCA_SetTARGETSITE.
Action start 11:22:24: WEBCA_SetTARGETSITE.
INFO : [06/04/2010 11:22:24:741]
[SetTARGETSITE ]: Custom Action is
starting...
INFO : [06/04/2010 11:22:24:742]
[SetTARGETSITE ]: CoInitializeEx - COM
initialization Apartment Threaded...
INFO : [06/04/2010 11:22:24:768]
[SetTARGETSITE ]: MsiSetPropertyW - Setting
Property Value...
INFO : [06/04/2010 11:22:24:769]
[SetTARGETSITE ]: MsiSetPropertyW - Setting
property 'TARGETSITE' to '/LM/W3SVC/1'.
INFO : [06/04/2010 11:22:24:769]
[SetTARGETSITE ]: Custom Action succeeded.
INFO : [06/04/2010 11:22:24:770]
[SetTARGETSITE ]: Custom Action completed
with return code: '0'
Action ended 11:22:24: WEBCA_SetTARGETSITE. Return value 1.
Action 11:22:24: WEBCA_EvaluateURLsNoFail.
Action start 11:22:24: WEBCA_EvaluateURLsNoFail.
INFO : [06/04/2010 11:22:24:803]
[EvaluateURLsNoFail ]: Custom Action is
starting...
INFO : [06/04/2010 11:22:24:804]
[EvaluateURLsNoFail ]: CoInitializeEx - COM
initialization Apartment Threaded...
INFO : [06/04/2010 11:22:24:804]
[EvaluateURLsNoFail ]: Enumerating table using
SQL statement: 'SELECT * FROM `_UrlToDir`'
INFO : [06/04/2010 11:22:24:804]
[EvaluateURLsNoFail ]: Calling
MsiGetActiveDatabase...
INFO : [06/04/2010 11:22:24:805]
[EvaluateURLsNoFail ]: MsiDatabaseOpenViewW -
Prepare Database to view table...
INFO : [06/04/2010 11:22:24:805]
[EvaluateURLsNoFail ]: TMsiViewExecute - Open
Database view on table...
INFO : [06/04/2010 11:22:24:806]
[EvaluateURLsNoFail ]: MsiRecordGetStringW -
Fetching value...
INFO : [06/04/2010 11:22:24:806]
[EvaluateURLsNoFail ]: MsiRecordGetStringW -
Getting value from column '1'...
INFO : [06/04/2010 11:22:24:811]
[EvaluateURLsNoFail ]: Getting App Root for Url
Property: TARGETURL
INFO : [06/04/2010 11:22:24:811]
[EvaluateURLsNoFail ]: Getting AppRoot From Url
key 'TARGETURL'.
INFO : [06/04/2010 11:22:24:811]
[EvaluateURLsNoFail ]: MsiGetPropertyW -
Determine size of property 'TARGETSITE'
INFO : [06/04/2010 11:22:24:812]
[EvaluateURLsNoFail ]: Allocating space...
INFO : [06/04/2010 11:22:24:812]
[EvaluateURLsNoFail ]: MsiGetPropertyW - Getting
Property 'TARGETSITE'...
INFO : [06/04/2010 11:22:24:812]
[EvaluateURLsNoFail ]: Property 'TARGETSITE'
retrieved with value '/LM/W3SVC/1'.
INFO : [06/04/2010 11:22:24:812]
[EvaluateURLsNoFail ]: RESULT: /LM/W3SVC/1
INFO : [06/04/2010 11:22:24:813]
[EvaluateURLsNoFail ]: MsiDatabaseOpenViewW -
Using query 'SELECT `_VDirProperty` FROM `_VDirToUrl` WHERE
`TargetProperty` = 'TARGETURL''.
INFO : [06/04/2010 11:22:24:813]
[EvaluateURLsNoFail ]: Calling MsiViewExecute...
INFO : [06/04/2010 11:22:24:814]
[EvaluateURLsNoFail ]: MsiRecordGetStringW -
Fetching value...
INFO : [06/04/2010 11:22:24:814]
[EvaluateURLsNoFail ]: MsiRecordGetStringW -
Getting value from column '1'...
INFO : [06/04/2010 11:22:24:814]
[EvaluateURLsNoFail ]: RESULT: TARGETVDIR
INFO : [06/04/2010 11:22:24:814]
[EvaluateURLsNoFail ]: MsiGetPropertyW -
Determine size of property 'TARGETVDIR'
INFO : [06/04/2010 11:22:24:815]
[EvaluateURLsNoFail ]: Allocating space...
INFO : [06/04/2010 11:22:24:815]
[EvaluateURLsNoFail ]: MsiGetPropertyW - Getting
Property 'TARGETVDIR'...
INFO : [06/04/2010 11:22:24:815]
[EvaluateURLsNoFail ]: Property 'TARGETVDIR'
retrieved with value 'ACEManagement_Setup'.
INFO : [06/04/2010 11:22:24:816]
[EvaluateURLsNoFail ]: RESULT:
ACEManagement_Setup
INFO : [06/04/2010 11:22:24:816]
[EvaluateURLsNoFail ]: AppRoot: /LM/W3SVC/1/
ROOT/ACEManagement_Setup
INFO : [06/04/2010 11:22:24:816]
[EvaluateURLsNoFail ]: RESULT: /LM/W3SVC/1/
ROOT/ACEManagement_Setup
INFO : [06/04/2010 11:22:24:817]
[EvaluateURLsNoFail ]: Mapping App Root to hard
drive location...
INFO : [06/04/2010 11:22:24:822]
[EvaluateURLsNoFail ]: RESULT: C:\inetpub\wwwroot
\ENH\ACEManagement_Setup
INFO : [06/04/2010 11:22:24:823]
[EvaluateURLsNoFail ]: MsiRecordGetStringW -
Fetching value...
INFO : [06/04/2010 11:22:24:823]
[EvaluateURLsNoFail ]: MsiRecordGetStringW -
Getting value from column '2'...
INFO : [06/04/2010 11:22:24:823]
[EvaluateURLsNoFail ]: MsiSetPropertyW - Setting
Property Value...
INFO : [06/04/2010 11:22:24:824]
[EvaluateURLsNoFail ]: MsiSetPropertyW - Setting
property 'TARGETDIR' to 'C:\inetpub\wwwroot\ENH\ACEManagement_Setup'.
INFO : [06/04/2010 11:22:24:825]
[EvaluateURLsNoFail ]: Custom Action succeeded.
INFO : [06/04/2010 11:22:24:826]
[EvaluateURLsNoFail ]: Custom Action completed
with return code: '0'
DEBUG: Error 2769: Custom Action WEBCA_EvaluateURLsNoFail did not
close 2 MSIHANDLEs.
The installer has encountered an unexpected error installing this
package. This may indicate a problem with this package. The error code
is 2769. The arguments are: WEBCA_EvaluateURLsNoFail, 2,
Action ended 11:22:24: WEBCA_EvaluateURLsNoFail. Return value 1.
Action 11:22:24: WEBCA_SetTARGETAPPPOOL.
Action start 11:22:24: WEBCA_SetTARGETAPPPOOL.
INFO : [06/04/2010 11:22:24:861]
[SetTARGETAPPPOOL ]: Custom Action is
starting...
INFO : [06/04/2010 11:22:24:862]
[SetTARGETAPPPOOL ]: CoInitializeEx - COM
initialization Apartment Threaded...
INFO : [06/04/2010 11:22:24:866]
[SetTARGETAPPPOOL ]: MsiSetPropertyW - Setting
Property Value...
INFO : [06/04/2010 11:22:24:866]
[SetTARGETAPPPOOL ]: MsiSetPropertyW - Setting
property 'TARGETAPPPOOL' to 'DefaultAppPool'.
INFO : [06/04/2010 11:22:24:866]
[SetTARGETAPPPOOL ]: Custom Action succeeded.
INFO : [06/04/2010 11:22:24:867]
[SetTARGETAPPPOOL ]: Custom Action completed
with return code: '0'
Action ended 11:22:24: WEBCA_SetTARGETAPPPOOL. Return value 1.
Action 11:22:24: CostInitialize. Computing space requirements
Action start 11:22:24: CostInitialize.
Action ended 11:22:24: CostInitialize. Return value 1.
Action 11:22:24: FileCost. Computing space requirements
Action start 11:22:24: FileCost.
Action ended 11:22:24: FileCost. Return value 1.
Action 11:22:24: IsolateComponents.
Action start 11:22:24: IsolateComponents.
Action ended 11:22:24: IsolateComponents. Return value 0.
Action 11:22:24: WEBCA_GatherAppPools.
Action start 11:22:24: WEBCA_GatherAppPools.
INFO : [06/04/2010 11:22:24:909]
[GatherAppPools ]: Custom Action is
starting...
INFO : [06/04/2010 11:22:24:909]
[GatherAppPools ]: CoInitializeEx - COM
initialization Apartment Threaded...
ERROR : [06/04/2010 11:22:24:914]
[GatherAppPools ]: FAILED: -2147023281
ERROR : [06/04/2010 11:22:24:914]
[GatherAppPools ]: Custom Action failed with
code: '1615'
INFO : [06/04/2010 11:22:24:915]
[GatherAppPools ]: Custom Action completed
with return code: '1615'
Action ended 11:22:24: WEBCA_GatherAppPools. Return value 3.
Action 11:22:24: FatalErrorForm.
Action start 11:22:24: 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:22:24: FatalErrorForm. Dialog created
Action ended 11:22:27: FatalErrorForm. Return value 1.
Action ended 11:22:27: INSTALL. Return value 3.
Property(C): TARGETDIR = C:\inetpub\wwwroot\ENH\ACEManagement_Setup
Property(C): SourceDir = C:\Users\chardie\Documents\Visual Studio
2008\Projects\ACEManagement (2)\ACEManagement_Setup\Debug\
Property(C): TARGETVDIR = ACEManagement_Setup
Property(C): IISVERSION = #7
Property(C): UpgradeCode = {5661ECE9-E678-4F34-9438-41957B513869}
Property(C): ProductName = ACEManagement_Setup
Property(C): ProductCode = {26746874-4FF8-4D54-A017-46DAA482CB94}
Property(C): ProductVersion = 1.0.0
Property(C): Manufacturer = Microsoft
Property(C): ARPCONTACT = Microsoft
Property(C): ProductLanguage = 1033
Property(C): ALLUSERS = 1
Property(C): TARGETASPNETVERSION = 2.0.50727.0
Property(C): SecureCustomProperties = NEWERPRODUCTFOUND
Property(C): RedirectedDllSupport = 2
Property(C): VersionNT = 600
Property(C): VSDNETURLMSG = 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?
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 [1]. 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): VsdAppPoolsCombo = TARGETAPPPOOL
Property(C): VsdSiteCombo = TARGETSITE
Property(C): MaintenanceForm_Action = Repair
Property(C): AdminMaintenanceForm_Action = Repair
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): TARGETSITE = /LM/W3SVC/1
Property(C): TARGETAPPPOOL = DefaultAppPool
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:\msi.log
Property(C): PackageCode = {0E05CEE8-171A-4178-A319-9E0B5C603FC3}
Property(C): ProductState = -1
Property(C): PackagecodeChanging = 1
Property(C): CURRENTDIRECTORY = C:\Program Files (x86)\Microsoft
Visual Studio 9.0\VC
Property(C): CLIENTUILEVEL = 0
Property(C): CLIENTPROCESSID = 5792
Property(C): VersionDatabase = 200
Property(C): VersionMsi = 4.05
Property(C): VersionNT64 = 600
Property(C): WindowsBuild = 6002
Property(C): ServicePackLevel = 2
Property(C): ServicePackLevelMinor = 0
Property(C): MsiNTProductType = 1
Property(C): WindowsFolder = C:\Windows\
Property(C): WindowsVolume = C:\
Property(C): System64Folder = C:\Windows\system32\
Property(C): SystemFolder = C:\Windows\SysWOW64\
Property(C): RemoteAdminTS = 1
Property(C): TempFolder = C:\Users\chardie\AppData\Local\Temp\
Property(C): ProgramFilesFolder = C:\Program Files (x86)\
Property(C): CommonFilesFolder = C:\Program Files (x86)\Common Files\
Property(C): ProgramFiles64Folder = C:\Program Files\
Property(C): CommonFiles64Folder = C:\Program Files\Common Files\
Property(C): AppDataFolder = C:\Users\chardie\AppData\Roaming\
Property(C): FavoritesFolder = C:\Users\chardie\Favorites\
Property(C): NetHoodFolder = C:\Users\chardie\AppData\Roaming\Microsoft
\Windows\Network Shortcuts\
Property(C): PersonalFolder = C:\Users\chardie\Documents\
Property(C): PrintHoodFolder = C:\Users\chardie\AppData\Roaming
\Microsoft\Windows\Printer Shortcuts\
Property(C): RecentFolder = C:\Users\chardie\AppData\Roaming\Microsoft
\Windows\Recent\
Property(C): SendToFolder = C:\Users\chardie\AppData\Roaming\Microsoft
\Windows\SendTo\
Property(C): TemplateFolder = C:\ProgramData\Microsoft\Windows
\Templates\
Property(C): CommonAppDataFolder = C:\ProgramData\
Property(C): LocalAppDataFolder = C:\Users\chardie\AppData\Local\
Property(C): MyPicturesFolder = C:\Users\chardie\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): ProgramMenuFolder = C:\ProgramData\Microsoft\Windows
\Start Menu\Programs\
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): MsiAMD64 = 6
Property(C): Msix64 = 6
Property(C): Intel = 6
Property(C): PhysicalMemory = 8125
Property(C): VirtualMemory = 13820
Property(C): AdminUser = 1
Property(C): LogonUser = chardie
Property(C): UserSID = S-1-5-21-3171119891-692808357-609467322-1728
Property(C): UserLanguageID = 1033
Property(C): ComputerName = SJDESK126
Property(C): SystemLanguageID = 1033
Property(C): ScreenX = 1920
Property(C): ScreenY = 1080
Property(C): CaptionHeight = 20
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:22:27
Property(C): Date = 6/4/2010
Property(C): MsiNetAssemblySupport = 2.0.50727.4016
Property(C): MsiWin32AssemblySupport = 6.0.6001.18000
Property(C): MsiRunningElevated = 1
Property(C): Privileged = 1
Property(C): USERNAME = Alfred
Property(C): DATABASE = C:\Users\chardie\AppData\Local\Temp\16abb9.msi
Property(C): OriginalDatabase = C:\Users\chardie\Documents\Visual
Studio 2008\Projects\ACEManagement (2)\ACEManagement_Setup\Debug
\ACEManagement_Setup.msi
Property(C): SOURCEDIR = C:\Users\chardie\Documents\Visual Studio
2008\Projects\ACEManagement (2)\ACEManagement_Setup\Debug\
Property(C): VersionHandler = 4.05
Property(C): UILevel = 5
Property(C): ACTION = INSTALL
Property(C): EXECUTEACTION = INSTALL
Property(C): ROOTDRIVE = C:\
Property(C): CostingComplete = 0
=== Logging stopped: 6/4/2010 11:22:27 ===
MSI (c) (A0:E4) [11:22:27:360]: Product: ACEManagement_Setup --
Installation failed.

MSI (c) (A0:E4) [11:22:27:360]: Windows Installer installed the
product. Product Name: ACEManagement_Setup. Product Version: 1.0.0.
Product Language: 1033. Installation success or error status: 1603.