Sorting it all Out Michael Kaplan's random stuff of dubious value Be sure to read the disclaimer here first!
The question that Eiji asked me was simple enough:
Do you know the apploc version that supports Vista? I got the question from Internal user (who needs it for Vista selfhosting on en-us and run Japanese ANSI apps with en system locale).I tried the existing apploc on Vista, but the installation failed with unknown error. And, in my opinion, the situation has not been changed since XP/WS03, I think we need the support for Vista.
Of course my first instinct in such situations is to scream Use Unicode! but I figured I should contain myself. So I stopped for a moment.
And then I thought about the issue that came up with Keyboards under LUA where an MSKLC-created install could not be installed on Vista unless it was run from an elevated command prompt....
So I tried the elevated command prompt in this new scenario and yes, App Locale (AppLocale) installed just fine. And I did my typical quick test (running Notepad with a Japanese system locale, typing the Hiragana vowels:
あいうえお
saving the file, and then opening it up from Explorer and seeing the text showing up as:
‚ ‚¢‚¤‚¦‚¨
but then looking correct again if I open it with the "Japanese'd" Notepad provided by App Locale shortcut.
So it looks to me like App Locale works fine under Vista. You just need to the right permissions to be installing it. :-)
Note that as Heath Stewart pointed out here and Robert Flaming pointed out here, an install program with a more conventional name like SETUP.EXE will try to be elevated all on its own, for backward compatibility, with the thousands of other installers that came before it (and without needing manifests or other adjuncts). So you can think of the programs that hit this problem as a much less common scenario of ruggedly independent projects that can't use ordinary and accepted names for their installers....
This may even inspire a decent idea for the next release of MSKLC -- adding a bootstrap program called setup.exe to start things up and work around the whole Keyboards under LUA issue simply? :-)
This post brought to you by ಌ (U+0c8c, a.k.a. KANNADA LETTER VOCALIC L)
Regarding naming things setup.exe to get elevation:
Please don't do that. If you want your setup.exe to elevate every time, then USE A MANIFEST. InstallDetection can be turned off and then you look stupid.
As for AppLocale, I assume this is an instance of a misauthored MSI.
Hmmm.... because the info on this is so widely available and intuitive that I would know how to do it instantly, right? :-)
j/k
From time to time it is nice to see how some of the search engines are doing at their job of helping
PingBack from http://zechs.dyndns.org/wordpress/?p=199
I've tried to run apploc.msi on the elevated command prompt but it still won't install. If you could, please include step-by-step instrustions.
Are you an admin on the box? What is the error you get?
You should be able to just run it directly from the elevated command prompt....
I've tried different ways and for some of them, the installation remains incomplete, and for others, it can't find it, and a few others it just gives me a message saying it can't run a prgram needed to finish installing it.
There is only one way to run it:
And that is it. I just tried it again on another machine and ut worked for me a moment ago just as it did when I first wrote this post....
I ran the elevated command prompt and I had already saved the file under the (C:) drive. In the command prompt, I typed in C:\apploc.msi, and it starts the installation, but then a message comes up saying the file maybe unsafe and it cancels the installation.
That sounds like group policy stuff -- most people get the warning that files from the Internet my not be safe but they give you the choice to allow it anyway. Does it happen if the file is somewhere a bit less protected than the root drive?
This has nothing to do with AppLocale -- this is policy on the machine.
I've tried it on a less protected area but it still says the file is unsafe and will not install it.
That error has nothing to do with AppLocale, as I mentioned. You can try looking at file properties to see if there is some way to claim it is "safe", maybe.
I've gone through the file properties and I could not find a way to make it "safe". Although the installer is listed in my program list, it does not appear as a file anyway, except for the installer.
In XP the text that shows up is: "Security: This file came from another computer and might be blocked to help protect this computer".
It has an Unlock button next to it, and group policy can disallow the ability to unblock if they want to. That is honestly what it sounds like is happening here....
That message came up last night but I clicked "unblock" and it still does not work.