Setup fails when user entry contains spaces (now fixed)

Coordinator
Jan 28, 2008 at 5:59 PM
On some (not all) Windows Server 2003 configurations the setup fails with the following error:

Exception occured while initializing the installation:
System.IO.FileNotFoundException: Could not load file or assembly 'file:///C:\WINDOWS\system32\and' or one of its dependencies. The system cannot find the file specified.

The install.log file (in C:\Documents and Settings\jlchereau\Local Settings\Temp\VSDXXXX.tmp where XXXX may vary) includes the following trace:

...
Result of checks for command 'vcredistx86\vcredistx86.exe' is 'Install'
'Visual C++ Runtime Libraries (x86)' RunCheck result: Unknown
Launching Application.
Using MsiInstallProduct with package path 'D:\Downloads\VelodocXP\VelodocXPSetup.msi' and command line ''
MsiInstallProduct returned '1603'

The assembly binding log viewer (fuslogvw.exe) includes the following trace:

      • Assembly Binder Log Entry (28/01/2008 @ 17:39:22) ***

The operation failed.
Bind result: hr = 0x80070002. The system cannot find the file specified.

Assembly manager loaded from: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
Running under executable C:\WINDOWS\system32\MsiExec.exe
--- A detailed error log follows.

=== Pre-bind state information ===
LOG: User = MEMBA\jlchereau
LOG: Where-ref bind. Location = C:\WINDOWS\system32\and
LOG: Appbase = file:///C:/WINDOWS/system32/
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = NULL
Calling assembly : (Unknown).
===
LOG: This bind starts in LoadFrom load context.
WRN: Native image will not be probed in LoadFrom context. Native image will only be probed in default load context, like with Assembly.Load().
LOG: No application configuration file found.
LOG: Using host configuration file: C:\DOCUME~1\JLCHER~1\LOCALS~1\Temp\CFG263A.tmp
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: Attempting download of new URL file:///C:/WINDOWS/system32/and.
LOG: All probing URLs attempted and failed.

C:/WINDOWS/system32/and is not an application file.
This does not seem to affect installations on Windows XP.

This error is being researched and we will post more information soon.
Coordinator
Jan 28, 2008 at 6:29 PM
Edited Jan 28, 2008 at 6:37 PM
Executing msiexec /i VelodocXPSetup.msi /l*v c:\msi.log creates a log file which includes the following:

MSI (s) (20:00) [18:07:45:203]: Executing op: CustomActionSchedule(Action=_15BEEB6A_32BD_443B_A710_BB110DCEEA82.install,ActionType=1025,Source=BinaryData,Target=ManagedInstall,CustomActionData=/installtype=notransaction /action=install /LogFile= /LICKEY= /LICUSR=Me /LICORG=Acme /STRDIR=C:\STORAGE\ /SITE=/LM/W3SVC/1 /VDIR=VelodocXP /WEBDIR=C:\inetpub\wwwroot\VelodocXP\ /HOST=mail.acme.com /FROM=noreply@acme.com /USER=user /PWD=password /LIST=me@acme.com;you@acme.com /CODE=1234 "C:\Program Files\Memba Velodoc XP\Memba.Install.XP.dll" "C:\DOCUME~1\JLCHER~1\LOCALS~1\Temp\CFG264F.tmp")
MSI (s) (20:68) [18:07:45:219]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI2657.tmp, Entrypoint: ManagedInstall
MSI (s) (20!AC) [18:07:45:625]: Note: 1: 2262 2: Error 3: -2147287038
MSI (c) (14:8C) [18:07:45:641]: Note: 1: 2262 2: Error 3: -2147287038
DEBUG: Error 2835: The control ErrorIcon was not found on dialog ErrorDialog
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2835. The arguments are: ErrorIcon, ErrorDialog,
Error 1001. Exception occurred while initializing the installation:
System.IO.FileNotFoundException: Could not load file or assembly 'file:///C:\WINDOWS\system32\and' or one of its dependencies. The system cannot find the file specified..
MSI (s) (20!AC) [18:07:47:844]: Note: 1: 2262 2: Error 3: -2147287038

This reveals that the error occurs when MSI calls the installer class in Memba.Install.XP.dll.
Jan 28, 2008 at 8:14 PM
When I tried to install it, I received the following snippet from the installer log.

DEBUG: Error 2835: The control ErrorIcon was not found on dialog ErrorDialog
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2835. The arguments are: ErrorIcon, ErrorDialog,
Error 1001. Exception occurred while initializing the installation:
System.IO.FileNotFoundException: Could not load file or assembly 'file:///C:\WINDOWS\system32\A' or one of its dependencies. The system cannot find the file specified..
MSI (s) (80!CC) 14:19:29:775: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (80!CC) 14:19:29:775:
MSI (s) (80:34) 14:19:29:775: Leaked MSIHANDLE (164) of type 790531 for thread 1996
MSI (s) (80:34) 14:19:29:775: Note: 1: 2769 2: 15BEEB6A32BD443BA710_BB110DCEEA82.install 3: 1
MSI (s) (80:34) 14:19:29:775: Note: 1: 2262 2: Error 3: -2147287038
DEBUG: Error 2769: Custom Action 15BEEB6A32BD443BA710_BB110DCEEA82.install did not close 1 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: 15BEEB6A32BD443BA710_BB110DCEEA82.install, 1,
Coordinator
Jan 29, 2008 at 11:29 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.