ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > N.A.N.Y. 2011

NANY 2011 Release: JottiQ

<< < (14/40) > >>

Ath:
Just tested JottiQ 0.9.5 on Vista 32 bit.
Guess Vista doesn't like the shell extension, because it's not showing in the context menu of Explorer, or at least not for the files I tried it with. I'll do an uninstall/reinstall to see if I accidentally unchecked that option. [...] And that didn't help a bit, neither when checking the 'Explorer Integration affects All Users' option, so that might need a fix. Vista's UAC is turned off, btw.
This worked fine on 2 of my Win7 x64 setups, one with UAC in it's default setting and one with UAC turned off.

Ath:
Also tested JottiQ 0.9.5 on WinXP 32 bit, but it has the same issue with the context menu as Vista 32 bit has, so it's most likely that that little bugger (the shellextension that is) doesn't behave as it should.
The advantage is that it doesn't want to reboot after a successful uninstall :D

kyrathaba:
Nice idea. Not sure how to implement it though, as .NET gives such relatively low-tech things little importance, and as might be imagined, I don't have 24/4 to work on it the coming few days. I gotta scramble as-is to get JottiQ ready for its final NANY v1.0.0 release.
--- End quote ---

I can't remember the exact namespace now, but I've easily implemented detection of all running processes in past projects - just a few lines of code.  Must be easily found on search engines, or I wouldn't have been able to do it ;)

worstje:
worstje, to fix number 2 on your Known Issues list, have a look at AppMutex in the fine Inno Setup helpfile. There's also the CheckForMutexes support function, might you want to check it from some Code.
And here is a way to create it in C# (for if you didn't know).
-Ath (December 27, 2010, 02:26 PM)
--- End quote ---

Yeah I know of it. I already use OpenThreadWaitHandle or something along that name (Winapi: CreateEvent) for my single-instance functionality, but it doesn't appear as if Inno supports checking for such a thing... which is a rather annoying thing, I might say. I might have to add a mutex too, but then I'll have '3' things meant for single instance stuff: Mutex, CreateEvent and the COM IDropTarget local-server I use to handle the shell extension.

Just tested JottiQ 0.9.5 on Vista 32 bit.
Guess Vista doesn't like the shell extension, because it's not showing in the context menu of Explorer, or at least not for the files I tried it with. I'll do an uninstall/reinstall to see if I accidentally unchecked that option. [...] And that didn't help a bit, neither when checking the 'Explorer Integration affects All Users' option, so that might need a fix. Vista's UAC is turned off, btw.
This worked fine on 2 of my Win7 x64 setups, one with UAC in it's default setting and one with UAC turned off.
-Ath (December 27, 2010, 04:50 PM)
--- End quote ---

Finally, a Vista user! I've been trying like crazy to have someone test on Vista. :) I am surprised it does not work on Vista - it works on XP, it works on 7, you'd expect it to deal fine with the halfway point. Is it the 32-bit or 64-bit variety, or had you got the ability to try on both OSes?

If you run JottiQ and use the Settings window to enable/disable the shell extension, does it add a shield to the OK button? (Or when clicking OK ask for elevation for that matter.) If it does, you are using it for the entire machine. For now though, let's avoid any and all UAC issues and focus on the 'explorer integration affects all users' setting being turned OFF as it is by default. (If you simply extract the .7z archive, that is the 'mode' you end up using.)

Assuming you can't get the shell extension to activate through the Settings screen either, open up a dosbox, browse to the JottiQ directory, and type:


--- ---regsvr32.exe JQcm32.dll
(If you've got 64-bit, you'll want to do the same for the other dll file as well.) It will pop up that it succeeded, or it will throw an error in your face. If it does the latter, I'd be very interested in the error in question.

Also tested JottiQ 0.9.5 on WinXP 32 bit, but it has the same issue with the context menu as Vista 32 bit has, so it's most likely that that little bugger (the shellextension that is) doesn't behave as it should.
The advantage is that it doesn't want to reboot after a successful uninstall :D
-Ath (December 27, 2010, 05:15 PM)
--- End quote ---

The shell extension _should_ work on XP. :( I've tested it to death myself. Can you explain what you did exactly? Maybe something else went wrong somehow.

I can't remember the exact namespace now, but I've easily implemented detection of all running processes in past projects - just a few lines of code.  Must be easily found on search engines, or I wouldn't have been able to do it ;)
-kyrathaba (December 27, 2010, 06:04 PM)
--- End quote ---

I'll look into it then; if it is as simple as you say it is worth digging into. Some things I expected to be simple as pie ended up taking full days though, so you can see why I am hesitant in committing to the idea.

Ath:
Hm, tested on Vista (x86) again, but still no joy with the context menu. Even the regsvr32 jqcm32.dll doesn;'t work: 'Can't load module JQcm32.dll' (but then in Dutch: "Kan module 'JQcm32.dll" niet laden.").
One peculiarity maybe: The Win7 x64 systems I tested JottiQ on, both have VS2010 installed, and on both WinXP and Vista I didn't have even .NET 4.0 installed until it wouldn't load JottiQ so I had to install that using Windows Update. I installed the plain 4.0 Client Profile thing, but it might still be missing the VC++ runtime (as you mentioned in a PM).
Also trying to enable this feature from the settings menu doesn't give a shielded OK button and doesn't enable the context menu entry, but seeing that regsvr32 fails explains that I guess.

On the 'single instance' issues, Inno Setup does natively support checking for a Mutex, and with a small add-on dll, can also check for a process name or windows title. Maybe that's enough?

I'll dig up the code to add .NET 4.0 and VC++ runtime to the installer today and post or link it here.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version