Ticket #117 (closed defect: invalid)

Opened 9 years ago

Last modified 9 years ago

Can't install on Win 7

Reported by: s15199d Owned by: alamaison
Priority: major (affects peripheral workflow) Milestone:
Component: host folder Version: 0.4.6
Keywords: Cc: bhudson@chiefsupply.com

Description

I tried 4.0.1 and 4.0.6 neither one seemed to successfully install.

I tried rebooting, but there's no icon to click on, and there's no *.exe to launch from c:\program files\swish

The tool sounds exactly like what I'm looking for. I hope you can the installer fixed.

Attachments

swish-0.4.7.msi Download (2.8 MB) - added by alamaison 9 years ago.
Debugging version of Swish with message boxes
swish-0.4.8.msi Download (2.8 MB) - added by alamaison 9 years ago.
Folder view debug
swish-0.4.9.msi Download (2.8 MB) - added by alamaison 9 years ago.
Second time lucky?
swish-0.4.10.msi Download (2.8 MB) - added by alamaison 9 years ago.
Third time lucky

Change History

comment:1 in reply to: ↑ description Changed 9 years ago by alamaison

Replying to s15199d:

I tried rebooting, but there's no icon to click on, and there's no *.exe to launch from c:\program files\swish

Swish is not an executable program, it's a Windows Explorer plugin. Have you looked in 'Computer'? There should be a 'Swish' icon in the 'Other' category.

comment:2 follow-up: ↓ 3 Changed 9 years ago by alamaison

  • Status changed from new to accepted

I found the icon, but when I double-click it, nothing happens.

Hmmm. That's not good. It probably means the Swish DLLs aren't registered properly. Can you try registering them manually. To do this, open a command-line window as Administrator and change to Program Files\Swish. Then type regsvr32 provider-com_dll.dll. If this works, try using Swish to connect to your server again. If not, do regsvr32 interfaces_dll.dll and finally regsvr32 shell_folder-com_dll.dll.

comment:3 in reply to: ↑ 2 Changed 9 years ago by alamaison

I registered all 3 dll's. After registering each one I tested Swish, and each time I got no joy.

I restarted my machine after registering all 3 dll's. Still no joy.

Next we need to look in the Registry. Can you load up regedit and confirm that the following key exists: Software\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{b816a83a-5022-11dc-9153-0090f5284f85}

comment:4 follow-up: ↓ 5 Changed 9 years ago by anonymous

Software\Microsoft\Windows\CurrentVersion?\Explorer\MyComputer?\NameSpace?\{b816a83a-5022-11dc-9153-0090f5284f85}

I do not see a MyComputer? tree.

comment:5 in reply to: ↑ 4 Changed 9 years ago by alamaison

Replying to anonymous:

Software\Microsoft\Windows\CurrentVersion?\Explorer\MyComputer?\NameSpace?\{b816a83a-5022-11dc-9153-0090f5284f85}

I do not see a MyComputer? tree.

Whoops, sorry. I ommitted the start of the key so you're probably looking in the wrong hive. The hive you need is HKLM so the key we're looking for is: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{b816a83a-5022-11dc-9153-0090f5284f85}

comment:6 follow-up: ↓ 7 Changed 9 years ago by anonymous

Sorry yea, I was looking in current user.

The key does exist. Type = REG_SZ | Data = Swish

comment:7 in reply to: ↑ 6 Changed 9 years ago by alamaison

Replying to anonymous:

Sorry yea, I was looking in current user.

The key does exist. Type = REG_SZ | Data = Swish

Ok, the next link in the chain is to check there is a corresponding entry in HKEY_CLASSES_ROOT\CLSID\{b816a83a-5022-11dc-9153-0090f5284f85}.

If there is, I'm suspicious of the key's attributes as the Swish entry in the screenshot you sent me had the wrong icon (yes, even allowing for your theme). It should have the network drive icon, not the local disk icon. Can you list the contents of that key? I.e. all the name-value pairs that appear under it.

comment:8 follow-up: ↓ 9 Changed 9 years ago by anonymous

(Default) | REG_SZ | Swish

AppID | REG_SZ | {b816a83a-5022-11dc-9153-0090f5284f85}

InfoTip? | REG_SZ | Remote file-system access via SFTP

TileInfo? | REG_SZ | prop:{28636AA6-953D-11D2-B5D6-00C04FD918D0} 5;{b816a850-5022-11dc-9153-0090f5284f85} 2;{E3E0584C-B788-4A5A-BB20-7F5A44C9ACDD} 7

comment:9 in reply to: ↑ 8 Changed 9 years ago by alamaison

Replying to anonymous:

(Default) | REG_SZ | Swish

AppID | REG_SZ | {b816a83a-5022-11dc-9153-0090f5284f85}

InfoTip? | REG_SZ | Remote file-system access via SFTP

TileInfo? | REG_SZ | prop:{28636AA6-953D-11D2-B5D6-00C04FD918D0} 5;{b816a850-5022-11dc-9153-0090f5284f85} 2;{E3E0584C-B788-4A5A-BB20-7F5A44C9ACDD} 7

That all looks good. Does this key have subkeys? If so, do they match this:

DefaultIcon:
  (default): shell32.dll,9
InprocServer:
  (default): <the path to shell_folder-com_dll.dll on your system>
  ThreadingModel: Apartment
ProgID:
  (default): Swish.HostFolder.1
ShellFolder:
  Attributes: 0xa0000000 (2684354560)
TypeLib:
  (default): {B816A838-5022-11DC-9153-0090F5284F85}
VersionIndependentProgID:
  (default): Swish.HostFolder

comment:10 Changed 9 years ago by anonymous

All of those key value pairs are present.

comment:11 Changed 9 years ago by alamaison

So, just to confirm, when you double-click on the Swish icon, nothing happens? No error messages, no beeps, nothing?

If you right click on the icon, do you get a menu?
Does the menu have an open option?
Does it work if you click it?

Is this Windows 7 32 or 64 bit?

comment:12 Changed 9 years ago by anonymous

In the right pane of windows explorer, Right-click options = (Open, Open in New Window, Create Shortcut)

In the left pane of windows explorer, Right-click options = (Expand, Open in New Window)

When I click expand or open nothing happens. No error messages. No sound.

I don't see anything in even viewer either.

Win 7 32-bit

comment:13 Changed 9 years ago by alamaison

This is going to require something different. I'll have to create a special build for you that pops up messages boxes which will show us exactly how far it gets before failing. Please bear with me.

comment:14 Changed 9 years ago by warbird

Hi,

I'am having the same issue with two small diffrences.

  • the swish icon under "computer" looks like a network device -> green network kabelsymbol under an hadrdrive icon
  • the second time I clicked on the icon i was asked if swish should check for updates, what i agreed two
  • But when I click on the icon - nothing happens, it only shows nothing ä looks like an empty folder. I cannot get into some kind of configuration menu or so.

RightClick? on the icon only offers "open" and "open in a new window"

I read the bug and i can confirm, that the regedit data is the same as described above.

My operating system is windows 7 prof. 64 Bit -> german version and I tried to use swish 0.4.6

comment:15 Changed 9 years ago by warbird

Sorry, I'm such an idiot :(

I didn't see the "Add Conection" field on the top of the explorer window.

Please forget what I posted, it's working fine now.

Thanks for the great program and sorry for my mistake.

I hope the "bug opener" will find a solution two, even if it isn't as easy as mine was.

Changed 9 years ago by alamaison

Debugging version of Swish with message boxes

comment:16 Changed 9 years ago by alamaison

I've attached a version of Swish that will display lots of message boxes if the DLL is being accessed. Can you install this and then post here what some of the message boxes say. The should start appearing the moment you open Computer in Windows Explorer. A word of warning: this will likely hang Explorer at some point so be prepared to kill it using task manager.

A tip for copying the message box text: just press Ctrl+C.

comment:17 Changed 9 years ago by anonymous

It looked like it was in an infinite loop of these 2 pop-ups until my Explorer crashed. Thanks for your help!


Error


DllGetClassObject?(CLSID=b816a83a-5022-11dc-9153-0090f5284f85 REFIID=00000001-0000-0000-c000-000000000046) called


OK



Error


CHostFolder created


OK


Changed 9 years ago by alamaison

Folder view debug

comment:18 Changed 9 years ago by alamaison

How about the new one? Does it display anything when you double-click on Swish?

comment:19 Changed 9 years ago by anonymous

Explorer crashed b/c of all of the popups. I didn't get a chance to test swish. I had to uninstall swish, to get my win explorer to work.

comment:20 Changed 9 years ago by alamaison

The new version should only display one popup.

comment:21 follow-up: ↓ 22 Changed 9 years ago by anonymous

I see the same thing now, that I saw before. Just a TON of popup boxes about CH host folder.

Changed 9 years ago by alamaison

Second time lucky?

comment:22 in reply to: ↑ 21 Changed 9 years ago by alamaison

Replying to anonymous:

I see the same thing now, that I saw before. Just a TON of popup boxes about CH host folder.

Oh dear. Let's try that again. How about the new attachment: 0.4.9?

comment:23 Changed 9 years ago by anonymous

I couldn't tell a difference between 0.4.8 and 0.4.9

comment:24 follow-up: ↓ 26 Changed 9 years ago by alamaison

Are you restarting between installations? Sometimes Explorer 'hangs on' to the old executable and won't load the new code until you restart.

comment:25 Changed 9 years ago by anonymous

I uninstalled between each. And I restarted between each.

comment:26 in reply to: ↑ 24 Changed 9 years ago by alamaison

Replying to alamaison:

Are you restarting between installations? Sometimes Explorer 'hangs on' to the old executable and won't load the new code until you restart.

Sorry about this. Something must have gone wrong with the build process. I will do a complete from-scratch build later today so there is no doubt about what binary is in the installer.

Changed 9 years ago by alamaison

Third time lucky

comment:27 Changed 9 years ago by alamaison

This latest one definitely doesn't inlude the code that displays loads of message boxes. It should display one or, at most, a handful.

comment:28 follow-up: ↓ 29 Changed 9 years ago by alamaison

Any luck with version 0.4.10?

comment:29 in reply to: ↑ 28 ; follow-up: ↓ 30 Changed 9 years ago by anonymous

Replying to alamaison:

Any luck with version 0.4.10?

Got a popup about "shell view requested". But, it's still not working. I see the SWISH drive in Win Explorer, but I still do not have the option to add an SFTP connection.

Any way to add the "Add SFTP Connection" to the context menu of the SWISH drive?

comment:30 in reply to: ↑ 29 ; follow-up: ↓ 31 Changed 9 years ago by alamaison

Replying to anonymous:

Replying to alamaison:

Any luck with version 0.4.10?

Got a popup about "shell view requested".

Good. It's got a significant way into the Swish code. The interesting question is why, in that case, it isn't showing a Swish error message when it fails.

But, it's still not working. I see the SWISH drive in Win Explorer, but I still do not have the option to add an SFTP connection.

I didn't expect it to. None of the changes I made were intended to fix the problem, just to diagnose it. I'll have to make a new build with some more diagnostic code to narrow it down further. Thanks for you patience and please bear with me.

Any way to add the "Add SFTP Connection" to the context menu of the SWISH drive?

Possibly, but it won't fix the current problem. Unless you're saying that, when you double-click the Swish icon, you are shown an empty folder. If you are, this is intended behaviour. Can you confirm that you don't get an empty folder?

comment:31 in reply to: ↑ 30 ; follow-up: ↓ 32 Changed 9 years ago by anonymous

Replying to alamaison:

Replying to anonymous:

Replying to alamaison:

Any luck with version 0.4.10?

Got a popup about "shell view requested".

Good. It's got a significant way into the Swish code. The interesting question is why, in that case, it isn't showing a Swish error message when it fails.

But, it's still not working. I see the SWISH drive in Win Explorer, but I still do not have the option to add an SFTP connection.

I didn't expect it to. None of the changes I made were intended to fix the problem, just to diagnose it. I'll have to make a new build with some more diagnostic code to narrow it down further. Thanks for you patience and please bear with me.

Any way to add the "Add SFTP Connection" to the context menu of the SWISH drive?

Possibly, but it won't fix the current problem. Unless you're saying that, when you double-click the Swish icon, you are shown an empty folder. If you are, this is intended behaviour. Can you confirm that you don't get an empty folder?

Per the screenshot I sent to you via email, when I open SWISH I see a blank explorer pane. If that's an "empty folder" then yes, I see an empty folder. But, I do not see any means to "Add SFTP Connection".

As a fellow developer, I'm glad to help troubleshoot!

comment:32 in reply to: ↑ 31 ; follow-up: ↓ 33 Changed 9 years ago by alamaison

  • Priority changed from critical to major
  • Component changed from installer to host folder

Replying to anonymous:

Any way to add the "Add SFTP Connection" to the context menu of the SWISH drive?

Possibly, but it won't fix the current problem. Unless you're saying that, when you double-click the Swish icon, you are shown an empty folder. If you are, this is intended behaviour. Can you confirm that you don't get an empty folder?

Per the screenshot I sent to you via email, when I open SWISH I see a blank explorer pane. If that's an "empty folder" then yes, I see an empty folder. But, I do not see any means to "Add SFTP Connection".

As a fellow developer, I'm glad to help troubleshoot!

Oh!! I didn't realise that the blank Window in the screenshot was the Swish screenshot. This has something to do with the theme you have running. I don't understand what your theme is doing, even the title bar is missing! But take a look at this screen-shot that shows how is should appear on Windows Vista/7:

swish-0.4.0-win7-small.png

There is a command bar along the top which I wasn't even aware you could choose to hide. If the command bar is missing, you could try pressing Alt to bring up the menu which, similarly, should give you an option to create a new connection (IIRC, under the Tools menu).

I'm very keen to know more about your Explorer setup. For instance, how do you normally access Explorer commands? Only via the right-click menu? I believe this is similar to the problems people are experiencing in #115.

comment:33 in reply to: ↑ 32 ; follow-up: ↓ 34 Changed 9 years ago by anonymous

Replying to alamaison:

Replying to anonymous:

Any way to add the "Add SFTP Connection" to the context menu of the SWISH drive?

Possibly, but it won't fix the current problem. Unless you're saying that, when you double-click the Swish icon, you are shown an empty folder. If you are, this is intended behaviour. Can you confirm that you don't get an empty folder?

Per the screenshot I sent to you via email, when I open SWISH I see a blank explorer pane. If that's an "empty folder" then yes, I see an empty folder. But, I do not see any means to "Add SFTP Connection".

As a fellow developer, I'm glad to help troubleshoot!

Oh!! I didn't realise that the blank Window in the screenshot was the Swish screenshot. This has something to do with the theme you have running. I don't understand what your theme is doing, even the title bar is missing! But take a look at this screen-shot that shows how is should appear on Windows Vista/7:

swish-0.4.0-win7-small.png

There is a command bar along the top which I wasn't even aware you could choose to hide. If the command bar is missing, you could try pressing Alt to bring up the menu which, similarly, should give you an option to create a new connection (IIRC, under the Tools menu).

I'm very keen to know more about your Explorer setup. For instance, how do you normally access Explorer commands? Only via the right-click menu? I believe this is similar to the problems people are experiencing in #115.

We've found life...Alt is what I use to bring up the Menu. Of which Tools is a member. Of which "Add SFTP Connection" is a member.

A question about how it works. It timed out trying to connect to my FTP. I was surprised that it did not ask me for a password. Does swish support FTPS connection or only SFTP?

Thank you for your patience and persistence.

comment:34 in reply to: ↑ 33 ; follow-up: ↓ 35 Changed 9 years ago by alamaison

Replying to anonymous:

We've found life...Alt is what I use to bring up the Menu. Of which Tools is a member. Of which "Add SFTP Connection" is a member.

How do you normally execute Explorer commands?

A question about how it works. It timed out trying to connect to my FTP. I was surprised that it did not ask me for a password. Does swish support FTPS connection or only SFTP?

Swish is only for SFTP. Windows already has an FTP client. I'm not sure if the built-in client supports FTPS but, if not, I'd consider it for addition to Swish.

comment:35 in reply to: ↑ 34 Changed 9 years ago by anonymous

Replying to alamaison:

Replying to anonymous:

We've found life...Alt is what I use to bring up the Menu. Of which Tools is a member. Of which "Add SFTP Connection" is a member.

How do you normally execute Explorer commands?

A question about how it works. It timed out trying to connect to my FTP. I was surprised that it did not ask me for a password. Does swish support FTPS connection or only SFTP?

Swish is only for SFTP. Windows already has an FTP client. I'm not sure if the built-in client supports FTPS but, if not, I'd consider it for addition to Swish.

I'm pretty sure FTPS is not natively supported by Win Explorer.

Thanks again for sticking with me until we figured it out!

comment:36 Changed 9 years ago by alamaison

  • Status changed from accepted to closed
  • Resolution set to invalid
Note: See TracTickets for help on using tickets.