This is an old revision of the document!


Vista との互換性

POPFile 0.22.4 (またはそれ以前のバージョン)

Windows Vista には、User Account Control (UAC) と呼ばれるコンピュータへの未承認の変更を防ぐための新機能があります。UAC は、潜在的にコンピュータの操作に影響を与えうるオペレーションやほかのユーザーに影響を与える変更を行う前に権限の確認もしくは、administrator ユーザーのパスワードを必要とします。

Vista はプログラムが administrator 権限を必要とするプログラムかどうかを確認するために、そのプログラムの XML マニフェストを確認します。POPFile 0.22.4 とそれ以前のバージョンは、Windows Vista がリリースされる前に作成されました。つまり、これらのいずれも XML マニフェストファイルはもっていません。

Vista はこれらの古いプログラムを互換性モードで実行します。このモードでは、Vista は必ずしもインストーラーの要求通りのことをするわけではなく、予期せぬことが起こります。たとえば、スタートメニューのショートカットが誤った場所に作成されたりします。POPFile 使用(もしくはアンインストール)するときにこの動作はいくつかの混乱をもたらしますので、これらの古いバージョンを Vista 上で動かすことは推奨されません。

POPFile 0.22.5 のインストーラーは、Vista 用のXML マニフェストファイルを含んでおり、Vista 上で使うことが推奨される最初のバージョンです。改善された 0.22.5 のインストーラーは、Vistaの 通常の アカウントからかんたんに使えるように改善がなされています。

Vista への0.22.5のインストール

From an administrator account

The POPFile 0.22.5 installer and the NSIS-based programs it installs all contain the XML manifest data for Vista so Vista can tell which programs do not need administrator mode. This means all of these programs should work properly when used from an administrator account.

After POPFile has been installed it can be run from a standard account (see Running 0.22.5 on Vista below).

From a standard account

When the installer is started from a standard account, Vista will detect that the installer requires administrator privileges and ask for an administrator password. After the password has been entered the installer will run as if the administrator started it.

This allows the installer to install POPFile in the default folder (which is usually “C:\Program Files\POPFile” on English versions of Vista), create some registry entries and add some Start Menu shortcuts for all users.

However when the second stage of the installer, the “Add POPFile User” wizard, offers to configure POPFile for the current user it will actually configure POPFile for the administrator user and NOT the standard user who started the installer.

Although the wizard's WELCOME page mentions the Windows username it is easy to miss the fact that the “wrong” username is mentioned. Here is a screenshot highlighting the username on the wizard's WELCOME page:

"Add POPFile User" wizard's WELCOME page


When this WELCOME page shows the administrator username the standard user should click the “Cancel” button and then click “Yes” to confirm that they want to exit from the wizard.

To configure POPFile for use by the standard user who started the main installer the “Add POPFile User” wizard should be run. The safest way to do this is to run the adduser.exe program from the main POPFile program folder. The Start Menu has a shortcut that will display the location of this program folder:

Start – All Programs – POPFile – Support – PFI Diagnostic utility (simple)

Once the wizard has configured POPFile, the standard user should be able to use the “Run POPFile” shortcuts in the Start Menu.

Running 0.22.5 on Vista

After POPFile has been installed it can be configured and run from a standard account. To configure POPFile for a new user, use this Start Menu shortcut created by the installer:

Start – All Programs – POPFile – Run POPFile

If POPFile has not been configured for this user the “Add POPFile User” wizard will be launched (otherwise POPFile will be started).

Although POPFile 0.22.5 has some limited multi-user features, it should only be used by one user at a time (see the Multi-user support in POPFile 0.22.x page for further details)

Known 0.22.5 Issues on Vista

The POPFile 0.22.5 installer and the NSIS-based programs it installs contain the special data for Vista so Vista knows which programs do not need administrator mode. However this is only the first step towards making the Windows version of POPFile work properly on Vista.

Some of the NSIS-based programs need to ensure that POPFile has been shut down before they can run. If any of these programs is run from a standard account they will ask you to shut down POPFile manually even if POPFile is not running. Clicking “OK” will let the program continue.

This redundant message box appears because the code used to test if POPFile is running is not compatible with Vista's UAC feature.

 
jp/howtos/vistacompatibility.1184250177.txt.gz · Last modified: 2008/02/08 19:49 (external edit)

Should you find anything in the documentation that is incomplete, unclear, outdated or just plain wrong, please let us know and leave a note in the Documentation Forum.

Recent changes RSS feed Donate Driven by DokuWiki
The content of this wiki is protected by the GNU Fee Documentation License