Click here to Skip to main content
15,897,718 members
Articles / Driver

EchoInst: An Example Wix Install of the WDK Echo Driver

Rate me:
Please Sign up or sign in to vote.
4.75/5 (3 votes)
9 Apr 2013CPOL7 min read 27.2K   339   10  
This gives an example on how to install drivers using Wix, including the use of deferred custom actions.
@echo off
Signtool sign /v /ac "c:\verisign\VeriSign Class 3 Public Primary Certification Authority - G5.cer" /i Verisign /t http://timestamp.verisign.com/scripts/timestamp.dll %1
set SIGN_RESULT=%errorlevel%
if "%SIGN_RESULT%" == "0" goto SIGN_SUCCESS

echo FAILED signing of %1
got EXIT_SIGNFILE

:SIGN_SUCCESS
echo %1 signed
goto EXIT_SIGNFILE

:EXIT_SIGNFILE
exit /B %SIGN_RESULT%

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) Seagate Technology
United States United States
Joe is a Sr. Software Engineer for Seagate Technology. He greatly enjoys practical applications of C/C++ and problem solving in general. He and his family live in a wonderful spot of the world named Longmont, CO (USA).

Comments and Discussions