[wpkg-users] MS SAPI4

Tomasz Chmielewski mangoo at wpkg.org
Tue Feb 27 09:53:56 CET 2007


Marco Gaiarin schrieb:
> As a prerequisite of a set of learling tools for children i'm triying
> to deploy SAPI4 (Microsoft Speech Api 4.0) using a recipe like:
> 
>   <package
>         id="sapi4"
>         name="Microsoft Speech Application Programming Interface 4.0"
>         revision="40"
>         priority="50"
>         reboot="false">
> 
>         <check type="file" condition="versiongreaterorequal" path='%WINDIR%\speech\speech.dll' value="4.0.4.2512" />
>         <check type="file" condition="versiongreaterorequal" path='%WINDIR%\msagent\intl\Agt0410.dll' value="2.0.0.3422" />
>         <check type="file" condition="exists" path='%WINDIR%\msagent\chars\Merlin.acs' />
>         <check type="file" condition="versiongreaterorequal" path='%WINDIR%\lhsp\Language\ITICT160.dll' value="6.1.0.0" />
> 
>         <install cmd='"%SOFTWARE%\WPKG\SAPI4\spchapi.exe" /q' />
>         <install cmd='"%SOFTWARE%\WPKG\SAPI4\AgtX0410.exe" /q' />
>         <install cmd='"%SOFTWARE%\WPKG\SAPI4\lhttsiti.exe" /q' />
>         <install cmd='"%SOFTWARE%\WPKG\SAPI4\Merlin.exe" /q' />
>         <upgrade cmd='"%SOFTWARE%\WPKG\SAPI4\spchapi.exe" /q' />
>         <upgrade cmd='"%SOFTWARE%\WPKG\SAPI4\AgtX0410.exe" /q' />
>         <upgrade cmd='"%SOFTWARE%\WPKG\SAPI4\lhttsiti.exe" /q' />
>         <upgrade cmd='"%SOFTWARE%\WPKG\SAPI4\Merlin.exe" /q' />
>   </package>
> 
> Intentionally there's no 'remove' command, these packaged are not setup
> ones, but more or less 'patch bundle' like, if you remember, windows
> 95/office 97 service packs/patch (eg, autoextracting .cab).
> 
> In this way software are correctly installed if started by hand
> (directly or starting wpkg.js on a command prompt), but the process
> stalled indefinetly if started with WPKG Service.

Does it work correctly when started from the command line? (cscript 
\\path\to\wpkg.js /synchronize /debug)


> I've see the:
> 
> 	http://unattended.sourceforge.net/installers.php#hotfixes
> 
> but i'm a bit confused: I've to use /q, /q:a or /u ?

I'd say there's really no golden rule here, and it depends how the 
package was built.


-- 
Tomasz Chmielewski
http://wpkg.org







_______________________________________________
wpkg-users mailing list
wpkg-users at lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users



More information about the wpkg-users mailing list