How to disable UAC from Windows Vista and enforce Administrative rights as in Windows 2000/XP »
« Automatically start a process with administrative rights under Windows Vista

Installing SAPI with CyberInstaller

Installing SAPI, that stands for Microsoft Speech API, can turn out in something more annoying than expected. This is due to a strange behavior that occurs when sapi.dll library is placed in a folder different from System.

In fact, if sapi.dll file is placed in "|$CommonPath$|\Microsoft Shared\Speech" (where "|$CommandPath$|" is likely something similar to C:\Program Files\Common), CyberInstaller Studio, during the dependencies research, will correctly find it in that very path and, always correctly, will try to install it on the destination system placing it in that very path too.

Unfortunately, "correctly" doing so, it won’t be possible to register the sapi library (not only CyberInstaller, but even the RegSvr32 command will fail) and this will occur in a unsuccessful installation.

The solution is to move the destination folder for the sapi.dll file, setting it to System32 (CIS pattern "|$SystemPath$|"). this way the library will be correctly registered and the installation accomplished successfully.

NOTE: to change the destination folder of a file/component in a CyberInstaller Studio project neither having to remove then re-add the file, nor editing the file installation properties (double click on the file or click on "Edit" button, step 6), just click with the right mouse button on the file (or on the group of selected files), click on the item "Move into…" from the pop-up menu that will appear and select the destination folder from the sub-menu. This way allows to change the destination folder to more than one file at once.

Tuesday, January 29th, 2008 : CyberInstaller Suite : No Comments

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

No comments yet

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>