Hugin 2010.4.0 deinstallation also deletes files it didn't install

Bug #723661 reported by Volker Bartheld
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Hugin
Fix Released
Critical
Unassigned

Bug Description

Affects 2010.4.0 released December 2010 Windows distribution

I have added old binaries in %ProgramFiles%\Hugin\bin070\ and autopano-sift-c.exe in %ProgramFiles%\Hugin\bin\.

After deinstallation the additional directories are gone - together with %ProgramFiles%\Hugin\ itself.

Don't know if this is bug or feature. I, however, would appreciate it if Hugin wouldn't silently delete files it didn't copy during installation time but rather show a notice that not all files were deleted.

On a sidenote: Updating Hugin 0.7.0 with 2010.4.0 results in two deinstallation entries in Start/Settings/Add or Remove Software but overwritten binaries in %ProgramFiles%\Hugin\.

Revision history for this message
Yuv (yuv) wrote :

A proper uninstaller should not remove files it did not install; and should not delete non-empty folders. I don't have access to Windows to confirm. Can any Windows user confirm?

Yuv (yuv)
Changed in hugin:
status: New → Incomplete
tags: added: installer windows
Changed in hugin:
status: Incomplete → Confirmed
Revision history for this message
Yuv (yuv) wrote :

Thank you for confirming, Matthew.

Is it possible to fix this behavior in time for the 2011.0.0 installer?

And does it make sense to fix the 2010.4.0 installer as well?

Changed in hugin:
importance: Undecided → Critical
Revision history for this message
Yuv (yuv) wrote :

Setting to critical status since this will affect 2011.0.0 as well.

Revision history for this message
Matthew Petroff (matthewpetroff) wrote :

After looking at the uninstaller script, I can confirm that the uninstaller simply deletes the folder that Hugin was installed into, a behavior that should not be the case. I will look into fixing the issue when I have time.

Changed in hugin:
status: Confirmed → Fix Committed
tmodes (tmodes)
Changed in hugin:
milestone: none → 2011.0rc1
Yuv (yuv)
Changed in hugin:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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