sakura/en/Virtual Store

Last-modified: 2008-03-29 (土) 13:37:49

Virtual Store

In OS since Vista, if the Sakura-Editor is started with single goods without especially setting it, Virtual Store becomes effective. It becomes operation corresponding to UAC by setting up sakura.exe.manifest, and Virtual Store is voidable.

[star] Reference: Refer to the content of sakura.exe.manifestat page end.

What is Virtual Store?

The interchangeability maintenance function installed so that the application program of the Vista uncorrespondence that preserves the setting under the control of the Program Files folder and the Windows folder might always move suddenly on Vista. The Vista uncorrespondence application program operates ..effective Virtual Store... The mechanism that the file is preserved in another folder that is called not a target folder when the application program of effective Virtual Store starts saving a file in the folder that the protection strengthening is done like Program Files but Virtual Store, and the file that exists on the Virtual Store side when it started thereafter opening the same file is opened.

Problem that Virtual Store

The following confusion occurs when the file of the protection folder is operated by the application program when the application program is used like effective Virtual Store.

  • The file is not found when seeing in the Explorer though it is necessary to have preserved newly.
  • The content has not been updated when seeing with the note pad though the superscription was preserved.
  • It is not updated when opening though the file was overwrited in the Explorer.

Confusion like the above-mentioned doesn't occur because writing in the protection folder is refused as usual, and starts opening the file of the protection folder and is not opened the file of the Virtual Store side if Virtual Store applied to the application program is invalidated either.

Notes when Virtual Store is invalidated

Configuration file (sakura.ini) must be preserved in non-protection folder by using the function of the setting according to the user. In that case, please do with non-protection folder such as desktop, and copy the file after it edits it onto set configuration file sakura.exe.ini according to the user edit by the Explorer.
There is a possibility that the configuration file under the folder at the installation destination and other files are forwarded to Virtual Store when installing in Program Files without having already applied the setting according to the user and using it. Please confirm by the Explorer and copy the forwarding file onto a setting folder by priority.

It is not necessary to change to the setting according to the user when installing in a folder off the subject for not Program Files but protection and using it.

It is not possible to use it by the Virtual Store invalidity because it doesn't correspond to the setting according to the user in the version before 1.5.17.0.

Confirm method of file forwarded to Virtual Store

To display the file (file forwarded to Virtual Store) from which the folder is made virtual, it is displayed in the toolbar of the Explorer [Interchangeability File] button is clicked. [Interchangeability File] button is displayed when there is only a file made virtual by the folder.

When an actual passing is installed in Program Files\sakura for instance, C:\Users\<username>\AppData\Local\Virtual Store\Program Files\sakura becomes a forwarding site.

Content of sakura.exe.manifest

The file of the following content is preserved in the same place as sakura.exe. Please note that sakura.exe.manifest doesn't enter Virtual Store.

[hatena] Hint: The edit is finished with non-protection folder such as desktop and it copies it by the Explorer.

Visual Style is made effective, and an example of Virtual Store invalid (for UAC).

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
    name="sakura"
    processorArchitecture="x86"
    version="1.0.0.0"
    type="win32"/>
<description>Sakura Editor</description>
<dependency>
    <dependentAssembly>
        <assemblyIdentity
            type="win32"
            name="Microsoft.Windows.Common-Controls"
            version="6.0.0.0"
            processorArchitecture="*"
            publicKeyToken="6595b64144ccf1df"
            language="*"
        />
    </dependentAssembly>
</dependency>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
    <security>
        <requestedPrivileges>
            <requestedExecutionLevel level="asInvoker" uiAccess="false"/>
        </requestedPrivileges>
    </security>
</trustInfo>
</assembly>