Wubi crashes on installation in Windows Vista/7

Bug #340400 reported by Evan
12
Affects Status Importance Assigned to Milestone
Wubi
Fix Released
Medium
Agostino Russo

Bug Description

Wubi crashes in Windows 7 when trying to copy the uninstaller to the target drive.

Tags: iso-testing

Related branches

Revision history for this message
Evan (ev) wrote :
Revision history for this message
Evan (ev) wrote :
Revision history for this message
Evan (ev) wrote :

Running it as Administrator, as requested, I get further, but it still errors out towards the end.

Revision history for this message
Agostino Russo (ago) wrote :

Evan, for the permission issue, run Wubi as administrator (I will need further info on how to escalate privileges in W7).

For the second log, there is a typo:

src/wubi/backends/common/backend.py, line 448

log.error("CD check failed, but ignoring because CD is %" % subversion)

should be

log.error("CD check failed, but ignoring because CD is %s" % subversion)

On a side note, you might want to review carefully that block of code, since it will trigger a new code path upon final release. The logic is that when you use a pre-release CD, the md5 check will normally fail because that is performed against the latest daily ISO. Let me know if you want to have different logic in there. In 8.10 I was checking the md5 of the squashfs inside the CD before extracting the ISO, here I check the full ISO after extraction, but ignore any error for pre-release stuff.

Revision history for this message
Agostino Russo (ago) wrote :

Fix for the second log is in rev90, will leave the bug open as a reminder about W7 permissions

Changed in wubi:
assignee: nobody → ago
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Evan (ev) wrote :

The permission error occurs in Windows Vista as well, according to bug 341181

Agostino Russo (ago)
Changed in wubi:
importance: Low → Medium
Revision history for this message
Agostino Russo (ago) wrote :

Probably the permission errors can be sorted with the manifest file

http://msdn.microsoft.com/en-us/library/bb756929.aspx

Try to add:

<requestedExecutionLevel level="requireAdministrator" uiAccess="true"/>

inside of src/pylauncher/pylauncher.exe.manifest

Revision history for this message
Agostino Russo (ago) wrote :

=== modified file 'src/pylauncher/pylauncher.exe.manifest'
--- src/pylauncher/pylauncher.exe.manifest 2009-02-28 12:34:33 +0000
+++ src/pylauncher/pylauncher.exe.manifest 2009-03-12 09:16:51 +0000
@@ -5,6 +5,13 @@
   name="application_name"
   type="win32" />
  <description>No description.</description>
+ <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
+ <security>
+ <requestedPrivileges>
+ <requestedExecutionLevel level="requireAdministrator" uiAccess="false"/>
+ </requestedPrivileges>
+ </security>
+ </trustInfo>
  <dependency>
   <dependentAssembly>
    <assemblyIdentity

Agostino Russo (ago)
Changed in wubi:
milestone: none → 9.04
Agostino Russo (ago)
Changed in wubi:
status: Confirmed → Fix Committed
Agostino Russo (ago)
Changed in wubi:
status: Fix Committed → Fix Released
Revision history for this message
Dave Morley (davmor2) wrote :

20090316

This is now installing the windows side of things in vista

tags: added: iso-testing
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.