winapp2.ini: 32-bit architecture vs. 64-bit environment variables

Bug #1301112 reported by Andrew Ziem
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
BleachBit
Fix Released
Medium
Andrew Ziem

Bug Description

Hi. I use PeerBlock and that was added a few months ago in winapp2. CCleaner detects PeerBlock OK on my system but BB doesn't.

[Peerblock*]
LangSecRef=3024
DetectFile=%ProgramFiles%\Peerblock
Default=False
FileKey1=%ProgramFiles%\Peerblock|*.log;History.db;*.bak;cache.p2b

I just contacted by winapp2 about this and apparently CCleaner isn't having this issue. The issue is that BB is not detecting it at all, meaning it is not showing up in the cleaning rules at all. I have PeerBlock installed under the Program Files (not x86) where 64-bit applications are installed under Windows 7.

ROCKNROLLKID

Tags: winapp2..ini
Revision history for this message
ROCKNROLLKID (slinger1410-deactivatedaccount) wrote :

Also, Piriform mentioned this "The interesting bit is that CCleaner corrects internally for programfiles vs programfiles(x86) (as we learned 3½ years ago in this thread).. Try moving it to programfiles(x86) just to see what happens, I guess." I am not sure if BleachBit is capable of that either. x86 for windows users if 32-bit the other on is for 64-bit and my path directory is in 64-bit, so is it possible that BB doesn't detect 64-bit applications for winapp2 entries? Just another thing to look into for future entries. Otherwise, it is probably a wildcard issue and BB needs to add detection for wildcards.

Revision history for this message
Andrew Ziem (ahziem1) wrote :

I'm guessing it's a 32-bit/64-bit issue. After this release, I'll check into it

Andrew Ziem (ahziem1)
summary: - winapp2.ini: peerblock not detected as installed
+ winapp2.ini: peerblock not detected as installed (likely 64-bit issue)
Revision history for this message
Andrew Ziem (ahziem1) wrote :

Confirmed in BleachBit 1.2 on Windows 7 64-bit with PeerBlock 1.2 installed in C:\Program FIles\ which exactly matches %ProgramFiles%\Peerblock.

This does not look like a 64-bit/32-bit issue or wildcard issue because the environment variable matches the actual installation folder.

The section 3024 is Utilities.

summary: - winapp2.ini: peerblock not detected as installed (likely 64-bit issue)
+ winapp2.ini: peerblock not detected as installed
Changed in bleachbit:
assignee: nobody → Andrew Ziem (ahziem1)
status: New → Confirmed
Revision history for this message
Andrew Ziem (ahziem1) wrote :

This is a 64-bit/32-bit issue. On 64-bit Windows the value of %ProgramFiles% depends on the architecture of the process.

From 64-bit process
ProgramFiles=c:\Program Files\

From 32-bit process
ProgramFiles=C:\Program Files (x86)\
ProgramW6432=C:\Program Files\

Changed in bleachbit:
status: Confirmed → In Progress
summary: - winapp2.ini: peerblock not detected as installed
+ winapp2.ini: 32-bit architecture vs. 64-bit environment variables
Andrew Ziem (ahziem1)
tags: added: winapp2..ini
Revision history for this message
Andrew Ziem (ahziem1) wrote :

In Winapp2.ini on 64-bit Windows the single %ProgramFiles% in Detect= and FileKey1= expands to both C:\Program FIles (x86)\ and C:\Program FIles\

Revision history for this message
Andrew Ziem (ahziem1) wrote :
Revision history for this message
Andrew Ziem (ahziem1) wrote :
Changed in bleachbit:
status: In Progress → Fix Committed
Revision history for this message
Andrew Ziem (ahziem1) wrote :

Fixed in BleachBit 1.3 beta, which is released here. Please test.
http://bleachbit.sourceforge.net/news/bleachbit-13-beta

Changed in bleachbit:
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.