I believe that the operation will complete, but it may take some time and I cannot display a progress bar when compact runs (it's a console exe).
It might be unnecessary though to compact all the drive, I think it is worth tying to limit the compact scope:
=== modified file 'src/wubi/backends/win32/backend.py' (properties changed: -x to +x) --- src/wubi/backends/win32/backend.py 2009-03-03 01:41:09 +0000 +++ src/wubi/backends/win32/backend.py 2009-03-12 11:28:06 +0000 @@ -95,8 +95,8 @@ self.info.icon = join_path(self.info.target_dir, self.info.distro.name + '.ico')
def uncompress_files(self, associated_task): - command1 = ['compact', join_path(self.info.target_dir), '/U', '/S', '/A', '/F'] - command2 = ['compact', join_path(self.info.target_dir,'*.*'), '/U', '/S', '/A', '/F'] + command1 = ['compact', join_path(self.info.install_boot_dir), '/U', '/S', '/A', '/F'] + command2 = ['compact', join_path(self.info.install_boot_dir,'*.*'), '/U', '/S', '/A', '/F'] for command in [command1,command2]: log.debug(" ".join(command)) try:
I believe that the operation will complete, but it may take some time and I cannot display a progress bar when compact runs (it's a console exe).
It might be unnecessary though to compact all the drive, I think it is worth tying to limit the compact scope:
=== modified file 'src/wubi/ backends/ win32/backend. py' (properties changed: -x to +x) backends/ win32/backend. py 2009-03-03 01:41:09 +0000 backends/ win32/backend. py 2009-03-12 11:28:06 +0000
self. info.icon = join_path( self.info. target_ dir, self.info. distro. name + '.ico')
--- src/wubi/
+++ src/wubi/
@@ -95,8 +95,8 @@
def uncompress_ files(self, associated_task): self.info. target_ dir), '/U', '/S', '/A', '/F'] self.info. target_ dir,'*. *'), '/U', '/S', '/A', '/F'] self.info. install_ boot_dir) , '/U', '/S', '/A', '/F'] self.info. install_ boot_dir, '*.*'), '/U', '/S', '/A', '/F'] command2] :
log. debug(" ".join(command))
- command1 = ['compact', join_path(
- command2 = ['compact', join_path(
+ command1 = ['compact', join_path(
+ command2 = ['compact', join_path(
for command in [command1,
try: